Hi I have a problem with Dial application. The dialplan looks like this: ;---- exten => xxxxx,1,Dial(Sip/xxxx|30|L(60000:30000:10000)) exten => xxxxx,2,Hangup() exten => h,1,DadAGI() ;---- The call is limited to 60 sec and after that time the conversation stops, but Asterisk never reach the h extension. I could use the S() option in Dial application but I want to have the announcements. Is there any way to force Asterisk to execute the DeadAGI. Or maybe there is some other solution to achieve a goal. Any help would be appreciated. Cheers Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060627/db65c618/attachment.htm
Andrew Nowrot wrote:> Hi > > I have a problem with Dial application. The dialplan looks like this: > > ;---- > > exten => xxxxx,1,Dial(Sip/xxxx|30|L(60000:30000:10000)) > exten => xxxxx,2,Hangup() > > exten => h,1,DadAGI() > > ;---- > > The call is limited to 60 sec and after that time the conversation stops, > but Asterisk never reach the h extension. > I could use the S() option in Dial application but I want to have the > announcements. Is there any way to force Asterisk to execute the > DeadAGI. Or > maybe there is some other solution to achieve a goal. >What does the CLI show when you make the call? That might help in diagnosing your problem. Flynn
Why not add the "g" parameter and make your deadAGI as the next priority? I think that would accomplish what you are trying to do. Example: exten => xxxxx,1,Dial(Sip/xxxx|30|gL(60000:30000:10000)) exten => xxxxx,2,DeadAGI() bp On 6/27/06, El Flynn <el_flynn@lanvik-icu.com> wrote:> > Andrew Nowrot wrote: > > Hi > > > > I have a problem with Dial application. The dialplan looks like this: > > > > ;---- > > > > exten => xxxxx,1,Dial(Sip/xxxx|30|L(60000:30000:10000)) > > exten => xxxxx,2,Hangup() > > > > exten => h,1,DadAGI() > > > > ;---- > > > > The call is limited to 60 sec and after that time the conversation > stops, > > but Asterisk never reach the h extension. > > I could use the S() option in Dial application but I want to have the > > announcements. Is there any way to force Asterisk to execute the > > DeadAGI. Or > > maybe there is some other solution to achieve a goal. > > > > What does the CLI show when you make the call? That might help in > diagnosing > your problem. > > Flynn > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060627/d1f4afc5/attachment.htm
On 11:18, Tue 27 Jun 06, William Piper wrote:> Why not add the "g" parameter and make your deadAGI as the next priority? > I think that would accomplish what you are trying to do. > > Example: > exten => xxxxx,1,Dial(Sip/xxxx|30|gL(60000:30000:10000)) > exten => xxxxx,2,DeadAGI()Dont use DeadAGI on non-hungup channels. So in this case it will have to be another AGI call. -- Michiel van Baak michiel@vanbaak.eu http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD "Why is it drug addicts and computer afficionados are both called users?"