<div dir="ltr"><div>Hi</div>
<div> </div>
<p style="MARGIN: 0cm 0cm 0pt" class="MsoNormal"><span style="FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: EN-GB" lang="EN-GB">Thanks everyone for your help and support all works perfectly</span></p>
<p>Best Regards</p>
<div><br><br></div>
<div class="gmail_quote">2011/9/29 salaheddine elharit <span dir="ltr"><<a href="mailto:salah.elharit200@gmail.com">salah.elharit200@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div dir="ltr">
<div>ok thanks for your response i will try that and i will update you as soon as i have any result</div>
<div> </div>
<div>best regards<br><br></div>
<div>
<div></div>
<div class="h5">
<div class="gmail_quote">2011/9/29 A J Stiles <span dir="ltr"><<a href="mailto:asterisk_list@earthshod.co.uk" target="_blank">asterisk_list@earthshod.co.uk</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">(top-posting mess fixed the lazy man's way .....)<br>
<div><br>On Thursday 29 September 2011, salaheddine elharit wrote:<br>> ok thanks it's work fine<br>><br>> now i have one question please<br>><br>> it's work fine when i call extension 222 but i want to call any number<br>
> from my sip account 222 and the call hang up after 1 Min<br>><br>> for exemple i call my mobile phone 067XXXXXXX using my sip 222 (x-lite) and<br>> the call hangup after 1 min<br>><br>> any help please<br>
<br></div>What you have to do is create a new context in extensions.conf, and specify<br>this in sip.conf as the default context from extension 222. Then, use the<br>same KkTtL(60000) options to your Dial() command(s) within this context.<br>
<br>If there are some numbers that you want to be able to make unlimited-length<br>calls to (other SIP phones that don't require going out via the PSTN, for<br>example), just give them their own extension(s) without the KkTlL(60000) .<br>
<br>Remember, Asterisk always tries to match "hardest first", i.e. fewest "wild<br>card" characters first, irrespective of the actual order of lines in<br>extensions.conf.<br><br><br>--<br>AJS<br><br>Answers come *after* questions.<br>
<font color="#888888"><br>--<br>_____________________________________________________________________<br></font>
<div>
<div></div>
<div>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br> <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div></div></div></blockquote></div><br></div>