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 <[email protected]> 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/[email protected]) 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/[email protected] [BREAK]
> 2009-07-09 05:58:26.641307 [DEBUG] switch_ivr_bridge.c:1167
> (sofia/internal/[email protected]) 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
>
> [email protected]> 2009-07-09 05:58:26.674348 [DEBUG]
> switch_core_session.c:933 Send signal
> sofia/internal/[email protected]
> 2009-07-09 05:58:26.714809 [DEBUG] switch_core_session.c:813 Send signal
> sofia/internal/[email protected] [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/[email protected] [BREAK]
>
> (FS version is 1.0.4)
>
> Any thoughts?
>
>
> Artem
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> [email protected]
> 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:[email protected] <msn%[email protected]>
GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected] <sip%[email protected]>
iax:[email protected]/888
googletalk:[email protected]<googletalk%3aconf%[email protected]>
pstn:213-799-1400
_______________________________________________
FreeSWITCH-users mailing list
[email protected]
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