[Freeswitch-users] (no subject)
Adeel Ansari
adeel.gnome at gmail.com
Mon Aug 18 21:52:38 PDT 2008
Sound.
Now the code looks like,
====
CoreSession session = null;
CoreSession newSession1 = null;
try {
session = new JavaSession(uuid);
newSession1 = new JavaSession();
session.originate(newSession1,
"sofia/gateway/gizmo/01160176905074");
session.waitForAnswer(newSession1);
if (newSession1.ready() && session.ready()) {
freeswitch.bridge(session, newSession1);
}
freeswitch.console_log("notice", "***********Babies!\n");
newSession1.hangup();
} finally {
if (session != null) {
session.delete();
}
}
=====
Error improved slightly, I suppose. :)
=======
UUID: 556a126e-6daa-11dd-b2b1-9ba07a457500 ARGS:
2008-08-19 12:50:23 [NOTICE] switch_channel.c:535 switch_channel_set_name()
New Channel sofia/external/01160176905074
[5573124c-6daa-11dd-b2b1-9ba07a457500]
2008-08-19 12:50:24 [NOTICE] sofia.c:2561 sofia_handle_sip_i_state() Hangup
sofia/external/01160176905074 [CS_CONSUME_MEDIA] [NORMAL_UNSPECIFIED]
2008-08-19 12:50:24 [WARNING] switch_cpp.cpp:889 originate() Error Creating
Outgoing Channel! [sofia/gateway/gizmo/01160176905074]
2008-08-19 12:50:24 [ERR] switch_cpp.cpp:974 waitForAnswer() session is not
initalized
2008-08-19 12:50:24 [ERR] switch_cpp.cpp:835 ready() session is not
initalized
2008-08-19 12:50:24 [ERR] switch_cpp.cpp:529 hangup() session is not
initalized
2008-08-19 12:50:24 [NOTICE] switch_core_state_machine.c:157
switch_core_standard_on_execute() Hangup
sofia/internal/1001 at 192.168.253.101[CS_EXECUTE] [NORMAL_CLEARING]
2008-08-19 12:50:24 [NOTICE] switch_core_session.c:812
switch_core_session_thread() Session 2 (sofia/external/01160176905074) Ended
2008-08-19 12:50:24 [NOTICE] switch_core_session.c:814
switch_core_session_thread() Close Channel sofia/external/01160176905074
[CS_HANGUP]
=========
On Tue, Aug 19, 2008 at 12:35 PM, Brian West <brian at freeswitch.org> wrote:
> Also if you're calling thru gizmo its
> sofia/gateway/gizmo/01160176905074 <01160176905074 at proxy01.sipphone.com>
>
> As proxy01 and all that are set on the gateway.
>
> /b
>
> On Aug 18, 2008, at 11:27 PM, Adeel Ansari wrote:
>
> sofia/sip/gizmo/01160176905074 at proxy01.sipphone.com
>
>
>
> _______________________________________________
> 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
>
>
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080819/3da066c5/attachment-0002.html
More information about the FreeSWITCH-users
mailing list