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.miness...@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 <shiya...@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/1...@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/1...@192.168.147.130 [BREAK]
>> 2009-07-09 05:58:26.641307 [DEBUG] switch_ivr_bridge.c:1167
>> (sofia/internal/1...@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
>>
>> freeswi...@localhost.localdomain> 2009-07-09 05:58:26.674348 [DEBUG]
>> switch_core_session.c:933 Send signal
>> sofia/internal/1...@master.agent.starpoundtec
>> 2009-07-09 05:58:26.714809 [DEBUG] switch_core_session.c:813 Send signal
>> sofia/internal/1...@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/1...@master.agent.starpoundtech.net [BREAK]
>>
>> (FS version is 1.0.4)
>>
>> Any thoughts?
>>
>>
>> Artem
>>
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users@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_miness...@hotmail.com <msn%3aanthony_miness...@hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com<paypal%3aanthony.miness...@gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:8...@conference.freeswitch.org <sip%3a...@conference.freeswitch.org>
> iax:gu...@conference.freeswitch.org/888
> googletalk:conf+...@conference.freeswitch.org<googletalk%3aconf%2b...@conference.freeswitch.org>
> pstn:213-799-1400
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to