<p dir="ltr">Bug reports belong at <a href="http://jira.freeswitch.org">jira.freeswitch.org</a> with traces attached not inlined.</p>
<div class="gmail_quote">On Jan 5, 2014 2:41 AM, &quot;Francis&quot; &lt;<a href="mailto:sms@icefire.qza.net.au">sms@icefire.qza.net.au</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Debian Wheezy 7.3 32bit<br>
Version 1.2.17 -n20140102T213421Z-1~wheezy+1git ca447fe 2014-01-02<br>
11:34:22Z 32bit<br>
Phone firmware: 3.3.5<br>
Configured as EXT 1000<br>
<br>
Incoming calls work fine, but outgoing calls, either to local extensions<br>
or though a gateway hang up the instant the call is answered by the<br>
remote party. The IP-330 shows the call as answered and in progress and<br>
there is a split second of audio before it drops, but the actual call<br>
has dropped and the other party is idle.<br>
<br>
Calling three different endpoints has the same effect:<br>
<br>
Grandstream GXP2124 (extension 1002)<br>
Zoiper communicator on Android<br>
Sip trunk to PSTN<br>
<br>
A capture in wireshark shows the following sequence immediately after<br>
the call is established:<br>
<br>
3963    8.986119000     10.0.0.124      10.0.0.119      SIP/SDP 1017    Request: UPDATE<br>
<a href="http://sip:1000@10.0.0.119:5060" target="_blank">sip:1000@10.0.0.119:5060</a>, with session description<br>
3963    8.986119000     10.0.0.124      10.0.0.119      SIP/SDP 1017    Request: UPDATE<br>
<a href="http://sip:1000@10.0.0.119:5060" target="_blank">sip:1000@10.0.0.119:5060</a>, with session description<br>
3994    <a href="tel:9.002869000" value="+19002869000">9.002869000</a>        10.0.0.119      10.0.0.124      SIP     443     Status: 481 Call<br>
Leg/Transaction Does Not Exist<br>
3996    9.003466000     10.0.0.124      10.0.0.119      SIP     687     Request: BYE<br>
<a href="http://sip:1000@10.0.0.119:5060" target="_blank">sip:1000@10.0.0.119:5060</a><br>
4029    <a href="tel:9.019642000" value="+19019642000">9.019642000</a>        10.0.0.119      10.0.0.124      SIP     440     Status: 481 Call<br>
Leg/Transaction Does Not Exist<br>
<br>
.... at which point, a BYE is sent to the b leg and the call terminates,<br>
with the IP-330 left dangling with an empty call leg, not realizing that<br>
nobody is listening anymore.<br>
<br>
This is what I gleaned from fs_cli:<br>
<br>
2014-01-05 18:13:08.904735 [DEBUG] sofia.c:5779 Channel<br>
sofia/internal/1000@hpbx.nest entering state [calling][0]<br>
2014-01-05 18:13:08.904735 [DEBUG] switch_rtp.c:927  [  zrtp utils]:<br>
Send &lt;HELLO&gt; ssrc=1538954628 seq=54771 size=144. Stream 40:CLEAR:START<br>
2014-01-05 18:13:08.924723 [DEBUG] switch_core_session.c:1016 Send<br>
signal sofia/internal/1000@hpbx.nest [BREAK]<br>
2014-01-05 18:13:08.924723 [DEBUG] switch_core_session.c:1016 Send<br>
signal sofia/internal/1000@hpbx.nest [BREAK]<br>
2014-01-05 18:13:08.924723 [DEBUG] switch_core_session.c:1016 Send<br>
signal sofia/internal/1000@hpbx.nest [BREAK]<br>
2014-01-05 18:13:08.924723 [DEBUG] switch_core_session.c:1016 Send<br>
signal sofia/internal/1000@hpbx.nest [BREAK]<br>
2014-01-05 18:13:08.924723 [DEBUG] switch_core_session.c:1016 Send<br>
signal sofia/internal/1000@hpbx.nest [BREAK]<br>
2014-01-05 18:13:08.944752 [DEBUG] sofia.c:5779 Channel<br>
sofia/internal/1000@hpbx.nest entering state [terminating][487]<br>
2014-01-05 18:13:08.944752 [NOTICE] sofia.c:6623 Hangup<br>
sofia/internal/1000@hpbx.nest [CS_EXECUTE] [ORIGINATOR_CANCEL]<br>
2014-01-05 18:13:08.944752 [DEBUG] switch_channel.c:3183 Send signal<br>
sofia/internal/1000@hpbx.nest [KILL]<br>
2014-01-05 18:13:08.944752 [DEBUG] switch_core_session.c:1351 Send<br>
signal sofia/internal/1000@hpbx.nest [BREAK]<br>
2014-01-05 18:13:08.944752 [DEBUG] switch_ivr_bridge.c:633 BRIDGE THREAD<br>
DONE [sofia/internal/1000@hpbx.nest]<br>
2014-01-05 18:13:08.944752 [DEBUG] switch_ivr_bridge.c:658 Send signal<br>
sofia/internal/<a href="http://sip:1002@10.0.0.120:5060" target="_blank">sip:1002@10.0.0.120:5060</a> [BREAK]<br>
2014-01-05 18:13:08.964735 [DEBUG] switch_ivr_bridge.c:633 BRIDGE THREAD<br>
DONE [sofia/internal/<a href="http://sip:1002@10.0.0.120:5060" target="_blank">sip:1002@10.0.0.120:5060</a>]<br>
2014-01-05 18:13:08.964735 [DEBUG] switch_ivr_bridge.c:658 Send signal<br>
sofia/internal/1000@hpbx.nest [BREAK]<br>
2014-01-05 18:13:08.964735 [NOTICE] switch_ivr_bridge.c:721 Hangup<br>
sofia/internal/<a href="http://sip:1002@10.0.0.120:5060" target="_blank">sip:1002@10.0.0.120:5060</a> [CS_EXCHANGE_MEDIA]<br>
[NORMAL_CLEARING]<br>
2014-01-05 18:13:08.964735 [DEBUG] switch_channel.c:3183 Send signal<br>
sofia/internal/<a href="http://sip:1002@10.0.0.120:5060" target="_blank">sip:1002@10.0.0.120:5060</a> [KILL]<br>
2014-01-05 18:13:08.964735 [DEBUG] switch_core_session.c:1351 Send<br>
signal sofia/internal/<a href="http://sip:1002@10.0.0.120:5060" target="_blank">sip:1002@10.0.0.120:5060</a> [BREAK]<br>
2014-01-05 18:13:08.964735 [DEBUG] switch_core_state_machine.c:481<br>
(sofia/internal/<a href="http://sip:1002@10.0.0.120:5060" target="_blank">sip:1002@10.0.0.120:5060</a>) State EXCHANGE_MEDIA going to<br>
sleep<br>
2014-01-05 18:13:08.964735 [DEBUG] switch_core_state_machine.c:415<br>
(sofia/internal/<a href="http://sip:1002@10.0.0.120:5060" target="_blank">sip:1002@10.0.0.120:5060</a>) Running State Change CS_HANGUP<br>
2014-01-05 18:13:08.964735 [DEBUG] switch_core_state_machine.c:679<br>
(sofia/internal/<a href="http://sip:1002@10.0.0.120:5060" target="_blank">sip:1002@10.0.0.120:5060</a>) State HANGUP<br>
2014-01-05 18:13:08.964735 [DEBUG] mod_sofia.c:500<br>
sofia/internal/<a href="http://sip:1002@10.0.0.120:5060" target="_blank">sip:1002@10.0.0.120:5060</a> Overriding SIP cause 480 with<br>
487 from the other leg<br>
2014-01-05 18:13:08.964735 [DEBUG] mod_sofia.c:506 Channel<br>
sofia/internal/<a href="http://sip:1002@10.0.0.120:5060" target="_blank">sip:1002@10.0.0.120:5060</a> hanging up, cause: NORMAL_CLEARING<br>
2014-01-05 18:13:08.964735 [DEBUG] switch_ivr_bridge.c:1524<br>
sofia/internal/<a href="http://sip:1002@10.0.0.120:5060" target="_blank">sip:1002@10.0.0.120:5060</a> skip receive message [UNBRIDGE]<br>
(channel is hungup already)<br>
<br>
<br>
2014-01-05 18:13:08.964735 [DEBUG] switch_ivr_bridge.c:1527<br>
sofia/internal/1000@hpbx.nest skip receive message [UNBRIDGE] (channel<br>
is hungup already)<br>
<br>
<br>
2014-01-05 18:13:08.964735 [DEBUG] switch_core_session.c:2810<br>
sofia/internal/1000@hpbx.nest skip receive message<br>
[APPLICATION_EXEC_COMPLETE] (channel is hungup already)<br>
<br>
<br>
2014-01-05 18:13:08.964735 [DEBUG] switch_core_state_machine.c:478<br>
(sofia/internal/1000@hpbx.nest) State EXECUTE going to sleep<br>
2014-01-05 18:13:08.964735 [DEBUG] switch_core_state_machine.c:415<br>
(sofia/internal/1000@hpbx.nest) Running State Change CS_HANGUP<br>
2014-01-05 18:13:08.964735 [DEBUG] mod_sofia.c:558 Sending BYE to<br>
sofia/internal/<a href="http://sip:1002@10.0.0.120:5060" target="_blank">sip:1002@10.0.0.120:5060</a><br>
2014-01-05 18:13:08.964735 [DEBUG] switch_core_state_machine.c:48<br>
sofia/internal/<a href="http://sip:1002@10.0.0.120:5060" target="_blank">sip:1002@10.0.0.120:5060</a> Standard HANGUP, cause:<br>
NORMAL_CLEARING<br>
<br>
<br>
Version 1.2.17 git 7712626 2013-12-27 20:52:28Z 64bit works fine.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div>