<div dir="ltr">why you are removing 2 and adding 2 ?<div><span style="font-family:arial,sans-serif;font-size:13px">exten=> _2.,1,Dial(SIP/to-232/ here your are adding --></span><span style="font-family:arial,sans-serif;font-size:13px">2${EXTEN: here you are removing 1st digit (2) --> 1})</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">try this </span><span style="font-size:13px;font-family:arial,sans-serif">exten=> _X.,1,Dial(SIP/to-232/</span><span style="font-size:13px;font-family:arial,sans-serif">${EXTEN})</span></div>
<div style><span style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div style><span style="font-size:13px;font-family:arial,sans-serif">show me also sip users of both side.</span></div><div style><span style="font-size:13px;font-family:arial,sans-serif">let me know if this solve your problem.</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 13, 2013 at 10:29 AM, s m <span dir="ltr"><<a href="mailto:sam.gh1986@gmail.com" target="_blank">sam.gh1986@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">thanks Asghar, but it doesn't help. i have below error yet:(((<br>
"Dropping call because extensions '200', 's' and 'i' doesn't exists in<br>
context [from-trunk]"<br>
<br>
i think that something is wring with my extensions in extensions.conf<br>
but i don't know how to fix it.<br>
please let me know if you have any other suggestion.<br>
thanks<br>
sam<br>
<br>
<br>
On 4/11/13, Asghar Mohammad <<a href="mailto:asghar144@gmail.com">asghar144@gmail.com</a>> wrote:<br>
> hi,<br>
> try<br>
> exten=> _2.,1,Dial(SIP/to-232/2${EXTEN:1})<br>
><br>
> Note space before underscore.<br>
><br>
><br>
> On Thu, Apr 11, 2013 at 2:50 PM, s m <<a href="mailto:sam.gh1986@gmail.com">sam.gh1986@gmail.com</a>> wrote:<br>
><br>
>> this is my [from-trunk] extension:<br>
>><br>
>> [from-trunk]<br>
>> exten=>_2.,1,Dial(SIP/to-232/2${EXTEN:1})<br>
>><br>
>> and this is [to-231] in sip_additional.conf:<br>
>><br>
>> [to-232]<br>
>> host=192.168.0.232<br>
>> type=peer<br>
>> qualify=yes<br>
>><br>
>> and 192.168.0.232 in the ip address of my freepbx.<br>
>><br>
>><br>
>> On 4/11/13, A J Stiles <<a href="mailto:asterisk_list@earthshod.co.uk">asterisk_list@earthshod.co.uk</a>> wrote:<br>
>> > On Thursday 11 April 2013, s m wrote:<br>
>> >> when i call 100 from 200, every thing is ok and phone is ringing but<br>
>> >> when i call 200 from 100, it says "service unavailable".<br>
>> >><br>
>> >> i debug asterisk in my system 2 and see below message:<br>
>> >> "Dropping call because extensions '200', 's' and 'i' doesn't exists<br>
>> >> in context [from-trunk]"<br>
>> ><br>
>> > OK. What do you have in the [from-trunk] context in your<br>
>> extensions.conf ?<br>
>> ><br>
>> ><br>
>> > --<br>
>> > AJS<br>
>> ><br>
>> > Answers come *after* questions.<br>
>> ><br>
>> > --<br>
>> > _____________________________________________________________________<br>
>> > -- 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>
>> ><br>
>><br>
>> --<br>
>> _____________________________________________________________________<br>
>> -- 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>
>><br>
><br>
<br>
--<br>
_____________________________________________________________________<br>
-- 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>
</blockquote></div><br></div>