[asterisk-users] timeout with outbound calls

A J Stiles asterisk_list at earthshod.co.uk
Fri Jul 8 05:50:20 CDT 2011


On Friday 08 Jul 2011, salaheddine elharit wrote:
> i want to use timeout  with asterisk 1.4 in order to hangup the outbound
> calls after 25 sec
>
> i call my mobile number 067xxxxxxx from my sip acount 223  and i want to
> hangu up the call automatic after 25 sec  but there is no hangup after 25
>
> could you please help me
>
> exten => 223,1,Set(TIMEOUT(absolute)=25)
> exten => 223,n,MixMonitor(sip_${EXTEN}_${UNIQUEID}.wav|av(0}V(0))
> exten => 223,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes)
> exten => 223,n,Dial(SIP/${EXTEN},,KkTt)
> exten => 223,n,Hangup();

What have you got in your "T" extension?  When the absolute timeout expires, 
it will jump here.

-- 
AJS

Answers come *after* questions.



More information about the asterisk-users mailing list