Re: [asterisk-users] Queue PJSIP, not all contacts rings

2015-02-23 Thread Nick Awesome
Works, thank you!

> On Feb 23, 2015, at 7:11 PM, Joshua Colp  wrote:
> 
> Nick Awesome wrote:
>> Hay guys, have question.
>> 
>> When I do regular dial I use
>> $this->AGI->get_fullvariable('${PJSIP_DIAL_CONTACTS('.$callObj.')}',false,true);
>> 
>> to get all contacts of current endpoint and so I dial to all phones
>> at once,
>> 
>> but if I exec QUEUE, I have just one phone rings, seems like it take
>> first one as Dial app by default, is there way to fix this?
> 
> There is no way to directly do this. The best option is to use a Local 
> channel into the dialplan which dials instead. Once answered everything 
> should fall into place.
> 
> -- 
> Joshua Colp
> Digium, Inc. | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> Check us out at: www.digium.com & www.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


-- 
_
-- 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] Queue PJSIP, not all contacts rings

2015-02-23 Thread Nick Awesome
Hay guys, have question.

When I do regular dial I use 
$this->AGI->get_fullvariable('${PJSIP_DIAL_CONTACTS('.$callObj.')}',false,true);

to get all contacts of current endpoint and so I dial to all phones at once, 

but if I exec QUEUE, I have just one phone rings, seems like it take first one 
as Dial app by default, is there way to fix this?
-- 
_
-- 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] Queue PJSIP, not all contacts rings

2015-02-23 Thread Joshua Colp

Nick Awesome wrote:

Hay guys, have question.

When I do regular dial I use
$this->AGI->get_fullvariable('${PJSIP_DIAL_CONTACTS('.$callObj.')}',false,true);

 to get all contacts of current endpoint and so I dial to all phones
at once,

but if I exec QUEUE, I have just one phone rings, seems like it take
first one as Dial app by default, is there way to fix this?


There is no way to directly do this. The best option is to use a Local 
channel into the dialplan which dials instead. Once answered everything 
should fall into place.


--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.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