<div dir="ltr">Hi Michael,<div><br></div><div>Thank you for replying , can you please explain what I am doing wrong and how can I fix it.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Thanks and Regards <br>Vidhya Sagar Dixit<br><br></div></div>
<br><div class="gmail_quote">On Fri, Nov 4, 2016 at 8:10 PM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div><div class="h5"><blockquote type="cite"><div>On Nov 3, 2016, at 12:19 AM, vidhya sagar dixit <<a href="mailto:vids.cs@gmail.com" target="_blank">vids.cs@gmail.com</a>> wrote:</div><br class="m_3763641164613235781Apple-interchange-newline"><div><div dir="ltr">Hi Guys,<div><br></div><div>I am using FreeSWITCH (Version 1.6.12 64bit) I am able to register sip softphone and able to make peer to peer calls without any problem.</div><div><br></div><div>But I am not able to dial any mobile or fixed line number.</div><div><br></div><div>External gateway is showing registered. Any help will be highly appreciated. </div><div><br></div><div>Following is the log i get in cli :</div><div><br></div><div>2016-11-03 05:56:54.995540 [DEBUG] switch_core_codec.c:111 sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> Original read codec set to GSM:3</div><div>2016-11-03 05:56:54.995540 [DEBUG] switch_core_media.c:4572 Set telephone-event payload to 101@8000</div><div>2016-11-03 05:56:54.995540 [DEBUG] switch_core_media.c:4631 sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> Set 2833 dtmf send payload to 101 recv payload to 101</div><div>2016-11-03 05:56:54.995540 [DEBUG] sofia.c:7364 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State Change CS_NEW -> CS_INIT</div><div>2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:<wbr>584 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) Running State Change CS_INIT</div><div>2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:<wbr>627 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State INIT</div><div>2016-11-03 05:56:54.995540 [DEBUG] mod_sofia.c:90 sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> SOFIA INIT</div><div>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/" target="_blank">3000@5.250.179.<wbr>173:5090</a> Standard INIT</div><div>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/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State Change CS_INIT -> CS_ROUTING</div><div>2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:<wbr>627 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State INIT going to sleep</div><div>2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:<wbr>584 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) Running State Change CS_ROUTING</div><div>2016-11-03 05:56:54.995540 [DEBUG] switch_channel.c:2249 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) Callstate Change DOWN -> RINGING</div><div>2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:<wbr>643 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State ROUTING</div><div>2016-11-03 05:56:54.995540 [DEBUG] mod_sofia.c:143 sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> SOFIA ROUTING</div><div>2016-11-03 05:56:54.995540 [DEBUG] switch_core_state_machine.c:<wbr>236 sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> Standard ROUTING</div><div>2016-11-03 05:56:54.995540 [INFO] mod_dialplan_xml.c:637 Processing 3000 <3000>-><a href="tel:00919971931166" value="+919971931166" target="_blank">00919971931166</a> in context 5.250.179.173</div><div>2016-11-03 05:56:55.015522 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f0cc4041120 Connected.</div><div>2016-11-03 05:56:55.255553 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f0cc4041120 released.</div><div>Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> parsing [5.250.179.173->gateway1.<wbr>00d1220] continue=false</div><div>Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> Regex (FAIL) [gateway1.00d1220] destination_number<a href="tel:%2800919971931166" value="+919971931166" target="_blank">(<wbr>00919971931166</a>) =~ /00^(\d{12,20})$/ break=on-false</div><div>Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> parsing [5.250.179.173->gateway1.<wbr>00d1220] continue=false</div><div>Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> Regex (PASS) [gateway1.00d1220] destination_number<a href="tel:%2800919971931166" value="+919971931166" target="_blank">(<wbr>00919971931166</a>) =~ /^(\d{12,20})$/ break=on-false</div><div>Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> Action ()</div></div></div></blockquote><div><br></div></div></div>This ^^^^^</div><div><span class=""><br><blockquote type="cite"><div><div dir="ltr"><div>Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> Action set(sip_h_X-accountcode=${<wbr>accountcode})</div><div>Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> Action set(call_direction=outbound)</div><div>Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> Action set(hangup_after_bridge=true)</div><div>Dialplan: sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> Action set(effective_caller_id_name=$<wbr>{outbound_caller_id_name})</div><div>2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:<wbr>286 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State Change CS_ROUTING -> CS_EXECUTE</div><div>2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:<wbr>643 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State ROUTING going to sleep</div><div>2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:<wbr>584 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) Running State Change CS_EXECUTE</div><div>2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:<wbr>650 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State EXECUTE</div><div>2016-11-03 05:56:55.275562 [DEBUG] mod_sofia.c:198 sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> SOFIA EXECUTE</div><div>2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:<wbr>328 sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> Standard EXECUTE</div><div>2016-11-03 05:56:55.275562 [ERR] switch_core_session.c:2604 Invalid Application</div></div></div></blockquote><div><br></div></span><div>Causes this ^^^^</div></div><span class=""><div><br></div><div><br><blockquote type="cite"><div><div dir="ltr"><div>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/" target="_blank">3000@5.250.179.<wbr>173:5090</a> [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]</div><div>2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:<wbr>650 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State EXECUTE going to sleep</div><div>2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:<wbr>584 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) Running State Change CS_HANGUP</div><div>2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:<wbr>850 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) Callstate Change RINGING -> HANGUP</div><div>2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:<wbr>852 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State HANGUP</div><div>2016-11-03 05:56:55.275562 [DEBUG] mod_sofia.c:438 Channel sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> hanging up, cause: DESTINATION_OUT_OF_ORDER</div><div>2016-11-03 05:56:55.275562 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 502</div><div>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/" target="_blank">3000@5.250.179.<wbr>173:5090</a> Standard HANGUP, cause: DESTINATION_OUT_OF_ORDER</div><div>2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:<wbr>852 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State HANGUP going to sleep</div><div>2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:<wbr>619 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State Change CS_HANGUP -> CS_REPORTING</div><div>2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:<wbr>584 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) Running State Change CS_REPORTING</div><div>2016-11-03 05:56:55.275562 [DEBUG] switch_core_state_machine.c:<wbr>938 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State REPORTING</div><div>2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:<wbr>174 sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> Standard REPORTING, cause: DESTINATION_OUT_OF_ORDER</div><div>2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:<wbr>938 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State REPORTING going to sleep</div><div>2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:<wbr>610 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State Change CS_REPORTING -> CS_DESTROY</div><div>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/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) Locked, Waiting on external entities</div><div>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/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) Ended</div><div>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/" target="_blank">3000@5.250.179.<wbr>173:5090</a> [CS_DESTROY]</div><div>2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:<wbr>741 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) Running State Change CS_DESTROY</div><div>2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:<wbr>751 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State DESTROY</div><div>2016-11-03 05:56:55.355544 [DEBUG] mod_sofia.c:343 sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> SOFIA DESTROY</div><div>2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:<wbr>181 sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.179.<wbr>173:5090</a> Standard DESTROY</div><div>2016-11-03 05:56:55.355544 [DEBUG] switch_core_state_machine.c:<wbr>751 (sofia/internal/<a href="http://3000@5.250.179.173:5090/" target="_blank">3000@5.250.<wbr>179.173:5090</a>) State DESTROY going to sleep</div><div> <br clear="all"></div></div></div></blockquote></div><br></span></div><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>