Carlos Chavez
2014-Oct-30 19:18 UTC
[asterisk-users] Register multiple phones to a single AOR with PJSIP
I just finished installing Asterisk 13 on our test server and I can now use PJSIP to register phones and make and receive calls. The only problem I am having is that when I register multiple phones to a single account only one of them rings. The AOR for the account has maxcontacts at 3. If I do a pjsip show endpoints I can see two "Contact" entries which I take to mean that both phones have registered: Endpoint: 101 Not in use 0 of inf InAuth: 101/101 Aor: 101 3 Contact: 101/sip:101 at 192.168.2.193:5063 Avail 178.681 Contact: 101/sip:101 at 192.168.2.197:58086;transport=UDP;r Avail 4.198 Transport: transport-udp udp 0 0 0.0.0.0:5060 I have tried with several phones and have rebooted the Asterisk server and phones several times just to make sure configs are loaded properly but I cannot get Asterisk to ring multiple phones at once. I used https://wiki.asterisk.org/wiki/display/AST/Setting+up+PJSIP+Realtime to configure this instance of Asterisk. Am I missing some setting to allow Asterisk to ring all phones registered to a single AOR? -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez +52 (55)9116-91161
Scott Griepentrog
2014-Oct-30 19:47 UTC
[asterisk-users] Register multiple phones to a single AOR with PJSIP
?You need to change your dialplan to use the PJSIP_DIAL_CONTACTS function like this: exten => _X.,1,Dial(${PJSIP_DIAL_CONTACTS(200)},30)? It expands to the list of contacts, separated by &, so that the contacts are dialed at the same time. The documentation page you reference should be updated to include that detail. On Thu, Oct 30, 2014 at 2:18 PM, Carlos Chavez <cursor at telecomabmex.com> wrote:> I just finished installing Asterisk 13 on our test server and I can > now use PJSIP to register phones and make and receive calls. The only > problem I am having is that when I register multiple phones to a single > account only one of them rings. The AOR for the account has maxcontacts at > 3. > > If I do a pjsip show endpoints I can see two "Contact" entries which I > take to mean that both phones have registered: > > Endpoint: 101 Not in > use 0 of inf > InAuth: 101/101 > Aor: 101 3 > Contact: 101/sip:101 at 192.168.2.193:5063 Avail 178.681 > Contact: 101/sip:101 at 192.168.2.197:58086;transport=UDP;r Avail > 4.198 > Transport: transport-udp udp 0 0 0.0.0.0:5060 > > I have tried with several phones and have rebooted the Asterisk server > and phones several times just to make sure configs are loaded properly but > I cannot get Asterisk to ring multiple phones at once. I used > https://wiki.asterisk.org/wiki/display/AST/Setting+up+PJSIP+Realtime to > configure this instance of Asterisk. Am I missing some setting to allow > Asterisk to ring all phones registered to a single AOR? > > -- > Telecomunicaciones Abiertas de M?xico S.A. de C.V. > Carlos Ch?vez > +52 (55)9116-91161 > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- [image: Digium logo] Scott Griepentrog Digium, Inc ? Software Developer 445 Jan Davis Drive NW ? Huntsville, AL 35806 ? US direct/fax: +1 256 428 6239 ? mobile: +1 256 580 6090 Check us out at: http://digium.com ? http://asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141030/3fa3f42f/attachment.html>
Maybe Matching Threads
- asterisk-users Digest, Vol 123, Issue 38
- Dial(${PJSIP_DIAL_CONTACTS(Alice)} & ${PJSIP_DIAL_CONTACTS(Bob)}) how not to fail if one endpoint has no registered AOR?
- Confused by concepts behind pjsip: endpoint, aor, contact
- PJSIP - Using multiple AOR contacts when dialing through an endpoint
- multiple softphone clients and same/different account credentials