[asterisk-users] The 'h' extension problem
Rafael Rodrigo - NSI
rafael at nsinet.com.br
Wed May 9 08:21:39 MST 2007
Please try this,
exten=> 123,1,Dial(SIP/U1,,Tt)
exten=> 123,2,Hangup
exten=> h,1,DEADAGI(onhangup.pl)
ok? ;)
Rafael Rodrigo M. Rosa.
www.megavoz.com.br <http://www.megavoz.com.br/> (Voip e Telemarketing)
www.nsinet.com.br <http://www.nsinet.com.br/> (Serviços Internet)
<http://www.megavoz.com.br/>
Rizwan Hisham escreveu:
> Hi all,
> There is a problem with my dialplan. here is the dialplan:
>
> exten=> 123,1,Dial(SIP/U1,,Ttg)
> exten=> 123,2,Hangup
>
> exten=> h,1,AGI(onhangup.pl)
>
> The problem is whenever U1 is called or calls someone, if U1 hangsup
> the call then the h extension is NOT executed. but if the other person
> hangsup the call, then the h extension is executed (assuming that the
> other person is calling from out of our asterisk system). I understand
> if U1 hangsup then there is no channel to execute h extension, but is
> it possible to execute the h exten even then.
>
> i want the h extension to excute everytime. how can i do this. i have
> used the g flag in dial which tell asterisk to execute remaining
> extensions even after hangup but its not doing in the above described
> case.
>
> --
> Rizwan Hisham
> Software Engineer
> AXVOICE Inc.
> ------------------------------------------------------------------------
>
> _______________________________________________
> --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/20070509/f2609ed4/attachment.htm
More information about the asterisk-users
mailing list