[Asterisk-Users] Call length limitation

William Piper william.piper at gmail.com
Tue Jun 27 12:52:26 MST 2006


Well, It was worth a shot.
Perhaps doing a some variation of the HANGUPCAUSE variable.
http://www.voip-info.org/wiki/index.php?page=Asterisk+variable+hangupcause

exten => xxxxx,2,Dial(Sip/xxxx|30|gL(60000:30000:10000))
exten => xxxxx,3,GoToIf($["${HANGUPCAUSE}" != "1"]?4:10)
exten => xxxxx,4,DeadAGI()
exten => xxxxx,10,hangup()

This should send anything that did not clear normally (I.e. the timeout) to
priority 4. Normal clearing will be sent to 10.

Again, not tested, but some variation should work for you.

bp


On 6/27/06, Andrew Nowrot <andrew.nowrot at gmail.com> wrote:
>
>
>
>  On 6/27/06, William Piper <william.piper at gmail.com> wrote:
> >
> >  Although I've never tried it along with the "L" option, you could try
> > absolutetimeout:
> >
> > exten => xxxxx,1,AbsoluteTimeout(60000)
> > exten => xxxxx,2,Dial(Sip/xxxx|30|L(60000:30000:10000))
> >
>
> I didn't help still the same :(.
>
>
>
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com <http://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/80bae7f5/attachment.htm


More information about the asterisk-users mailing list