[asterisk-users] Limit outbond calls duration to 1 minute
salaheddine elharit
salah.elharit200 at gmail.com
Fri Sep 30 04:33:49 CDT 2011
Hi
Thanks everyone for your help and support all works perfectly
Best Regards
2011/9/29 salaheddine elharit <salah.elharit200 at gmail.com>
> ok thanks for your response i will try that and i will update you as soon
> as i have any result
>
> best regards
>
> 2011/9/29 A J Stiles <asterisk_list at earthshod.co.uk>
>
>> (top-posting mess fixed the lazy man's way .....)
>>
>> On Thursday 29 September 2011, salaheddine elharit wrote:
>> > ok thanks it's work fine
>> >
>> > now i have one question please
>> >
>> > it's work fine when i call extension 222 but i want to call any number
>> > from my sip account 222 and the call hang up after 1 Min
>> >
>> > for exemple i call my mobile phone 067XXXXXXX using my sip 222 (x-lite)
>> and
>> > the call hangup after 1 min
>> >
>> > any help please
>>
>> What you have to do is create a new context in extensions.conf, and
>> specify
>> this in sip.conf as the default context from extension 222. Then, use the
>> same KkTtL(60000) options to your Dial() command(s) within this context.
>>
>> If there are some numbers that you want to be able to make
>> unlimited-length
>> calls to (other SIP phones that don't require going out via the PSTN, for
>> example), just give them their own extension(s) without the KkTlL(60000)
>> .
>>
>> Remember, Asterisk always tries to match "hardest first", i.e. fewest
>> "wild
>> card" characters first, irrespective of the actual order of lines in
>> extensions.conf.
>>
>>
>> --
>> AJS
>>
>> Answers come *after* questions.
>>
>> --
>> _____________________________________________________________________
>> -- 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110930/aa7ffca5/attachment.htm>
More information about the asterisk-users
mailing list