VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
cursor at telecomabmex... Guest
|
Posted: Thu Oct 30, 2014 2:19 pm Post subject: [asterisk-users] Register multiple phones to a single AOR wi |
|
|
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@192.168.2.193:5063 Avail 178.681
Contact: 101/sip:101@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 |
|
Back to top |
|
|
sgriepentrog at digium... Guest
|
Posted: Thu Oct 30, 2014 2:48 pm Post subject: [asterisk-users] Register multiple phones to a single AOR wi |
|
|
​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@telecomabmex.com (cursor@telecomabmex.com)> wrote:
Quote: |   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@192.168.2.193:5063 Avail       178.681
   Contact: 101/sip:101@192.168.2.197 ([email]sip%3A101@192.168.2.197[/email]):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
|
--
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 |
|
Back to top |
|
|
mjordan at digium.com Guest
|
Posted: Thu Oct 30, 2014 7:35 pm Post subject: [asterisk-users] Register multiple phones to a single AOR wi |
|
|
On Thu, Oct 30, 2014 at 2:47 PM, Scott Griepentrog <sgriepentrog@digium.com (sgriepentrog@digium.com)> wrote:
Quote: | ​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.
|
How about this page instead:
https://wiki.asterisk.org/wiki/display/AST/Dialing+PJSIP+Channels
Matt
--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|