<div dir="ltr"><div><div><div><div><div>Hello All,<br><br>We had several GSM Gateways (couple of Dinstar DWG Series) and triying to move from Asterisk to Freeswtich.<br><br><br></div>My freeswitch setup was in virtual Machine in ESX Server at 10.10.1.71<br></div>And My Dinstar GW was on 10.10.1.109<br><br>My freeswitch dial plan based from standart setup but I delet most of default.xml.<br><br></div>I can made call from gw to gsm phone via originate and or using softphone. However I cannot hear any sound.<br><br></div><div>What can be wrong, aslo could you suggest me good debuggin practices. <br><br></div><div>My Best Regards.<br></div><div><br></div><br><br></div>Here my Silly debug log. Some how it goes sleep when I press to accept call button<br><br>Dialplan: sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> Action transfer(7001 enum)<br>2014-10-22 14:20:32.709543 [INFO] switch_channel.c:3062 sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> Flipping CID from &quot;&quot; &lt;0000000000&gt; to &quot;Outbound Call&quot; &lt;1001&gt;<br>2014-10-22 14:20:32.709543 [DEBUG] switch_core_state_machine.c:216 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State Change CS_ROUTING -&gt; CS_EXECUTE<br>2014-10-22 14:20:32.709543 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> [BREAK]<br>2014-10-22 14:20:32.709543 [DEBUG] switch_core_state_machine.c:528 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State ROUTING going to sleep<br>2014-10-22 14:20:32.709543 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) Running State Change CS_EXECUTE<br>2014-10-22 14:20:32.709543 [DEBUG] switch_core_state_machine.c:535 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State EXECUTE<br>2014-10-22 14:20:32.709543 [DEBUG] mod_sofia.c:178 sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> SOFIA EXECUTE<br>2014-10-22 14:20:32.709543 [DEBUG] switch_core_state_machine.c:258 sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> Standard EXECUTE<br>EXECUTE sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> transfer(7001 enum)<br>2014-10-22 14:20:32.709543 [DEBUG] switch_ivr.c:1847 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State Change CS_EXECUTE -&gt; CS_ROUTING<br>2014-10-22 14:20:32.709543 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> [BREAK]<br>2014-10-22 14:20:32.709543 [DEBUG] switch_core_session.c:908 Send signal sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> [BREAK]<br>2014-10-22 14:20:32.709543 [NOTICE] switch_ivr.c:1854 Transfer sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> to enum[7001@default]<br>2014-10-22 14:20:32.709543 [DEBUG] switch_core_state_machine.c:535 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State EXECUTE going to sleep<br>2014-10-22 14:20:32.709543 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) Running State Change CS_ROUTING<br>2014-10-22 14:20:32.709543 [DEBUG] switch_core_state_machine.c:528 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State ROUTING<br>2014-10-22 14:20:32.709543 [DEBUG] mod_sofia.c:123 sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> SOFIA ROUTING<br>2014-10-22 14:20:32.709543 [DEBUG] switch_core_state_machine.c:166 sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> Standard ROUTING<br>2014-10-22 14:20:32.709543 [DEBUG] mod_enum.c:644 ENUM Lookup on 7001<br>2014-10-22 14:20:32.709543 [DEBUG] mod_enum.c:496 No Nameservers specified, using host default<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:216 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State Change CS_ROUTING -&gt; CS_EXECUTE<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> [BREAK]<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:528 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State ROUTING going to sleep<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) Running State Change CS_EXECUTE<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:535 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State EXECUTE<br>2014-10-22 14:20:33.109581 [DEBUG] mod_sofia.c:178 sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> SOFIA EXECUTE<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:258 sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> Standard EXECUTE<br>2014-10-22 14:20:33.109581 [NOTICE] switch_core_state_machine.c:315 sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> has executed the last dialplan instruction, hanging up.<br>2014-10-22 14:20:33.109581 [NOTICE] switch_core_state_machine.c:317 Hangup sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>2014-10-22 14:20:33.109581 [DEBUG] switch_channel.c:3222 Send signal sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> [KILL]<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> [BREAK]<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:535 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State EXECUTE going to sleep<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) Running State Change CS_HANGUP<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:735 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) Callstate Change ACTIVE -&gt; HANGUP<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:737 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State HANGUP<br>2014-10-22 14:20:33.109581 [DEBUG] mod_sofia.c:413 Channel sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> hanging up, cause: NORMAL_CLEARING<br>2014-10-22 14:20:33.109581 [DEBUG] mod_sofia.c:465 Sending BYE to sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a><br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:60 sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> Standard HANGUP, cause: NORMAL_CLEARING<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:737 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State HANGUP going to sleep<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:504 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State Change CS_HANGUP -&gt; CS_REPORTING<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> [BREAK]<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) Running State Change CS_REPORTING<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:823 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State REPORTING<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:104 sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> Standard REPORTING, cause: NORMAL_CLEARING<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:823 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State REPORTING going to sleep<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:498 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State Change CS_REPORTING -&gt; CS_DESTROY<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> [BREAK]<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_session.c:1615 Session 73 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) Locked, Waiting on external entities<br>2014-10-22 14:20:33.109581 [NOTICE] switch_core_session.c:1633 Session 73 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) Ended<br>2014-10-22 14:20:33.109581 [NOTICE] switch_core_session.c:1637 Close Channel sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> [CS_DESTROY]<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:626 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) Running State Change CS_DESTROY<br>2014-10-22 14:20:33.109581 [DEBUG] switch_core_state_machine.c:636 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State DESTROY<br>2014-10-22 14:20:33.109581 [DEBUG] mod_sofia.c:323 sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> SOFIA DESTROY<br>2014-10-22 14:20:33.129540 [DEBUG] switch_core_state_machine.c:111 sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a> Standard DESTROY<br>2014-10-22 14:20:33.129540 [DEBUG] switch_core_state_machine.c:636 (sofia/internal/<a href="http://sip:1001@10.10.1.36:31292">sip:1001@10.10.1.36:31292</a>) State DESTROY going to sleep<br><br><br></div>