[asterisk-users] Limit outbond calls duration to 1 minute
Paul Belanger
pabelanger at digium.com
Wed Sep 28 13:02:04 CDT 2011
On 11-09-28 01:59 PM, salaheddine elharit wrote:
> 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
>
*CLI> core show application Dial
Look at the 'L' flag
--
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com & http://asterisk.org
More information about the asterisk-users
mailing list