How to call to all aors of the extentions

Hi Guys,
I have asterisk 16 on the server.
There are two registred phones on the one endpoint. When there is incoming call, only one phone is
ringing. For example on the Asterisk 13 all phones which are registred and in aor list are ringing.
[342]
type = aor
max_contacts=2
qualify_frequency=120
remove_existing=yes
mailboxes=342@mhcb

I dial the extention by using:
exten => 342,1,Dial(PJSIP/342,60)

I found temporary solution to use:
exten => 342,1,Dial(${PJSIP_DIAL_CONTACTS(342)},60).
But Is it possible to use the old dialplan to call to all aors?

1 Like

The PJSIP_DIAL_CONTACTS dialplan function is how dialing is done for these.

3 Likes

Thanks for help, Jcolp