<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">It looks that the profile you are using use only GSM, however the phone is trying to use G729 only&nbsp;<div class=""><br class=""></div><div class="">look at the colored text.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 7, 2016, at 3:06 PM, <a href="mailto:freeswitch-users-request@lists.freeswitch.org" class="">freeswitch-users-request@lists.freeswitch.org</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">From:<span class="Apple-converted-space">&nbsp;</span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">Стас Тельнов &lt;<a href="mailto:stasan89@gmail.com" class="">stasan89@gmail.com</a>&gt;<br class=""></span></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Subject:<span class="Apple-converted-space">&nbsp;</span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">[Freeswitch-users] Call from SIP server to external SIP provider: 488 INCOMPATIBLE_DESTINATION</b><br class=""></span></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Date:<span class="Apple-converted-space">&nbsp;</span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">April 7, 2016 at 3:06:17 PM GMT+3<br class=""></span></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">To:<span class="Apple-converted-space">&nbsp;</span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>&gt;<br class=""></span></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Reply-To:<span class="Apple-converted-space">&nbsp;</span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>&gt;<br class=""></span></div><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div dir="ltr" style="font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Hello.<br class="">I`am doing external calls via sip provider. And I have internal SIP server (opensips) with users.<br class="">My case: two my users connecting via my sip server. One of him starting conference and calling to external number (carrier number or mobile phone).<br class=""><br class="">But when I doing call to external number, I got error 488 INCOMPATIBLE_DESTINATION on call.<br class=""><br class="">For setup I done next steps:<br class="">1) create file /etc/freeswitch/sip_profiles/external/freelycall.com.xml with provider-access params<br class=""><br class="">2) set dialplan extension with my mobile number (hardcoded expression for testing)<br class="">&nbsp;&nbsp;&nbsp; &lt;extension name="outbound_calls_to_freelycall"&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^(7906*******)$" break="on-true"&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="hangup_after_bridge=true"/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge" data="sofia/gateway/<a href="http://freelycall.com/$1" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">freelycall.com/$1</a>"/&gt;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><br class="">&nbsp;&nbsp;&nbsp; &lt;/extension&gt;<br class="">&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><br class="">3) set default provider params and external hosts in vars.xml<br class="">&nbsp; &lt;X-PRE-PROCESS cmd="set" data="external_rtp_ip=host:<a href="http://freelycall.com/" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">freelycall.com</a>"/&gt;<br class="">&nbsp; &lt;X-PRE-PROCESS cmd="set" data="external_sip_ip=host:<a href="http://freelycall.com/" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">freelycall.com</a>"/&gt;<br class="">&nbsp; ...<br class="">&nbsp; &lt;X-PRE-PROCESS cmd="set" data="default_provider=<a href="http://freelycall.com/" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">freelycall.com</a>"/&gt;<br class="">&nbsp; &lt;X-PRE-PROCESS cmd="set" data="default_provider_username=MY_ID"/&gt;<br class="">&nbsp; &lt;X-PRE-PROCESS cmd="set" data="default_provider_password=MY_PASS"/&gt;<br class="">&nbsp; &lt;X-PRE-PROCESS cmd="set" data="default_provider_from_domain=<a href="http://freelycall.com/" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">freelycall.com</a>"/&gt;<br class="">&nbsp; &lt;!-- true or false --&gt;<br class="">&nbsp; &lt;X-PRE-PROCESS cmd="set" data="default_provider_register=true"/&gt;<br class="">&nbsp; &lt;X-PRE-PROCESS cmd="set" data="default_provider_contact=5000"/&gt;<br class="">&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><br class="">I starting debug:<br class="">freeswitch -c<br class=""><br class="">command "sofia status" say:<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Name&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; Type&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Data&nbsp;&nbsp;&nbsp; State<br class="">=================================================================================================<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 172.31.22.124&nbsp;&nbsp;&nbsp; &nbsp; alias&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; internal&nbsp;&nbsp;&nbsp; ALIASED<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; external&nbsp;&nbsp;&nbsp; profile&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><a href="http://sip:mod_sofia@172.31.22.124:5060/" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">sip:mod_sofia@172.31.22.124:5060</a>&nbsp;&nbsp;&nbsp; RUNNING (0)<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; external&nbsp;&nbsp;&nbsp; profile&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><a href="http://sip:mod_sofia@172.31.22.124:5061/" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">sip:mod_sofia@172.31.22.124:5061</a>&nbsp;&nbsp;&nbsp; RUNNING (0) (TLS)<br class="">&nbsp;external::<a href="http://freelycall.com/" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">freelycall.com</a>&nbsp;&nbsp;&nbsp; gateway&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><a href="mailto:sip%3AMY_ID@freelycall.com" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">sip:MY_ID@freelycall.com</a>&nbsp;&nbsp;&nbsp; REGED<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; internal&nbsp;&nbsp;&nbsp; profile&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><a href="http://sip:mod_sofia@172.31.22.124:5080/" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">sip:mod_sofia@172.31.22.124:5080</a>&nbsp;&nbsp;&nbsp; RUNNING (0)<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; internal&nbsp;&nbsp;&nbsp; profile&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><a href="http://sip:mod_sofia@172.31.22.124:5081/" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">sip:mod_sofia@172.31.22.124:5081</a>&nbsp;&nbsp;&nbsp; RUNNING (0) (TLS)<br class="">=================================================================================================<br class="">2 profiles 1 alias<br class=""><br class="">Thats good I think.<br class=""><br class="">command "sofia status profile external" say:<br class="">=================================================================================================<br class="">Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; external<br class="">Domain Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; N/A<br class="">Auto-NAT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; false<br class="">DBName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sofia_reg_external<br class="">Pres Hosts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><br class="">Dialplan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; XML<br class="">Context&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; public<br class="">Challenge Realm&nbsp; &nbsp;&nbsp;&nbsp; auto_to<br class="">RTP-IP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 172.31.22.124<br class="">SIP-IP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 172.31.22.124<br class="">URL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><a href="http://sip:mod_sofia@172.31.22.124:5060/" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">sip:mod_sofia@172.31.22.124:5060</a><br class="">BIND-URL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><a href="sip:mod_sofia@172.31.22.124:5060;transport=udp,tcp" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">sip:mod_sofia@172.31.22.124:5060;transport=udp,tcp</a><br class="">TLS-URL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><a href="http://sip:mod_sofia@172.31.22.124:5061/" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">sip:mod_sofia@172.31.22.124:5061</a><br class="">TLS-BIND-URL&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sips:mod_sofia@172.31.22.124:5061;transport=tls<br class="">HOLD-MUSIC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; local_stream://moh<br class="">OUTBOUND-PROXY&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; N/A<br class=""><font color="#ff5d9c" class="">CODECS IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; GSM<br class="">CODECS OUT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; GSM</font><br class="">TEL-EVENT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 101<br class="">DTMF-MODE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rfc2833<br class="">CNG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 13<br class="">SESSION-TO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 0<br class="">MAX-DIALOG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 0<br class="">NOMEDIA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; false<br class="">LATE-NEG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; true<br class="">PROXY-MEDIA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; false<br class="">ZRTP-PASSTHRU&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; true<br class="">AGGRESSIVENAT&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; false<br class="">CALLS-IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 0<br class="">FAILED-CALLS-IN&nbsp; &nbsp;&nbsp;&nbsp; 0<br class="">CALLS-OUT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 0<br class="">FAILED-CALLS-OUT &nbsp;&nbsp;&nbsp; 0<br class="">REGISTRATIONS&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 0<br class=""><br class="">I`am not sure, that all correct, but I don`t know how should look like the right output of this command<br class=""><br class=""><br class="">When I starting call, I see next row in log:<br class="">2016-04-07 07:52:09.195582 [NOTICE] switch_ivr.c:2092 Transfer sofia/external/8@MY_OPENSIPS_DOMAIN to XML[7906*******@default]<br class=""><br class="">I think, that @default is incorrect, I think that domain should be look like as @<a href="http://freelycall.com/" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">freelycall.com</a><br class=""><br class="">What I doing incorrect? Any idea?<br class=""><br class="">Full log on call:<br class="">2016-04-07 07:52:09.195582 [NOTICE] switch_channel.c:1101 New Channel sofia/external/8@MY_OPENSIPS_DOMAIN [286b6a34-fcb7-11e5-a94f-99d758825eaf]<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_NEW<br class="">2016-04-07 07:52:09.195582 [DEBUG] sofia.c:9248 sofia/external/8@MY_OPENSIPS_DOMAIN receiving invite from<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><a href="http://172.31.0.169:5060/" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">172.31.0.169:5060</a><span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span>version: 1.6.6&nbsp; 64bit<br class="">2016-04-07 07:52:09.195582 [DEBUG] sofia.c:6760 Channel sofia/external/8@MY_OPENSIPS_DOMAIN entering state [received][100]<br class="">2016-04-07 07:52:09.195582 [DEBUG] sofia.c:6770 Remote SDP:<br class="">v=0<br class="">o=- 1460029927 1 IN IP4 MY_CALLER_IP<br class="">s=<a href="http://portsip.com/" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">portsip.com</a><br class="">c=IN IP4 MY_OPENSIPS_IP<br class="">t=0 0<br class="">m=audio 42386 RTP/AVP 18 3 101<br class=""><font color="#ff9faf" class="">a=rtpmap:18 G729/8000</font><br class="">a=fmtp:18 annexb=no<br class="">a=rtpmap:3 GSM/8000<br class="">a=rtpmap:101 telephone-event/8000<br class="">a=fmtp:101 0-16<br class="">a=nortpproxy:yes<br class=""><br class="">2016-04-07 07:52:09.195582 [DEBUG] sofia.c:7125 (sofia/external/8@MY_OPENSIPS_DOMAIN) State Change CS_NEW -&gt; CS_INIT<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:492 (sofia/external/8@MY_OPENSIPS_DOMAIN) State NEW<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_INIT<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:516 (sofia/external/8@MY_OPENSIPS_DOMAIN) State INIT<br class="">2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:88 sofia/external/8@MY_OPENSIPS_DOMAIN SOFIA INIT<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:40 sofia/external/8@MY_OPENSIPS_DOMAIN Standard INIT<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:48 (sofia/external/8@MY_OPENSIPS_DOMAIN) State Change CS_INIT -&gt; CS_ROUTING<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:516 (sofia/external/8@MY_OPENSIPS_DOMAIN) State INIT going to sleep<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_ROUTING<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_channel.c:2247 (sofia/external/8@MY_OPENSIPS_DOMAIN) Callstate Change DOWN -&gt; RINGING<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:532 (sofia/external/8@MY_OPENSIPS_DOMAIN) State ROUTING<br class="">2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:141 sofia/external/8@MY_OPENSIPS_DOMAIN SOFIA ROUTING<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:166 sofia/external/8@MY_OPENSIPS_DOMAIN Standard ROUTING<br class="">2016-04-07 07:52:09.195582 [INFO] mod_dialplan_xml.c:637 Processing 8 &lt;8&gt;-&gt;7906******* in context public<br class="">Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN parsing [public-&gt;from_opensips] continue=false<br class="">Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Regex (PASS) [from_opensips] network_addr(172.31.0.169) =~ /^172\.31\.0\.169$/ break=on-false<br class="">Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Action transfer(${destination_number} XML default)<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:216 (sofia/external/8@MY_OPENSIPS_DOMAIN) State Change CS_ROUTING -&gt; CS_EXECUTE<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:532 (sofia/external/8@MY_OPENSIPS_DOMAIN) State ROUTING going to sleep<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_EXECUTE<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:539 (sofia/external/8@MY_OPENSIPS_DOMAIN) State EXECUTE<br class="">2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:196 sofia/external/8@MY_OPENSIPS_DOMAIN SOFIA EXECUTE<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:258 sofia/external/8@MY_OPENSIPS_DOMAIN Standard EXECUTE<br class="">EXECUTE sofia/external/8@MY_OPENSIPS_DOMAIN transfer(7906******* XML default)<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_ivr.c:2085 (sofia/external/8@MY_OPENSIPS_DOMAIN) State Change CS_EXECUTE -&gt; CS_ROUTING<br class="">2016-04-07 07:52:09.195582 [NOTICE] switch_ivr.c:2092 Transfer sofia/external/8@MY_OPENSIPS_DOMAIN to XML[7906*******@default]<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:539 (sofia/external/8@MY_OPENSIPS_DOMAIN) State EXECUTE going to sleep<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_ROUTING<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:532 (sofia/external/8@MY_OPENSIPS_DOMAIN) State ROUTING<br class="">2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:141 sofia/external/8@MY_OPENSIPS_DOMAIN SOFIA ROUTING<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:166 sofia/external/8@MY_OPENSIPS_DOMAIN Standard ROUTING<br class="">2016-04-07 07:52:09.195582 [INFO] mod_dialplan_xml.c:637 Processing 8 &lt;8&gt;-&gt;7906******* in context default<br class="">Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN parsing [default-&gt;unloop] continue=false<br class="">Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false<br class="">Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false<br class="">Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN parsing [default-&gt;tod_example] continue=true<br class="">Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Date/TimeMatch (FAIL) [tod_example] break=on-false<br class="">Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN parsing [default-&gt;outbound_calls_to_freelycall] continue=false<br class="">Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Regex (PASS) [outbound_calls_to_freelycall] destination_number(7906*******) =~ /^(7906*******)$/ break=on-true<br class="">Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Action set(hangup_after_bridge=true)<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><br class="">Dialplan: sofia/external/8@MY_OPENSIPS_DOMAIN Action bridge(sofia/gateway/<a href="http://freelycall.com/7906*******" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">freelycall.com/7906*******</a>)<span class="Apple-converted-space" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">&nbsp;</span><br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:216 (sofia/external/8@MY_OPENSIPS_DOMAIN) State Change CS_ROUTING -&gt; CS_EXECUTE<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:532 (sofia/external/8@MY_OPENSIPS_DOMAIN) State ROUTING going to sleep<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_EXECUTE<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:539 (sofia/external/8@MY_OPENSIPS_DOMAIN) State EXECUTE<br class="">2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:196 sofia/external/8@MY_OPENSIPS_DOMAIN SOFIA EXECUTE<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:258 sofia/external/8@MY_OPENSIPS_DOMAIN Standard EXECUTE<br class="">EXECUTE sofia/external/8@MY_OPENSIPS_DOMAIN set(hangup_after_bridge=true)<br class="">2016-04-07 07:52:09.195582 [DEBUG] mod_dptools.c:1498 SET sofia/external/8@MY_OPENSIPS_DOMAIN [hangup_after_bridge]=[true]<br class="">EXECUTE sofia/external/8@MY_OPENSIPS_DOMAIN bridge(sofia/gateway/<a href="http://freelycall.com/7906*******" class="" style="font-family: Helvetica; font-size: 12px; font-weight: normal; font-style: normal;">freelycall.com/7906*******</a>)<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_ivr_originate.c:2128 Parsing global variables<br class="">2016-04-07 07:52:09.195582 [NOTICE] switch_channel.c:1101 New Channel sofia/external/7906******* [286bb5b6-fcb7-11e5-a957-99d758825eaf]<br class="">2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:4776 (sofia/external/7906*******) State Change CS_NEW -&gt; CS_INIT<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7906*******) Running State Change CS_INIT<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:516 (sofia/external/7906*******) State INIT<br class="">2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:88 sofia/external/7906******* SOFIA INIT<br class="">2016-04-07 07:52:09.195582 [DEBUG] sofia_glue.c:1257 sofia/external/7906******* sending invite version: 1.6.6&nbsp; 64bit<br class="">Local SDP:<br class="">v=0<br class="">o=FreeSWITCH 1460003999 1460004000 IN IP4 172.31.22.124<br class="">s=FreeSWITCH<br class="">c=IN IP4 172.31.22.124<br class="">t=0 0<br class="">m=audio 25930 RTP/AVP 3 101 13<br class=""><font color="#ff8064" class="">a=rtpmap:3 GSM/8000</font><br class="">a=rtpmap:101 telephone-event/8000<br class="">a=fmtp:101 0-16<br class="">a=rtpmap:13 CN/8000<br class="">a=ptime:20<br class="">a=sendrecv<br class=""><br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:40 sofia/external/7906******* Standard INIT<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:48 (sofia/external/7906*******) State Change CS_INIT -&gt; CS_ROUTING<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:516 (sofia/external/7906*******) State INIT going to sleep<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7906*******) Running State Change CS_ROUTING<br class="">2016-04-07 07:52:09.195582 [DEBUG] sofia.c:6760 Channel sofia/external/7906******* entering state [calling][0]<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:532 (sofia/external/7906*******) State ROUTING<br class="">2016-04-07 07:52:09.195582 [DEBUG] mod_sofia.c:141 sofia/external/7906******* SOFIA ROUTING<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_ivr_originate.c:67 (sofia/external/7906*******) State Change CS_ROUTING -&gt; CS_CONSUME_MEDIA<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:532 (sofia/external/7906*******) State ROUTING going to sleep<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7906*******) Running State Change CS_CONSUME_MEDIA<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:551 (sofia/external/7906*******) State CONSUME_MEDIA<br class="">2016-04-07 07:52:09.195582 [DEBUG] switch_core_state_machine.c:551 (sofia/external/7906*******) State CONSUME_MEDIA going to sleep<br class="">2016-04-07 07:52:09.215582 [DEBUG] sofia.c:6760 Channel sofia/external/7906******* entering state [terminated][488]<br class="">2016-04-07 07:52:09.215582 [NOTICE] sofia.c:7779 Hangup sofia/external/7906******* [CS_CONSUME_MEDIA] [INCOMPATIBLE_DESTINATION]<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7906*******) Running State Change CS_HANGUP<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:739 (sofia/external/7906*******) Callstate Change DOWN -&gt; HANGUP<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7906*******) State HANGUP<br class="">2016-04-07 07:52:09.215582 [DEBUG] mod_sofia.c:431 Channel sofia/external/7906******* hanging up, cause: INCOMPATIBLE_DESTINATION<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:60 sofia/external/7906******* Standard HANGUP, cause: INCOMPATIBLE_DESTINATION<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:741 (sofia/external/7906*******) State HANGUP going to sleep<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:508 (sofia/external/7906*******) State Change CS_HANGUP -&gt; CS_REPORTING<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/7906*******) Running State Change CS_REPORTING<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7906*******) State REPORTING<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:104 sofia/external/7906******* Standard REPORTING, cause: INCOMPATIBLE_DESTINATION<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:827 (sofia/external/7906*******) State REPORTING going to sleep<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:499 (sofia/external/7906*******) State Change CS_REPORTING -&gt; CS_DESTROY<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_session.c:1646 Session 2 (sofia/external/7906*******) Locked, Waiting on external entities<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_ivr_originate.c:3751 Originate Resulted in Error Cause: 88 [INCOMPATIBLE_DESTINATION]<br class="">2016-04-07 07:52:09.215582 [INFO] mod_dptools.c:3379 Originate Failed.&nbsp; Cause: INCOMPATIBLE_DESTINATION<br class="">2016-04-07 07:52:09.215582 [NOTICE] switch_channel.c:4804 Hangup sofia/external/8@MY_OPENSIPS_DOMAIN [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_session.c:2796 sofia/external/8@MY_OPENSIPS_DOMAIN skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:539 (sofia/external/8@MY_OPENSIPS_DOMAIN) State EXECUTE going to sleep<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_HANGUP<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:739 (sofia/external/8@MY_OPENSIPS_DOMAIN) Callstate Change RINGING -&gt; HANGUP<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:741 (sofia/external/8@MY_OPENSIPS_DOMAIN) State HANGUP<br class="">2016-04-07 07:52:09.215582 [DEBUG] mod_sofia.c:425 sofia/external/8@MY_OPENSIPS_DOMAIN Overriding SIP cause 488 with 488 from the other leg<br class="">2016-04-07 07:52:09.215582 [DEBUG] mod_sofia.c:431 Channel sofia/external/8@MY_OPENSIPS_DOMAIN hanging up, cause: INCOMPATIBLE_DESTINATION<br class="">2016-04-07 07:52:09.215582 [DEBUG] mod_sofia.c:568 Responding to INVITE with: 488<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:60 sofia/external/8@MY_OPENSIPS_DOMAIN Standard HANGUP, cause: INCOMPATIBLE_DESTINATION<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:741 (sofia/external/8@MY_OPENSIPS_DOMAIN) State HANGUP going to sleep<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:508 (sofia/external/8@MY_OPENSIPS_DOMAIN) State Change CS_HANGUP -&gt; CS_REPORTING<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:473 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_REPORTING<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:827 (sofia/external/8@MY_OPENSIPS_DOMAIN) State REPORTING<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:104 sofia/external/8@MY_OPENSIPS_DOMAIN Standard REPORTING, cause: INCOMPATIBLE_DESTINATION<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:827 (sofia/external/8@MY_OPENSIPS_DOMAIN) State REPORTING going to sleep<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:499 (sofia/external/8@MY_OPENSIPS_DOMAIN) State Change CS_REPORTING -&gt; CS_DESTROY<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_session.c:1646 Session 1 (sofia/external/8@MY_OPENSIPS_DOMAIN) Locked, Waiting on external entities<br class="">2016-04-07 07:52:09.215582 [NOTICE] switch_core_session.c:1664 Session 1 (sofia/external/8@MY_OPENSIPS_DOMAIN) Ended<br class="">2016-04-07 07:52:09.215582 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/8@MY_OPENSIPS_DOMAIN [CS_DESTROY]<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:630 (sofia/external/8@MY_OPENSIPS_DOMAIN) Running State Change CS_DESTROY<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:640 (sofia/external/8@MY_OPENSIPS_DOMAIN) State DESTROY<br class="">2016-04-07 07:52:09.215582 [DEBUG] mod_sofia.c:341 sofia/external/8@MY_OPENSIPS_DOMAIN SOFIA DESTROY<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:111 sofia/external/8@MY_OPENSIPS_DOMAIN Standard DESTROY<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:640 (sofia/external/8@MY_OPENSIPS_DOMAIN) State DESTROY going to sleep<br class="">2016-04-07 07:52:09.215582 [NOTICE] switch_core_session.c:1664 Session 2 (sofia/external/7906*******) Ended<br class="">2016-04-07 07:52:09.215582 [NOTICE] switch_core_session.c:1668 Close Channel sofia/external/7906******* [CS_DESTROY]<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:630 (sofia/external/7906*******) Running State Change CS_DESTROY<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7906*******) State DESTROY<br class="">2016-04-07 07:52:09.215582 [DEBUG] mod_sofia.c:341 sofia/external/7906******* SOFIA DESTROY<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:111 sofia/external/7906******* Standard DESTROY<br class="">2016-04-07 07:52:09.215582 [DEBUG] switch_core_state_machine.c:640 (sofia/external/7906*******) State DESTROY going to sleep</div></div></blockquote></div><br class=""></div></body></html>