<div dir="ltr">try latest trunk<br><br><div class="gmail_quote">On Sun, Sep 14, 2008 at 1:02 PM, faraz khan <span dir="ltr">&lt;<a href="mailto:faraz.khan@emergen.biz">faraz.khan@emergen.biz</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;">
I have a Digium TDM400p and im using Zaptel <a href="http://1.4.12.1" target="_blank">1.4.12.1</a>. My problem is that<br>
calls between FXS channels get hung up almost immediately. I dont seem<br>
to understand why.It does not look like a freeswitch issue, maybe a<br>
openzap problem- maybe its using some sort of tone detection? Any help<br>
would be appreciated. Relevant lines from the logs are:<br>
<br>
2008-09-14 22:57:04 [DEBUG] ozmod_analog.c:388 zap_analog_channel_run()<br>
Executing state handler on 2:1 for RING<br>
2008-09-14 22:57:12 [DEBUG] ozmod_analog.c:713 process_event() EVENT<br>
[OFFHOOK][3:1] STATE [GENRING]<br>
2008-09-14 22:57:12 [DEBUG] ozmod_analog.c:776 process_event() Changing<br>
state on 3:1 from GENRING to UP<br>
2008-09-14 22:57:12 [DEBUG] ozmod_analog.c:388 zap_analog_channel_run()<br>
Executing state handler on 3:1 for UP<br>
2008-09-14 22:57:12 [DEBUG] mod_openzap.c:1147 on_fxs_signal() got FXS<br>
sig [UP]<br>
2008-09-14 22:57:12 [DEBUG] switch_channel.c:1560<br>
switch_channel_perform_mark_answered() Kill OpenZAP/2:1/3 [BREAK]<br>
2008-09-14 22:57:12 [NOTICE] mod_openzap.c:1155 on_fxs_signal() Channel<br>
[OpenZAP/3:1/3/1] has been answered<br>
2008-09-14 22:57:12 [WARNING] mod_openzap.c:786<br>
channel_receive_message_fxs() VETO Changing state on 2:1 from RING to UP<br>
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:435<br>
switch_core_session_receive_message() Kill OpenZAP/2:1/3 [BREAK]<br>
2008-09-14 22:57:12 [NOTICE] switch_ivr_originate.c:1342<br>
switch_ivr_originate() Channel [OpenZAP/2:1/3] has been answered<br>
2008-09-14 22:57:12 [DEBUG] switch_ivr_originate.c:1380<br>
switch_ivr_originate() Originate Resulted in Success: [OpenZAP/3:1/3/1]<br>
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:435<br>
switch_core_session_receive_message() Kill OpenZAP/3:1/3/1 [BREAK]<br>
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:435<br>
switch_core_session_receive_message() Kill OpenZAP/2:1/3 [BREAK]<br>
2008-09-14 22:57:12 [DEBUG] switch_ivr_bridge.c:845<br>
switch_ivr_multi_threaded_bridge() OpenZAP/3:1/3/1 State Change<br>
CS_CONSUME_MEDIA -&gt; CS_EXCHANGE_MEDIA<br>
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:727<br>
switch_core_session_signal_state_change() Kill OpenZAP/3:1/3/1 [BREAK]<br>
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:442<br>
switch_core_session_run() (OpenZAP/3:1/3/1) State CONSUME_MEDIA going to<br>
sleep<br>
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:365<br>
switch_core_session_run() OpenZAP/3:1/3/1 Running State Change<br>
CS_EXCHANGE_MEDIA<br>
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:433<br>
switch_core_session_run() (OpenZAP/3:1/3/1) State EXCHANGE_MEDIA<br>
2008-09-14 22:57:12 [DEBUG] mod_openzap.c:503<br>
channel_on_exchange_media() CHANNEL EXCHANGE_MEDIA<br>
2008-09-14 22:57:12 [DEBUG] switch_ivr_bridge.c:337<br>
audio_bridge_thread() OpenZAP/2:1/3 ending bridge by request from read<br>
function<br>
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:435<br>
switch_core_session_receive_message() Kill OpenZAP/2:1/3 [BREAK]<br>
2008-09-14 22:57:12 [DEBUG] switch_ivr_bridge.c:410<br>
audio_bridge_thread() Kill OpenZAP/3:1/3/1 [BREAK]<br>
2008-09-14 22:57:12 [DEBUG] switch_ivr_bridge.c:413<br>
audio_bridge_thread() BRIDGE THREAD DONE [OpenZAP/2:1/3]<br>
2008-09-14 22:57:12 [DEBUG] switch_ivr_bridge.c:851<br>
switch_ivr_multi_threaded_bridge() OpenZAP/3:1/3/1 State Change<br>
CS_EXCHANGE_MEDIA -&gt; CS_RESET<br>
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:727<br>
switch_core_session_signal_state_change() Kill OpenZAP/3:1/3/1 [BREAK]<br>
2008-09-14 22:57:12 [NOTICE] switch_core_state_machine.c:157<br>
switch_core_standard_on_execute() Hangup OpenZAP/2:1/3 [CS_EXECUTE]<br>
[NORMAL_CLEARING]<br>
2008-09-14 22:57:12 [DEBUG] switch_channel.c:1381<br>
switch_channel_perform_hangup() Kill OpenZAP/2:1/3 [KILL]<br>
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:727<br>
switch_core_session_signal_state_change() Kill OpenZAP/2:1/3 [BREAK]<br>
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:430<br>
switch_core_session_run() (OpenZAP/2:1/3) State EXECUTE going to sleep<br>
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:365<br>
switch_core_session_run() OpenZAP/2:1/3 Running State Change CS_HANGUP<br>
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:393<br>
switch_core_session_run() (OpenZAP/2:1/3) State HANGUP<br>
2008-09-14 22:57:12 [DEBUG] mod_openzap.c:432 channel_on_hangup()<br>
Changing state on 2:1 from RING to HANGUP<br>
2008-09-14 22:57:12 [DEBUG] mod_openzap.c:465 channel_on_hangup()<br>
OpenZAP/2:1/3 CHANNEL HANGUP<br>
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:46<br>
switch_core_standard_on_hangup() Standard HANGUP OpenZAP/2:1/3, cause:<br>
NORMAL_CLEARING<br>
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:393<br>
switch_core_session_run() (OpenZAP/2:1/3) State HANGUP going to sleep<br>
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:794<br>
switch_core_session_thread() Session 1 (OpenZAP/2:1/3) Locked, Waiting<br>
on external entities<br>
2008-09-14 22:57:12 [DEBUG] ozmod_analog.c:388 zap_analog_channel_run()<br>
Executing state handler on 2:1 for HANGUP<br>
<br>
<br>
zaptel.conf says:<br>
<br>
fxoks = 1,3-4<br>
fxsks = 2<br>
<br>
my openzap.conf and openzap.conf.xml are straight from the wiki example.<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Faraz R Khan<br>
Cheif Architect<br>
Emergen Consulting<br>
+92.21.529.0381 x200<br>
<a href="http://www.emergen.biz" target="_blank">www.emergen.biz</a><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>
</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>
</div>