Posted: Tue May 05, 2009 11:01 am Post subject: [asterisk-dev] Dial( )
On May 5, 2009, at 1:14 PM, Chandrakant Solanki wrote:
Quote:
I am using Dial() function with "&" for simultaneous call.
But problem is that, i have to define different timeout period for
each call.
Like
Dial(SIP/101&SIP/102&SIP/103&SIP/104,30,options);
But For SIP/101 ring timeout period is 5 seconds, for 102 it is 10
and for 103 it is 30 seconds.
How can i do this... or what kind of changes required in ".c" file..
No changes are required. You can accomplish this by dialing Local
channels, and using a different Dial timeout behind each Local channel.
In the future, this type of question is more appropriate for the
asterisk-users mailing list.
--
Russell Bryant
Digium, Inc. | Senior Software Engineer, Open Source Team Lead
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Tue May 05, 2009 1:04 pm Post subject: [asterisk-dev] Dial( )
El Tue, 5 May 2009 18:11:41 +0530
Chandrakant Solanki <solanki.chandrakant@gmail.com> escribió:
Quote:
In above scenario, for every channel I want different timeout period..
like for SIP 10, Dahdi 30, IAX 100.
What kind of changes occurred in dialplan or may be in app_dial.c file.
I am newbie for asterisk, so help me, If changes occurred in dialplan... can
u give me short example for the same scenario using dialplan if possible..
In above scenario, for every channel I want different timeout period..
like for SIP 10, Dahdi 30, IAX 100.
What kind of changes occurred in dialplan or may be in app_dial.c
file.
I am newbie for asterisk, so help me, If changes occurred in
dialplan... can u give me short example for the same scenario using
dialplan if possible..
I have already indicated that this is easily done in the dialplan
without any changes to the code. If you need further help with
implementation details, please use the asterisk-users list.
--
Russell Bryant
Digium, Inc. | Senior Software Engineer, Open Source Team Lead
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
In above scenario, for every channel I want different timeout period..
like for SIP 10, Dahdi 30, IAX 100.
What kind of changes occurred in dialplan or may be in app_dial.c
file.
I am newbie for asterisk, so help me, If changes occurred in
dialplan... can u give me short example for the same scenario using
dialplan if possible..
I have already indicated that this is easily done in the dialplan
without any changes to the code. If you need further help with
implementation details, please use the asterisk-users list.
--
Russell Bryant
Digium, Inc. | Senior Software Engineer, Open Source Team Lead
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Tue May 05, 2009 1:06 pm Post subject: [asterisk-dev] Dial( )
On Tue, May 5, 2009 at 5:09 PM, Russell Bryant <russell@digium.com (russell@digium.com)> wrote:
Quote:
On May 5, 2009, at 1:14 PM, Chandrakant Solanki wrote:
> I am using Dial() function with "&" for simultaneous call.
>
> But problem is that, i have to define different timeout period for
> each call.
>
> Like
>
> Dial(SIP/101&SIP/102&SIP/103&SIP/104,30,options);
>
> But For SIP/101 ring timeout period is 5 seconds, for 102 it is 10
> and for 103 it is 30 seconds.
>
> How can i do this... or what kind of changes required in ".c" file..
No changes are required. You can accomplish this by dialing Local
channels, and using a different Dial timeout behind each Local channel.
In the future, this type of question is more appropriate for the
asterisk-users mailing list.
In above scenario, for every channel I want different timeout period..
like for SIP 10, Dahdi 30, IAX 100.
What kind of changes occurred in dialplan or may be in app_dial.c file.
I am newbie for asterisk, so help me, If changes occurred in dialplan... can u give me short example for the same scenario using dialplan if possible..
This is just an example, but you should get the general idea of how to
do this. In any case, this
definitely doesn't belong on the DEV list.
Thread closed ;-)
Nir S
Russell Bryant wrote:
Quote:
On May 5, 2009, at 2:41 PM, Chandrakant Solanki wrote:
> But actual requirement is like
>
> Dial( SIP/Number&DAHDI/g0/Number&IAX/Number&IAX/Number,30,options)
>
> In above scenario, for every channel I want different timeout period..
> like for SIP 10, Dahdi 30, IAX 100.
>
> What kind of changes occurred in dialplan or may be in app_dial.c
> file.
>
> I am newbie for asterisk, so help me, If changes occurred in
> dialplan... can u give me short example for the same scenario using
> dialplan if possible..
>
I have already indicated that this is easily done in the dialplan
without any changes to the code. If you need further help with
implementation details, please use the asterisk-users list.
--
Russell Bryant
Digium, Inc. | Senior Software Engineer, Open Source Team Lead
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
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