[asterisk-users] Limit outbond calls duration to 1 minute

salaheddine elharit salah.elharit200 at gmail.com
Wed Sep 28 12:59:27 CDT 2011


hello list


i have configured a sip account in order to do an outbound calls and i want
to force a hang up after 1 min for 222 sip


in extensions.conf i have


exten => 222,1,MixMonitor(sip_${EXTEN}_${UNIQUEID}.wav|av(0}V(0))

exten => 222,n,AbsoluteTimeout(60)


exten => 222,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes)

exten => 222,n,Dial(SIP/${EXTEN},,KkTt)

exten => 222,n,Hangup();

could you please see this code and tell me waht is wrong

thanks and regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110928/07526f4d/attachment.htm>


More information about the asterisk-users mailing list