[Freeswitch-users] uuid_bridge kills both channels if they are executing java app
Artem Shiyanov
shiyanov at gmail.com
Sat Nov 21 01:58:29 PST 2009
Anthony,
>>As soon as you call uuid_bridge you are transferring both legs of the call
to bridge to each other.
>>This means your java app must exit so the channels can connect to each
other.
I didn't know that. Now my java app is exiting upon the onHangup() call so
everything has become "ok". Thank you much.
I'll add note to the wiki about this issue.
Artem
On Fri, Nov 20, 2009 at 5:49 AM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:
> Your "annoying behaviour" is the exact behavior you should be getting
> considering what you told FS to do.
>
> As soon as you call uuid_bridge you are transferring both legs of the call
> to bridge to each other.
> This means your java app must exit so the channels can connect to each
> other.
>
> remember that you hangup hook can be called when the channel is transferred
> not only when it hangs up.
> you have to test which is happening based on the input to your callback.
>
>
> On Thu, Nov 19, 2009 at 1:46 PM, Artem Shiyanov <shiyanov at gmail.com>wrote:
>
>> Hi there!
>>
>> I've got annoying FS behavior:
>> There are 2 channels executing the same Java application (application
>> itself is an IVR). If I try to bridge them with uuid_bridged then both
>> channels are killed. Here is a log from FS console:
>> uuid_bridge 68587a9d-1d20-48f1-bdfc-72a2c027e1d2
>> 7d6c08fc-62bf-4a6c-a9ae-763d607e43de
>> 2009-07-09 05:58:26.562783 [DEBUG] switch_ivr_bridge.c:1165
>> (sofia/internal/1005 at 192.168.147.130) State Change CS_EXECUTE ->
>> CS_HIBERNATE
>> 2009-07-09 05:58:26.562783 [DEBUG] switch_cpp.cpp:1185 hangup_hook called
>> 2009-07-09 05:58:26.562783 [DEBUG] switch_ivr_play_say.c:1391 done playing
>> file
>> 2009-07-09 05:58:26.576844 [DEBUG] switch_ivr_play_say.c:1391 done playing
>> file
>> 2009-07-09 05:58:26.641307 [DEBUG] switch_core_session.c:933 Send signal
>> sofia/internal/1005 at 192.168.147.130 [BREAK]
>> 2009-07-09 05:58:26.641307 [DEBUG] switch_ivr_bridge.c:1167
>> (sofia/internal/1001 at master.agent.starpoundtech.net) State Change
>> CS_EXECUTE -> CS_HIBERNATE
>> 2009-07-09 05:58:26.641307 [DEBUG] switch_cpp.cpp:1185 hangup_hook called
>> API CALL [uuid_bridge(68587a9d-1d20-48f1-bdfc-72a2c027e1d2
>> 7d6c08fc-62bf-4a6c-a9ae-763d607e43de)] output:
>> +OK 7d6c08fc-62bf-4a6c-a9ae-763d607e43de
>>
>> freeswitch at localhost.localdomain> 2009-07-09 05:58:26.674348 [DEBUG]
>> switch_core_session.c:933 Send signal
>> sofia/internal/1001 at master.agent.starpoundtec
>> 2009-07-09 05:58:26.714809 [DEBUG] switch_core_session.c:813 Send signal
>> sofia/internal/1005 at 192.168.147.130 [BREAK]
>>
>> 2009-07-09 05:58:26.742764 [CRIT] mod_local_stream.c:234 Leaking stream
>> handle! [switch_ivr_play_file() src/switch_ivr_play_say.c:1026]
>> 2009-07-09 05:58:26.754791 [DEBUG] switch_core_session.c:813 Send signal
>> sofia/internal/1001 at master.agent.starpoundtech.net [BREAK]
>>
>> (FS version is 1.0.4)
>>
>> Any thoughts?
>>
>>
>> Artem
>>
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:213-799-1400
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091121/78ead067/attachment-0002.html
More information about the FreeSWITCH-users
mailing list