<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 3, 2016, at 12:19 AM, vidhya sagar dixit &lt;<a href="mailto:vids.cs@gmail.com" class="">vids.cs@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Guys,<div class=""><br class=""></div><div class="">I am using&nbsp;FreeSWITCH (Version 1.6.12 &nbsp;64bit) I am able to register sip softphone &nbsp;and able to make peer to peer calls without any problem.</div><div class=""><br class=""></div><div class="">But I am not able to dial any mobile or fixed line number.</div><div class=""><br class=""></div><div class="">External gateway is showing registered. Any help will be highly appreciated.&nbsp;</div><div class=""><br class=""></div><div class="">Following is the log i get in cli :</div><div class=""><br class=""></div><div class="">2016-11-03 05:56:54.995540 [DEBUG] switch_core_codec.c:111 sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> Original read codec set to GSM:3</div><div class="">2016-11-03 05:56:54.995540 [DEBUG] switch_core_media.c:4572 Set telephone-event payload to 101@8000</div><div class="">2016-11-03 05:56:54.995540 [DEBUG] switch_core_media.c:4631 sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> Set 2833 dtmf send payload to 101 recv payload to 101</div><div class="">2016-11-03 05:56:54.995540 [DEBUG] sofia.c:7364 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State Change CS_NEW -&gt; CS_INIT</div><div class="">2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) Running State Change CS_INIT</div><div class="">2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State INIT</div><div class="">2016-11-03 05:56:54.995540 [DEBUG] mod_sofia.c:90 sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> SOFIA INIT</div><div class="">2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:40 sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> Standard INIT</div><div class="">2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State Change CS_INIT -&gt; CS_ROUTING</div><div class="">2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State INIT going to sleep</div><div class="">2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) Running State Change CS_ROUTING</div><div class="">2016-11-03 05:56:54.995540 [DEBUG] switch_channel.c:2249 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) Callstate Change DOWN -&gt; RINGING</div><div class="">2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State ROUTING</div><div class="">2016-11-03 05:56:54.995540 [DEBUG] mod_sofia.c:143 sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> SOFIA ROUTING</div><div class="">2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:236 sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> Standard ROUTING</div><div class="">2016-11-03 05:56:54.995540 [INFO] mod_dialplan_xml.c:637 Processing 3000 &lt;3000&gt;-&gt;00919971931166 in context 5.250.179.173</div><div class="">2016-11-03 05:56:55.015522 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f0cc4041120 Connected.</div><div class="">2016-11-03 05:56:55.255553 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f0cc4041120 released.</div><div class="">Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> parsing [5.250.179.173-&gt;gateway1.00d1220] continue=false</div><div class="">Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> Regex (FAIL) [gateway1.00d1220] destination_number(00919971931166) =~ /00^(\d{12,20})$/ break=on-false</div><div class="">Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> parsing [5.250.179.173-&gt;gateway1.00d1220] continue=false</div><div class="">Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> Regex (PASS) [gateway1.00d1220] destination_number(00919971931166) =~ /^(\d{12,20})$/ break=on-false</div><div class="">Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> Action ()</div></div></div></blockquote><div><br class=""></div>This ^^^^^</div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="">Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> Action set(sip_h_X-accountcode=${accountcode})</div><div class="">Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> Action set(call_direction=outbound)</div><div class="">Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> Action set(hangup_after_bridge=true)</div><div class="">Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> Action set(effective_caller_id_name=${outbound_caller_id_name})</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State Change CS_ROUTING -&gt; CS_EXECUTE</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State ROUTING going to sleep</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) Running State Change CS_EXECUTE</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State EXECUTE</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] mod_sofia.c:198 sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> SOFIA EXECUTE</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:328 sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> Standard EXECUTE</div><div class="">2016-11-03 05:56:55.275562 [ERR] switch_core_session.c:2604 Invalid Application</div></div></div></blockquote><div><br class=""></div><div>Causes this ^^^^</div></div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="">2016-11-03 05:56:55.275562 [NOTICE] switch_core_session.c:2605 Hangup sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State EXECUTE going to sleep</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) Running State Change CS_HANGUP</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) Callstate Change RINGING -&gt; HANGUP</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State HANGUP</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] mod_sofia.c:438 Channel sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> hanging up, cause: DESTINATION_OUT_OF_ORDER</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 502</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:60 sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> Standard HANGUP, cause: DESTINATION_OUT_OF_ORDER</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State HANGUP going to sleep</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State Change CS_HANGUP -&gt; CS_REPORTING</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) Running State Change CS_REPORTING</div><div class="">2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State REPORTING</div><div class="">2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:174 sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> Standard REPORTING, cause: DESTINATION_OUT_OF_ORDER</div><div class="">2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State REPORTING going to sleep</div><div class="">2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State Change CS_REPORTING -&gt; CS_DESTROY</div><div class="">2016-11-03 05:56:55.355544 [DEBUG] switch_core_session.c:1647 Session 8023 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) Locked, Waiting on external entities</div><div class="">2016-11-03 05:56:55.355544 [NOTICE] switch_core_session.c:1665 Session 8023 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) Ended</div><div class="">2016-11-03 05:56:55.355544 [NOTICE] switch_core_session.c:1669 Close Channel sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> [CS_DESTROY]</div><div class="">2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) Running State Change CS_DESTROY</div><div class="">2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State DESTROY</div><div class="">2016-11-03 05:56:55.355544 [DEBUG] mod_sofia.c:343 sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> SOFIA DESTROY</div><div class="">2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:181 sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a> Standard DESTROY</div><div class="">2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" class="">3000@5.250.179.173:5090</a>) State DESTROY going to sleep</div><div class="">&nbsp;<br clear="all" class=""></div></div></div></blockquote></div><br class=""></body></html>