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

salaheddine elharit salah.elharit200 at gmail.com
Wed Sep 28 13:09:32 CDT 2011


i have this when


 L(x[:y][:z]) - Limit the call to 'x' ms. Play a warning when 'y' ms are
           left. Repeat the warning every 'z' ms. The following special
           variables can be used with this option:
           * LIMIT_PLAYAUDIO_CALLER   yes|no (default yes)
                                      Play sounds to the caller.
           * LIMIT_PLAYAUDIO_CALLEE   yes|no
                                      Play sounds to the callee.
           * LIMIT_TIMEOUT_FILE       File to play when time is up.
           * LIMIT_CONNECT_FILE       File to play when call begins.
           * LIMIT_WARNING_FILE       File to play as warning if 'y' is
defined.
                                      The default is to say the time
remaining.


but i don't understand what i can do to solve  this


thanks


2011/9/28 Paul Belanger <pabelanger at digium.com>

>  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
>
> --
> ______________________________**______________________________**_________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>              http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>  http://lists.digium.com/**mailman/listinfo/asterisk-**users<http://lists.digium.com/mailman/listinfo/asterisk-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110928/8cece08a/attachment.htm>


More information about the asterisk-users mailing list