<div dir="ltr">Sound.<br>Now the code looks like,<br><br>====<br> CoreSession session = null;<br> CoreSession newSession1 = null;<br> <br> try {<br> session = new JavaSession(uuid); <br>
newSession1 = new JavaSession();<br>
<br> session.originate(newSession1, "sofia/gateway/gizmo/01160176905074");<div dir="ltr"> <br><br> session.waitForAnswer(newSession1); <br>
if (newSession1.ready() && session.ready()) {<br> freeswitch.bridge(session, newSession1);<br> }<br><br> freeswitch.console_log("notice", "***********Babies!\n");<br>
newSession1.hangup();<br><br> } finally {<br> if (session != null) {<br> session.delete();<br> }<br> }</div>=====<br><br>Error improved slightly, I suppose. :)<br>
<br>=======<br>UUID: 556a126e-6daa-11dd-b2b1-9ba07a457500 ARGS:<br>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]<br>
2008-08-19 12:50:24 [NOTICE] sofia.c:2561 sofia_handle_sip_i_state() Hangup sofia/external/01160176905074 [CS_CONSUME_MEDIA] [NORMAL_UNSPECIFIED]<br>2008-08-19 12:50:24 [WARNING] switch_cpp.cpp:889 originate() Error Creating Outgoing Channel! [sofia/gateway/gizmo/01160176905074]<br>
2008-08-19 12:50:24 [ERR] switch_cpp.cpp:974 waitForAnswer() session is not initalized<br>2008-08-19 12:50:24 [ERR] switch_cpp.cpp:835 ready() session is not initalized<br>2008-08-19 12:50:24 [ERR] switch_cpp.cpp:529 hangup() session is not initalized<br>
2008-08-19 12:50:24 [NOTICE] switch_core_state_machine.c:157 switch_core_standard_on_execute() Hangup sofia/internal/<a href="mailto:1001@192.168.253.101">1001@192.168.253.101</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>2008-08-19 12:50:24 [NOTICE] switch_core_session.c:812 switch_core_session_thread() Session 2 (sofia/external/01160176905074) Ended<br>
2008-08-19 12:50:24 [NOTICE] switch_core_session.c:814 switch_core_session_thread() Close Channel sofia/external/01160176905074 [CS_HANGUP]<br>=========<br><br><div class="gmail_quote">On Tue, Aug 19, 2008 at 12:35 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">Also if you're calling thru gizmo its<div><br></div><div>sofia/gateway/gizmo/<a href="mailto:01160176905074@proxy01.sipphone.com" target="_blank">01160176905074</a></div>
<div><br></div><div>As proxy01 and all that are set on the gateway.</div><div><br></div><div>/b</div><div><br><div><div class="Ih2E3d"><div>On Aug 18, 2008, at 11:27 PM, Adeel Ansari wrote:</div><br></div><div class="Ih2E3d">
<blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">sofia/sip/gizmo/<a href="mailto:01160176905074@proxy01.sipphone.com" target="_blank">01160176905074@proxy01.sipphone.com</a></span></blockquote>
</div></div><br></div></div><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari">http://www.linkedin.com/in/adeelansari</a><br>
</div>