[asterisk-users] Multiple phones on same PJSIP account
Joshua C. Colp
jcolp at sangoma.com
Wed Jun 21 11:09:57 CDT 2023
On Wed, Jun 21, 2023 at 12:53 PM TTT <lists at telium.io> wrote:
> Ok I've got multiple phone sets registered with the same extension/secret.
>
> However, this causes a strange problem. If I have 3 phone sets registered
> on extension 123, and I then call extension 123 (from extension 456), only
> a SINGLE phone set will ring.
>
> Is this by design or a bug? Does only the most recently registered phone
> set ring when I call the extension? Seems odd...is there a way to change
> it so ALL phones on the same extension will ring? (I'm using SNOM +
> PANASONIC + Aastra phones)
>
For dialing all contacts you have to use the PJSIP_DIAL_CONTACTS dialplan
function[1] which returns a string you pass to Dial(). For example:
Dial(${PJSIP_DIAL_CONTACTS(alice)})
To dial all registered contacts for "alice".
[1]
https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Function_PJSIP_DIAL_CONTACTS
--
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230621/a6939ba8/attachment.html>
More information about the asterisk-users
mailing list