[Freeswitch-users] Freeswitch hangup in Bria

Josh Bryant josh at cozecom.com
Mon Jul 11 05:00:35 MSD 2011


Hello,

I recently purchased Bria 3 for the Mac to connect to Freeswitch. It
registers fine and I'm able to originate a call from Freeswitch to Bria.
However, after playing a file using the playback command, Bria hangs up on
the call after about 30 seconds. Is this a problem with Freeswitch or Bria?
I have not had this problem with X-Lite or any other client.

I originate the call successfully:

api originate sofia/192.168.1.7/1000 &park()

----------

I playback a wave file successfully:

SendMsg 181e1211-3f4d-425a-b6dc-b5438494b156
call-command: execute
execute-app-name: playback
execute-app-arg: /Users/josh/coze/donuts.wav

Content-Type: command/reply
Reply-Text: +OK

--------------------------

Then the call drops after about 30 seconds. From the FS console log:

2011-07-10 20:56:20.928915 [DEBUG] switch_ivr.c:576 sofia/internal/bakery
Command Execute playback(/Users/josh/coze/donuts.wav)
EXECUTE sofia/internal/bakery playback(/Users/josh/coze/donuts.wav)
2011-07-10 20:56:20.969209 [DEBUG] switch_core_file.c:176 File
/Users/josh/coze/donuts.wav sample rate 22050 doesn't match requested rate
8000
2011-07-10 20:56:20.969209 [DEBUG] switch_ivr_play_say.c:1279 Codec
Activated L16 at 8000hz 1 channels 20ms
2011-07-10 20:56:24.276635 [DEBUG] switch_ivr_play_say.c:1649 done playing
file
2011-07-10 20:56:56.220375 [DEBUG] switch_core_session.c:855 Send signal
sofia/internal/bakery [BREAK]
2011-07-10 20:56:56.240485 [DEBUG] switch_channel.c:2729
(sofia/internal/bakery) Callstate Change ACTIVE -> HANGUP
2011-07-10 20:56:56.240485 [NOTICE] sofia.c:558 Hangup sofia/internal/bakery
[CS_EXECUTE] [NORMAL_CLEARING]
2011-07-10 20:56:56.240485 [DEBUG] switch_channel.c:2745 Send signal
sofia/internal/bakery [KILL]
2011-07-10 20:56:56.240485 [DEBUG] switch_core_session.c:1154 Send signal
sofia/internal/bakery [BREAK]
2011-07-10 20:56:56.240485 [DEBUG] switch_core_session.c:2127
sofia/internal/bakery skip receive message [APPLICATION_EXEC_COMPLETE]
(channel is hungup already)
2011-07-10 20:56:56.240485 [DEBUG] switch_core_state_machine.c:380
(sofia/internal/bakery) State EXECUTE going to sleep
2011-07-10 20:56:56.240485 [DEBUG] switch_core_state_machine.c:325
(sofia/internal/bakery) Running State Change CS_HANGUP
2011-07-10 20:56:56.240485 [DEBUG] switch_core_state_machine.c:575
(sofia/internal/bakery) State HANGUP
2011-07-10 20:56:56.240485 [DEBUG] mod_sofia.c:452 sofia/internal/bakery
Overriding SIP cause 480 with 200 from the other leg
2011-07-10 20:56:56.240485 [DEBUG] mod_sofia.c:458 Channel
sofia/internal/bakery hanging up, cause: NORMAL_CLEARING
2011-07-10 20:56:56.280671 [DEBUG] switch_core_state_machine.c:46
sofia/internal/bakery Standard HANGUP, cause: NORMAL_CLEARING
2011-07-10 20:56:56.280671 [DEBUG] switch_core_state_machine.c:575
(sofia/internal/bakery) State HANGUP going to sleep
2011-07-10 20:56:56.280671 [DEBUG] switch_core_state_machine.c:356
(sofia/internal/bakery) State Change CS_HANGUP -> CS_REPORTING
2011-07-10 20:56:56.280671 [DEBUG] switch_core_session.c:1154 Send signal
sofia/internal/bakery [BREAK]
2011-07-10 20:56:56.280671 [DEBUG] switch_core_state_machine.c:325
(sofia/internal/bakery) Running State Change CS_REPORTING
2011-07-10 20:56:56.280671 [DEBUG] switch_core_state_machine.c:635
(sofia/internal/bakery) State REPORTING
2011-07-10 20:56:56.280671 [DEBUG] switch_core_state_machine.c:53
sofia/internal/bakery Standard REPORTING, cause: NORMAL_CLEARING
2011-07-10 20:56:56.280671 [DEBUG] switch_core_state_machine.c:635
(sofia/internal/bakery) State REPORTING going to sleep
2011-07-10 20:56:56.280671 [DEBUG] switch_core_state_machine.c:350
(sofia/internal/bakery) State Change CS_REPORTING -> CS_DESTROY
2011-07-10 20:56:56.280671 [DEBUG] switch_core_session.c:1154 Send signal
sofia/internal/bakery [BREAK]
2011-07-10 20:56:56.280671 [DEBUG] switch_core_session.c:1326 Session 31
(sofia/internal/bakery) Locked, Waiting on external entities
2011-07-10 20:56:56.280671 [NOTICE] switch_core_session.c:1344 Session 31
(sofia/internal/bakery) Ended
2011-07-10 20:56:56.280671 [NOTICE] switch_core_session.c:1346 Close Channel
sofia/internal/bakery [CS_DESTROY]
2011-07-10 20:56:56.280671 [DEBUG] switch_core_state_machine.c:464
(sofia/internal/bakery) Callstate Change HANGUP -> DOWN
2011-07-10 20:56:56.280671 [DEBUG] switch_core_state_machine.c:467
(sofia/internal/bakery) Running State Change CS_DESTROY
2011-07-10 20:56:56.280671 [DEBUG] switch_core_state_machine.c:477
(sofia/internal/bakery) State DESTROY
2011-07-10 20:56:56.280671 [DEBUG] mod_sofia.c:363 sofia/internal/bakery
SOFIA DESTROY
2011-07-10 20:56:56.280671 [DEBUG] switch_core_state_machine.c:60
sofia/internal/bakery Standard DESTROY
2011-07-10 20:56:56.280671 [DEBUG] switch_core_state_machine.c:477
(sofia/internal/bakery) State DESTROY going to sleep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110710/7d38169f/attachment.html 


More information about the FreeSWITCH-users mailing list