[Freeswitch-users] Openzap FXS Ports keep hanging up!

faraz khan faraz.khan at emergen.biz
Sun Sep 14 14:02:41 EDT 2008


I have a Digium TDM400p and im using Zaptel 1.4.12.1. My problem is that 
calls between FXS channels get hung up almost immediately. I dont seem 
to understand why.It does not look like a freeswitch issue, maybe a 
openzap problem- maybe its using some sort of tone detection? Any help 
would be appreciated. Relevant lines from the logs are:

2008-09-14 22:57:04 [DEBUG] ozmod_analog.c:388 zap_analog_channel_run() 
Executing state handler on 2:1 for RING
2008-09-14 22:57:12 [DEBUG] ozmod_analog.c:713 process_event() EVENT 
[OFFHOOK][3:1] STATE [GENRING]
2008-09-14 22:57:12 [DEBUG] ozmod_analog.c:776 process_event() Changing 
state on 3:1 from GENRING to UP
2008-09-14 22:57:12 [DEBUG] ozmod_analog.c:388 zap_analog_channel_run() 
Executing state handler on 3:1 for UP
2008-09-14 22:57:12 [DEBUG] mod_openzap.c:1147 on_fxs_signal() got FXS 
sig [UP]
2008-09-14 22:57:12 [DEBUG] switch_channel.c:1560 
switch_channel_perform_mark_answered() Kill OpenZAP/2:1/3 [BREAK]
2008-09-14 22:57:12 [NOTICE] mod_openzap.c:1155 on_fxs_signal() Channel 
[OpenZAP/3:1/3/1] has been answered
2008-09-14 22:57:12 [WARNING] mod_openzap.c:786 
channel_receive_message_fxs() VETO Changing state on 2:1 from RING to UP
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:435 
switch_core_session_receive_message() Kill OpenZAP/2:1/3 [BREAK]
2008-09-14 22:57:12 [NOTICE] switch_ivr_originate.c:1342 
switch_ivr_originate() Channel [OpenZAP/2:1/3] has been answered
2008-09-14 22:57:12 [DEBUG] switch_ivr_originate.c:1380 
switch_ivr_originate() Originate Resulted in Success: [OpenZAP/3:1/3/1]
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:435 
switch_core_session_receive_message() Kill OpenZAP/3:1/3/1 [BREAK]
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:435 
switch_core_session_receive_message() Kill OpenZAP/2:1/3 [BREAK]
2008-09-14 22:57:12 [DEBUG] switch_ivr_bridge.c:845 
switch_ivr_multi_threaded_bridge() OpenZAP/3:1/3/1 State Change 
CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:727 
switch_core_session_signal_state_change() Kill OpenZAP/3:1/3/1 [BREAK]
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:442 
switch_core_session_run() (OpenZAP/3:1/3/1) State CONSUME_MEDIA going to 
sleep
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:365 
switch_core_session_run() OpenZAP/3:1/3/1 Running State Change 
CS_EXCHANGE_MEDIA
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:433 
switch_core_session_run() (OpenZAP/3:1/3/1) State EXCHANGE_MEDIA
2008-09-14 22:57:12 [DEBUG] mod_openzap.c:503 
channel_on_exchange_media() CHANNEL EXCHANGE_MEDIA
2008-09-14 22:57:12 [DEBUG] switch_ivr_bridge.c:337 
audio_bridge_thread() OpenZAP/2:1/3 ending bridge by request from read 
function
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:435 
switch_core_session_receive_message() Kill OpenZAP/2:1/3 [BREAK]
2008-09-14 22:57:12 [DEBUG] switch_ivr_bridge.c:410 
audio_bridge_thread() Kill OpenZAP/3:1/3/1 [BREAK]
2008-09-14 22:57:12 [DEBUG] switch_ivr_bridge.c:413 
audio_bridge_thread() BRIDGE THREAD DONE [OpenZAP/2:1/3]
2008-09-14 22:57:12 [DEBUG] switch_ivr_bridge.c:851 
switch_ivr_multi_threaded_bridge() OpenZAP/3:1/3/1 State Change 
CS_EXCHANGE_MEDIA -> CS_RESET
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:727 
switch_core_session_signal_state_change() Kill OpenZAP/3:1/3/1 [BREAK]
2008-09-14 22:57:12 [NOTICE] switch_core_state_machine.c:157 
switch_core_standard_on_execute() Hangup OpenZAP/2:1/3 [CS_EXECUTE] 
[NORMAL_CLEARING]
2008-09-14 22:57:12 [DEBUG] switch_channel.c:1381 
switch_channel_perform_hangup() Kill OpenZAP/2:1/3 [KILL]
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:727 
switch_core_session_signal_state_change() Kill OpenZAP/2:1/3 [BREAK]
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:430 
switch_core_session_run() (OpenZAP/2:1/3) State EXECUTE going to sleep
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:365 
switch_core_session_run() OpenZAP/2:1/3 Running State Change CS_HANGUP
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:393 
switch_core_session_run() (OpenZAP/2:1/3) State HANGUP
2008-09-14 22:57:12 [DEBUG] mod_openzap.c:432 channel_on_hangup() 
Changing state on 2:1 from RING to HANGUP
2008-09-14 22:57:12 [DEBUG] mod_openzap.c:465 channel_on_hangup() 
OpenZAP/2:1/3 CHANNEL HANGUP
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:46 
switch_core_standard_on_hangup() Standard HANGUP OpenZAP/2:1/3, cause: 
NORMAL_CLEARING
2008-09-14 22:57:12 [DEBUG] switch_core_state_machine.c:393 
switch_core_session_run() (OpenZAP/2:1/3) State HANGUP going to sleep
2008-09-14 22:57:12 [DEBUG] switch_core_session.c:794 
switch_core_session_thread() Session 1 (OpenZAP/2:1/3) Locked, Waiting 
on external entities
2008-09-14 22:57:12 [DEBUG] ozmod_analog.c:388 zap_analog_channel_run() 
Executing state handler on 2:1 for HANGUP


zaptel.conf says:

fxoks = 1,3-4
fxsks = 2

my openzap.conf and openzap.conf.xml are straight from the wiki example.





-- 
Faraz R Khan
Cheif Architect
Emergen Consulting
+92.21.529.0381 x200
www.emergen.biz



More information about the Freeswitch-users mailing list