edit mod_openzap.c<br><br>line 1046<br>add <br><br>zap_channel_init(zchan);<br><br>before<br><br>return SWITCH_CAUSE_SUCCESS;<br><br>see if that works.<br><br><br><div class="gmail_quote">On Fri, Oct 31, 2008 at 2:02 AM, Helmut Kuper <span dir="ltr">&lt;<a href="mailto:helmut.kuper@ewetel.de">helmut.kuper@ewetel.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div>Hello,<br>
<br>
just to put get some attention on this ...<br>
<br>
regards<br>
Helmut<br>
<br>
<br>
<br>
Helmut Kuper schrieb:<br>
<div><div></div><div class="Wj3C7c">&gt; Hi Anthony,<br>
&gt;<br>
&gt; ok, here the console output. There were no purple lines<br>
&gt;<br>
&gt; 2008-10-29 09:04:57 [DEBUG] switch_core_state_machine.c:144<br>
&gt; switch_core_standard_on_execute()<br>
&gt; sofia/softswitch_side/<a href="mailto:031152112850@sip1.ewetel.net">031152112850@sip1.ewetel.net</a> Execute<br>
&gt; bridge(OpenZAP/1/a/44180002850)<br>
&gt; 2008-10-29 09:04:57 [DEBUG] ozmod_ss7_boost.c:225<br>
&gt; ss7_boost_channel_request() TX EVENT: CALL_START:(80) [w1g1] CSid=2<br>
&gt; Seq=1 Cn=[hk] Cd=[44180002850] Ci=[31152112850]<br>
&gt; 2008-10-29 09:04:58 [DEBUG] sofia.c:2269 sofia_handle_sip_i_state()<br>
&gt; Channel sofia/softswitch_side/<a href="mailto:031152112850@sip1.ewetel.net">031152112850@sip1.ewetel.net</a> entering<br>
&gt; state [terminated]<br>
&gt; 2008-10-29 09:04:58 [NOTICE] sofia.c:2765 sofia_handle_sip_i_state()<br>
&gt; Hangup sofia/softswitch_side/<a href="mailto:031152112850@sip1.ewetel.net">031152112850@sip1.ewetel.net</a> [CS_EXECUTE]<br>
&gt; [ORIGINATOR_CANCEL]<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_channel.c:1449<br>
&gt; switch_channel_perform_hangup() Send signal<br>
&gt; sofia/softswitch_side/<a href="mailto:031152112850@sip1.ewetel.net">031152112850@sip1.ewetel.net</a> [KILL]<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_core_session.c:727<br>
&gt; switch_core_session_signal_state_change() Send signal<br>
&gt; sofia/softswitch_side/<a href="mailto:031152112850@sip1.ewetel.net">031152112850@sip1.ewetel.net</a> [BREAK]<br>
&gt; 2008-10-29 09:04:58 [DEBUG] ozmod_ss7_boost.c:933 zap_ss7_boost_run() RX<br>
&gt; EVENT (N): CALL_START_ACK:(81) [w1g30] Rc=0 CSid=2 Seq=3<br>
&gt; 2008-10-29 09:04:58 [DEBUG] ss7_boost_client.c:300<br>
&gt; __ss7bc_connection_read() Rx sync ok<br>
&gt; 2008-10-29 09:04:58 [DEBUG] ozmod_ss7_boost.c:297<br>
&gt; handle_call_start_ack() Assign chan 1:29 (1:30) CSid=2<br>
&gt; 2008-10-29 09:04:58 [CRIT] ozmod_ss7_boost.c:245<br>
&gt; ss7_boost_channel_request() setting init state to progress_media<br>
&gt; 2008-10-29 09:04:58 [DEBUG] mod_openzap.c:340 tech_init() Set codec PCMA<br>
&gt; 20ms<br>
&gt; 2008-10-29 09:04:58 [DEBUG] mod_openzap.c:1022<br>
&gt; channel_outgoing_channel() Connect outbound channel OpenZAP/1:29/44180002850<br>
&gt; 2008-10-29 09:04:58 [NOTICE] switch_channel.c:553<br>
&gt; switch_channel_set_name() New Channel OpenZAP/1:29/44180002850<br>
&gt; [a231e1ef-2cfc-4de2-ab73-2175c184dff5]<br>
&gt; 2008-10-29 09:04:58 [DEBUG] mod_openzap.c:1031<br>
&gt; channel_outgoing_channel() (OpenZAP/1:29/44180002850) State Change<br>
&gt; CS_NEW -&gt; CS_INIT<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_core_session.c:727<br>
&gt; switch_core_session_signal_state_change() Send signal<br>
&gt; OpenZAP/1:29/44180002850 [BREAK]<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_ivr_originate.c:1598<br>
&gt; switch_ivr_originate() Originate Cancelled by originator termination<br>
&gt; Cause: 487 [ORIGINATOR_CANCEL]<br>
&gt; 2008-10-29 09:04:58 [NOTICE] switch_ivr_originate.c:1637<br>
&gt; switch_ivr_originate() Hangup OpenZAP/1:29/44180002850 [CS_INIT]<br>
&gt; [ORIGINATOR_CANCEL]<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_channel.c:1449<br>
&gt; switch_channel_perform_hangup() Send signal OpenZAP/1:29/44180002850 [KILL]<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_core_session.c:727<br>
&gt; switch_core_session_signal_state_change() Send signal<br>
&gt; OpenZAP/1:29/44180002850 [BREAK]<br>
&gt; 2008-10-29 09:04:58 [INFO] mod_dptools.c:1843 audio_bridge_function()<br>
&gt; Originate Failed. &nbsp;Cause: ORIGINATOR_CANCEL<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_core_state_machine.c:432<br>
&gt; switch_core_session_run()<br>
&gt; (sofia/softswitch_side/<a href="mailto:031152112850@sip1.ewetel.net">031152112850@sip1.ewetel.net</a>) State EXECUTE going<br>
&gt; to sleep<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_core_state_machine.c:367<br>
&gt; switch_core_session_run()<br>
&gt; (sofia/softswitch_side/<a href="mailto:031152112850@sip1.ewetel.net">031152112850@sip1.ewetel.net</a>) Running State<br>
&gt; Change CS_HANGUP<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_core_state_machine.c:395<br>
&gt; switch_core_session_run()<br>
&gt; (sofia/softswitch_side/<a href="mailto:031152112850@sip1.ewetel.net">031152112850@sip1.ewetel.net</a>) State HANGUP<br>
&gt; 2008-10-29 09:04:58 [DEBUG] mod_sofia.c:276 sofia_on_hangup() Channel<br>
&gt; sofia/softswitch_side/<a href="mailto:031152112850@sip1.ewetel.net">031152112850@sip1.ewetel.net</a> hanging up, cause:<br>
&gt; ORIGINATOR_CANCEL<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_core_state_machine.c:46<br>
&gt; switch_core_standard_on_hangup()<br>
&gt; sofia/softswitch_side/<a href="mailto:031152112850@sip1.ewetel.net">031152112850@sip1.ewetel.net</a> Standard HANGUP,<br>
&gt; cause: ORIGINATOR_CANCEL<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_core_state_machine.c:395<br>
&gt; switch_core_session_run()<br>
&gt; (sofia/softswitch_side/<a href="mailto:031152112850@sip1.ewetel.net">031152112850@sip1.ewetel.net</a>) State HANGUP going<br>
&gt; to sleep<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_core_session.c:860<br>
&gt; switch_core_session_thread() Session 3<br>
&gt; (sofia/softswitch_side/<a href="mailto:031152112850@sip1.ewetel.net">031152112850@sip1.ewetel.net</a>) Locked, Waiting on<br>
&gt; external entities<br>
&gt; 2008-10-29 09:04:58 [NOTICE] switch_core_session.c:878<br>
&gt; switch_core_session_thread() Session 3<br>
&gt; (sofia/softswitch_side/<a href="mailto:031152112850@sip1.ewetel.net">031152112850@sip1.ewetel.net</a>) Ended<br>
&gt; 2008-10-29 09:04:58 [NOTICE] switch_core_session.c:880<br>
&gt; switch_core_session_thread() Close Channel<br>
&gt; sofia/softswitch_side/<a href="mailto:031152112850@sip1.ewetel.net">031152112850@sip1.ewetel.net</a> [CS_HANGUP]<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_core_state_machine.c:367<br>
&gt; switch_core_session_run() (OpenZAP/1:29/44180002850) Running State<br>
&gt; Change CS_HANGUP<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_core_state_machine.c:395<br>
&gt; switch_core_session_run() (OpenZAP/1:29/44180002850) State HANGUP<br>
&gt; 2008-10-29 09:04:58 [DEBUG] mod_openzap.c:476 channel_on_hangup()<br>
&gt; OpenZAP/1:29/44180002850 CHANNEL HANGUP<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_core_state_machine.c:46<br>
&gt; switch_core_standard_on_hangup() OpenZAP/1:29/44180002850 Standard<br>
&gt; HANGUP, cause: ORIGINATOR_CANCEL<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_core_state_machine.c:395<br>
&gt; switch_core_session_run() (OpenZAP/1:29/44180002850) State HANGUP going<br>
&gt; to sleep<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_core_session.c:860<br>
&gt; switch_core_session_thread() Session 4 (OpenZAP/1:29/44180002850)<br>
&gt; Locked, Waiting on external entities<br>
&gt; 2008-10-29 09:04:58 [NOTICE] switch_core_session.c:878<br>
&gt; switch_core_session_thread() Session 4 (OpenZAP/1:29/44180002850) Ended<br>
&gt; 2008-10-29 09:04:58 [NOTICE] switch_core_session.c:880<br>
&gt; switch_core_session_thread() Close Channel OpenZAP/1:29/44180002850<br>
&gt; [CS_HANGUP]<br>
&gt; 2008-10-29 09:04:58 [DEBUG] switch_core_codec.c:76<br>
&gt; switch_core_session_set_read_codec() resetting to uninitilized codec,<br>
&gt; setting to NULL<br>
&gt; 2008-10-29 09:05:07 [DEBUG] ozmod_ss7_boost.c:933 zap_ss7_boost_run() RX<br>
&gt; EVENT (N): CALL_STOPPED:(85) [w1g31] Rc=16 CSid=1 Seq=4<br>
&gt; 2008-10-29 09:05:07 [DEBUG] ss7_boost_client.c:300<br>
&gt; __ss7bc_connection_read() Rx sync ok<br>
&gt; 2008-10-29 09:05:07 [DEBUG] ozmod_ss7_boost.c:409 handle_call_stop()<br>
&gt; Changing state on 1:30 from DOWN to TERMINATING<br>
&gt; 2008-10-29 09:05:07 [DEBUG] ozmod_ss7_boost.c:645 state_advance() 1:30<br>
&gt; STATE [TERMINATING]<br>
&gt; 2008-10-29 09:05:07 [DEBUG] mod_openzap.c:1439 on_clear_channel_signal()<br>
&gt; got clear channel sig [STOP]<br>
&gt; 2008-10-29 09:05:07 [DEBUG] ozmod_ss7_boost.c:783 state_advance()<br>
&gt; Changing state on 1:30 from TERMINATING to HANGUP_COMPLETE<br>
&gt; 2008-10-29 09:05:07 [DEBUG] ss7_boost_client.c:216 ss7bc_exec_command()<br>
&gt; TX EVENT (N): CALL_STOPPED_ACK:(86) [w1g31] Rc=0 CSid=0 Seq=2<br>
&gt; 2008-10-29 09:05:07 [DEBUG] ozmod_ss7_boost.c:645 state_advance() 1:30<br>
&gt; STATE [HANGUP_COMPLETE]<br>
&gt; 2008-10-29 09:05:07 [DEBUG] ozmod_ss7_boost.c:737 state_advance()<br>
&gt; Changing state on 1:30 from HANGUP_COMPLETE to DOWN<br>
&gt; 2008-10-29 09:05:07 [DEBUG] ozmod_ss7_boost.c:645 state_advance() 1:30<br>
&gt; STATE [DOWN]<br>
&gt; 2008-10-29 09:05:07 [DEBUG] zap_io.c:1124 zap_channel_done() channel<br>
&gt; done 1:30<br>
&gt; 2008-10-29 09:05:12 [DEBUG] ozmod_ss7_boost.c:933 zap_ss7_boost_run() RX<br>
&gt; EVENT (N): CALL_ANSWERED:(84) [w1g30] Rc=0 CSid=2 Seq=5<br>
&gt; 2008-10-29 09:05:12 [DEBUG] ss7_boost_client.c:300<br>
&gt; __ss7bc_connection_read() Rx sync ok<br>
&gt; 2008-10-29 09:05:36 [DEBUG] ozmod_ss7_boost.c:933 zap_ss7_boost_run() RX<br>
&gt; EVENT (N): CALL_STOPPED:(85) [w1g30] Rc=16 CSid=2 Seq=6<br>
&gt; 2008-10-29 09:05:36 [DEBUG] ss7_boost_client.c:300<br>
&gt; __ss7bc_connection_read() Rx sync ok<br>
&gt; 2008-10-29 09:05:36 [DEBUG] ozmod_ss7_boost.c:409 handle_call_stop()<br>
&gt; Changing state on 1:29 from DOWN to TERMINATING<br>
&gt; 2008-10-29 09:05:36 [DEBUG] ozmod_ss7_boost.c:645 state_advance() 1:29<br>
&gt; STATE [TERMINATING]<br>
&gt; 2008-10-29 09:05:36 [DEBUG] mod_openzap.c:1439 on_clear_channel_signal()<br>
&gt; got clear channel sig [STOP]<br>
&gt; 2008-10-29 09:05:36 [DEBUG] ozmod_ss7_boost.c:783 state_advance()<br>
&gt; Changing state on 1:29 from TERMINATING to HANGUP_COMPLETE<br>
&gt; 2008-10-29 09:05:36 [DEBUG] ss7_boost_client.c:216 ss7bc_exec_command()<br>
&gt; TX EVENT (N): CALL_STOPPED_ACK:(86) [w1g30] Rc=0 CSid=0 Seq=3<br>
&gt; 2008-10-29 09:05:36 [DEBUG] ozmod_ss7_boost.c:645 state_advance() 1:29<br>
&gt; STATE [HANGUP_COMPLETE]<br>
&gt; 2008-10-29 09:05:36 [DEBUG] ozmod_ss7_boost.c:737 state_advance()<br>
&gt; Changing state on 1:29 from HANGUP_COMPLETE to DOWN<br>
&gt; 2008-10-29 09:05:36 [DEBUG] ozmod_ss7_boost.c:645 state_advance() 1:29<br>
&gt; STATE [DOWN]<br>
&gt; 2008-10-29 09:05:36 [DEBUG] zap_io.c:1124 zap_channel_done() channel<br>
&gt; done 1:29<br>
&gt;<br>
&gt;<br>
&gt; Anthony Minessale schrieb:<br>
&gt;&gt; can you add more debug to the following places (with your patch disabled)<br>
&gt;<br>
&gt;&gt; ozmod_ss7_boost.c:245<br>
&gt;&gt; zap_log(ZAP_LOG_CRIT, &quot;setting init state to progress_media\n&quot;);<br>
&gt;<br>
&gt;&gt; zap_io.c:999<br>
&gt;&gt; zap_log(ZAP_LOG_CRIT, &quot;init_state=%d\n&quot;, zchan-&gt;init_state);<br>
&gt;<br>
&gt;<br>
&gt;&gt; mod_openzap.c:368<br>
&gt;&gt; zap_log(ZAP_LOG_CRIT, &quot;calling zap_channel_init\n&quot;);<br>
&gt;<br>
&gt;<br>
&gt;&gt; also look for any purple veto lines during the call.<br>
<br>
</div></div><div class="Ih2E3d">_______________________________________________<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>
<br>
<br>
</div><div class="Ih2E3d">-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (MingW32)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br>
<br>
</div>iEYEARECAAYFAkkKrYsACgkQ4tZeNddg3dwvLwCdG43Mip83jsdE/NDL5Ujn2jcQ<br>
1BUAniUk54jKjjoelXl9JHxOEH4sT/0g<br>
=tzIY<br>
<div><div></div><div class="Wj3C7c">-----END PGP SIGNATURE-----<br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>