[asterisk-users] Handling 3 different call ending causes

Tobias Ahlander plyschen at gmail.com
Mon Mar 17 02:14:16 CDT 2008


Hello List,

I'm using a dialstring like the one below. I want to have three different
things happening depending on exit cause.

Dial(SIP/${phonenumber},20,gL(20000[:5000][:5000]))

These 3 things could happen:
1, Caller hangs up
2, Callee hangs up
3, The 20 seconds is up and call is terminated from Asterisk.

Is there a way to separate these 3?

Thanks,
Best regards,
Tobias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080317/b7139c69/attachment.htm 


More information about the asterisk-users mailing list