Re: [asterisk-users] Register multiple phones to a single AOR with PJSIP

2014-10-30 Thread Matthew Jordan
On Thu, Oct 30, 2014 at 2:47 PM, Scott Griepentrog 
wrote:

> ​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
-- 
_
-- 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

Re: [asterisk-users] Register multiple phones to a single AOR with PJSIP

2014-10-30 Thread Scott Griepentrog
​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 
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
> use0 of inf
>  InAuth:  101/101
> Aor:  1013
>   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
>



-- 
[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
-- 
_
-- 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

[asterisk-users] Register multiple phones to a single AOR with PJSIP

2014-10-30 Thread Carlos Chavez
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 
use0 of inf

 InAuth:  101/101
Aor:  1013
  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