[Freeswitch-users] Call Waiting not working!!!!!

Irshad Ahamed irshad.fswitch at gmail.com
Fri Jan 25 04:17:58 PST 2008


I have just verified. Call Waiting works fine with openzap @ rev 361 but it
is not working with the latest openzap trunk @ rev 379.

-Irshad.

On Jan 25, 2008 4:00 PM, Irshad Ahamed <irshad.fswitch at gmail.com> wrote:

> Hi,
>
> I am working on Freeswitch@ rev 7309. I remember with earlier revision
> call waiting was working fine. But now on getting the second incoming call
> FXS is returning 502 (BAD gateway error). Was there any change on FXS side
> pertaining to number of calls allowed or something???
>
> Freeswitch Log:
>
> 2008-01-25 15:48:17 [DEBUG] switch_core_state_machine.c:144
> switch_core_standard_on_execute() sofia/default/6502 at 192.168.2.51:5060
> Execute set(dialed_ext=6601)
> 2008-01-25 15:48:17 [DEBUG] mod_dptools.c:442 set_function() SET
> [dialed_ext]=[6601]
> 2008-01-25 15:48:17 [DEBUG] switch_core_state_machine.c:144
> switch_core_standard_on_execute() sofia/default/6502 at 192.168.2.51:5060
> Execute set(hangup_after_bridge=true)
> 2008-01-25 15:48:17 [DEBUG] mod_dptools.c:442 set_function() SET
> [hangup_after_bridge]=[true]
> 2008-01-25 15:48:17 [DEBUG] switch_core_state_machine.c:144
> switch_core_standard_on_execute() sofia/default/6502 at 192.168.2.51:5060
> Execute set(bypass_media=false)
> 2008-01-25 15:48:17 [DEBUG] mod_dptools.c:442 set_function() SET
> [bypass_media]=[false]
> 2008-01-25 15:48:17 [DEBUG] switch_core_state_machine.c:144
> switch_core_standard_on_execute() sofia/default/6502 at 192.168.2.51:5060
> Execute bridge(openzap/1/1)
> 2008-01-25 15:48:17 [ERR] mod_openzap.c:833 channel_outgoing_channel() No
> channels available
> 2008-01-25 15:48:17 [ERR] switch_ivr_originate.c:827
> switch_ivr_originate() Cannot Create Outgoing Channel! cause:
> DESTINATION_OUT_OF_ORDER
> 2008-01-25 15:48:17 [DEBUG] switch_ivr_originate.c:1226
> switch_ivr_originate() Originate Resulted in Error Cause: 27
> [DESTINATION_OUT_OF_ORDER]
> 2008-01-25 15:48:17 [INFO] mod_dptools.c:1325 audio_bridge_function()
> Originate Failed.  Cause: DESTINATION_OUT_OF_ORDER
> 2008-01-25 15:48:17 [NOTICE] mod_dptools.c:1352 audio_bridge_function()
> Hangup sofia/default/6502 at 192.168.2.51:5060 [CS_EXECUTE]
> [DESTINATION_OUT_OF_ORDER]
> 2008-01-25 15:48:17 [DEBUG] switch_channel.c:1317
> switch_channel_perform_hangup() Kill sofia/default/6502 at 192.168.2.51:5060
> [KILL]
> 2008-01-25 15:48:17 [DEBUG] switch_core_session.c:643
> switch_core_session_signal_state_change() Kill
> sofia/default/6502 at 192.168.2.51:5060 [BREAK]
> 2008-01-25 15:48:17 [DEBUG] switch_core_state_machine.c:413
> switch_core_session_run() sofia/default/6502 at 192.168.2.51:5060 Running
> State Change CS_HANGUP
> 2008-01-25 15:48:17 [DEBUG] switch_core_state_machine.c:439
> switch_core_session_run() (sofia/default/6502 at 192.168.2.51:5060) State
> HANGUP
> 2008-01-25 15:48:17 [DEBUG] mod_sofia.c:299 sofia_on_hangup() Channel
> sofia/default/6502 at 192.168.2.51:5060 hanging up, cause:
> DESTINATION_OUT_OF_ORDER
> 2008-01-25 15:48:17 [DEBUG] mod_sofia.c:332 sofia_on_hangup() Responding
> to INVITE with: 502
> 2008-01-25 15:48:17 [DEBUG] sofia.c:183 sofia_event_callback() event
> [nua_i_state] status [502][Call state] session:
> sofia/default/6502 at 192.168.2.51:5060
> 2008-01-25 15:48:17 [DEBUG] sofia.c:1430 sofia_handle_sip_i_state()
> Channel sofia/default/6502 at 192.168.2.51:5060 entering state [terminated]
> 2008-01-25 15:48:17 [DEBUG] switch_core_state_machine.c:45
> switch_core_standard_on_hangup() Standard HANGUP
> sofia/default/6502 at 192.168.2.51:5060, cause: DESTINATION_OUT_OF_ORDER
> 2008-01-25 15:48:17 [DEBUG] switch_core_session.c:701
> switch_core_session_thread() Session 3 (sofia/default/6502 at 192.168.2.51:5060)
> Locked, Waiting on external entities
> 2008-01-25 15:48:17 [NOTICE] switch_core_session.c:707
> switch_core_session_thread() Session 3 (sofia/default/6502 at 192.168.2.51:5060)
> Ended
> 2008-01-25 15:48:17 [NOTICE] switch_core_session.c:709
> switch_core_session_thread() Close Channel sofia/default/6502 at 192.168.2.51:5060
> [CS_HANGUP]
> 2008-01-25 15:48:36 [DEBUG] zap_analog.c:665 process_event() EVENT
> [ONHOOK][1:1] STATE [UP]
> 2008-01-25 15:48:36 [DEBUG] zap_analog.c:691 process_event() Changing
> state on 1:1 from UP to DOWN
> 2008-01-25 15:48:36 [DEBUG] zap_analog.c:351 zap_analog_channel_run()
> Executing state handler on 1:1 for DOWN
> 2008-01-25 15:48:36 [DEBUG] mod_openzap.c:1037 on_fxs_signal() got FXS sig
> [STOP]
> 2008-01-25 15:48:36 [NOTICE] mod_openzap.c:1115 on_fxs_signal() Hangup
> OpenZAP/777 [CS_EXECUTE] [NORMAL_CLEARING]
> 2008-01-25 15:48:36 [DEBUG] switch_channel.c:1317
> switch_channel_perform_hangup() Kill OpenZAP/777 [KILL]
> 2008-01-25 15:48:36 [DEBUG] switch_core_session.c:643
> switch_core_session_signal_state_change() Kill OpenZAP/777 [BREAK]
> 2008-01-25 15:48:36 [DEBUG] zap_analog.c:649 zap_analog_channel_run()
> ANALOG CHANNEL thread ended.
> 2008-01-25 15:48:36 [DEBUG] switch_ivr_bridge.c:186 audio_bridge_thread()
> read: OpenZAP/777 Bad Frame.... Bubye!
> 2008-01-25 15:48:36 [DEBUG] switch_core_session.c:358
> switch_core_session_receive_message() Kill OpenZAP/777 [BREAK]
> 2008-01-25 15:48:36 [DEBUG] switch_ivr_bridge.c:224 audio_bridge_thread()
> Kill sofia/default/777 at sipx.oneconv.com [BREAK]
> 2008-01-25 15:48:36 [DEBUG] switch_ivr_bridge.c:227 audio_bridge_thread()
> BRIDGE THREAD DONE [OpenZAP/777]
> 2008-01-25 15:48:36 [DEBUG] switch_ivr_bridge.c:693
> switch_ivr_multi_threaded_bridge() sofia/default/777 at sipx.oneconv.comState Change CS_LOOPBACK -> CS_RESET
> 2008-01-25 15:48:36 [DEBUG] switch_core_session.c:643
> switch_core_session_signal_state_change() Kill
> sofia/default/777 at sipx.oneconv.com [BREAK]
> 2008-01-25 15:48:36 [DEBUG] switch_core_state_machine.c:413
> switch_core_session_run() OpenZAP/777 Running State Change CS_HANGUP
> 2008-01-25 15:48:36 [DEBUG] switch_core_state_machine.c:439
> switch_core_session_run() (OpenZAP/777) State HANGUP
> 2008-01-25 15:48:36 [DEBUG] mod_openzap.c:418 channel_on_hangup()
> OpenZAP/777 CHANNEL HANGUP
> 2008-01-25 15:48:36 [DEBUG] switch_core_state_machine.c:45
> switch_core_standard_on_hangup() Standard HANGUP OpenZAP/777, cause:
> NORMAL_CLEARING
> 2008-01-25 15:48:36 [DEBUG] switch_core_session.c:701
> switch_core_session_thread() Session 1 (OpenZAP/777) Locked, Waiting on
> external entities
> 2008-01-25 15:48:36 [DEBUG] switch_ivr_bridge.c:180 audio_bridge_thread()
> write: OpenZAP/777 Bad Frame....[160] Bubye!
> 2008-01-25 15:48:36 [DEBUG] switch_core_session.c:358
> switch_core_session_receive_message() Kill
> sofia/default/777 at sipx.oneconv.com [BREAK]
> 2008-01-25 15:48:36 [DEBUG] switch_ivr_bridge.c:224 audio_bridge_thread()
> Kill OpenZAP/777 [BREAK]
> 2008-01-25 15:48:36 [DEBUG] switch_ivr_bridge.c:227 audio_bridge_thread()
> BRIDGE THREAD DONE [sofia/default/777 at sipx.oneconv.com]
> 2008-01-25 15:48:36 [NOTICE] switch_ivr_bridge.c:257
> audio_bridge_on_loopback() Hangup sofia/default/777 at sipx.oneconv.com[CS_RESET] [NORMAL_CLEARING]
> 2008-01-25 15:48:36 [NOTICE] switch_core_session.c:707
> switch_core_session_thread() Session 1 (OpenZAP/777) Ended
> 2008-01-25 15:48:36 [NOTICE] switch_core_session.c:709
> switch_core_session_thread() Close Channel OpenZAP/777 [CS_HANGUP]
> 2008-01-25 15:48:36 [DEBUG] switch_channel.c:1317
> switch_channel_perform_hangup() Kill sofia/default/777 at sipx.oneconv.com[KILL]
> 2008-01-25 15:48:36 [DEBUG] switch_core_session.c:643
> switch_core_session_signal_state_change() Kill sofia/default/777 at sipx.oneconv.com
> [BREAK]
> 2008-01-25 15:48:36 [DEBUG] switch_core_state_machine.c:413
> switch_core_session_run() sofia/default/777 at sipx.oneconv.com Running State
> Change CS_HANGUP
> 2008-01-25 15:48:36 [DEBUG] switch_core_state_machine.c:439
> switch_core_session_run() (sofia/default/777 at sipx.oneconv.com) State
> HANGUP
> 2008-01-25 15:48:36 [DEBUG] mod_sofia.c:299 sofia_on_hangup() Channel
> sofia/default/777 at sipx.oneconv.com hanging up, cause: NORMAL_CLEARING
> 2008-01-25 15:48:36 [DEBUG] mod_sofia.c:325 sofia_on_hangup() Sending BYE
> to sofia/default/777 at sipx.oneconv.com
> 2008-01-25 15:48:36 [DEBUG] switch_core_state_machine.c:45
> switch_core_standard_on_hangup() Standard HANGUP sofia/default/777 at sipx.oneconv.com
> , cause: NORMAL_CLEARING
> 2008-01-25 15:48:36 [DEBUG] switch_core_session.c:701
> switch_core_session_thread() Session 2 (sofia/default/777 at sipx.oneconv.com)
> Locked, Waiting on external entities
> 2008-01-25 15:48:36 [NOTICE] switch_core_session.c:707
> switch_core_session_thread() Session 2 (sofia/default/777 at sipx.oneconv.com)
> Ended
> 2008-01-25 15:48:36 [NOTICE] switch_core_session.c:709
> switch_core_session_thread() Close Channel
> sofia/default/777 at sipx.oneconv.com [CS_HANGUP]
>
>
>
> Thanks in advance...
>
> BR,
> Irshad.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080125/6dece46b/attachment-0002.html 


More information about the FreeSWITCH-users mailing list