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
exten => xxxxx,2,DeadAGI()
bp
On 6/27/06, El Flynn <[EMAIL PROTECTED]> 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
_______________________________________________ --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
