<div dir="ltr">Console Output:<br><br>==========<br>UUID: d94510ba-6da6-11dd-bf51-11eda3fec726 ARGS:<br>2008-08-19 12:25:26 [ERR] mod_sofia.c:1946 sofia_outgoing_channel() Invalid Profile<br>2008-08-19 12:25:26 [NOTICE] mod_sofia.c:2065 sofia_outgoing_channel() Close Channel N/A [CS_NEW]<br>
2008-08-19 12:25:26 [ERR] switch_ivr_originate.c:956 switch_ivr_originate() Cannot create outgoing channel of type [sofia] cause: [DESTINATION_OUT_OF_ORDER]<br>2008-08-19 12:25:26 [WARNING] switch_cpp.cpp:889 originate() Error Creating Outgoing Channel! [sofia/sip/gizmo/<a href="mailto:01160176905074@proxy01.sipphone.com">01160176905074@proxy01.sipphone.com</a>]<br>
2008-08-19 12:25:26 [ERR] switch_cpp.cpp:974 waitForAnswer() session is not initalized<br>2008-08-19 12:25:26 [ERR] switch_cpp.cpp:835 ready() session is not initalized<br>2008-08-19 12:25:26 [NOTICE] switch_cpp.cpp:1050 console_log() ***********Babies!<br>
2008-08-19 12:25:26 [ERR] switch_cpp.cpp:529 hangup() session is not initalized<br>2008-08-19 12:25:26 [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>
<br>=============<br><br>What I should look for, and where?<br><br>Actually, I am using a SIP client to make a call to a default user 1001. And using dialplan config, I hook my Java program. In my Java program I am doing as below,<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/sip/gizmo/<a href="mailto:01160176905074@proxy01.sipphone.com">01160176905074@proxy01.sipphone.com</a>"); <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> }<br>=============<br clear="all"><br>Furthermore, below is my gizmo.xml<br>
<br>=========<br><include><br> <user id="user-idxxx"><br> <!-- Outbound Registrations Related to this user --><br> <gateways><br> <gateway name="gizmo"><br>
<param name="username" value="user-idxxx"/><br> <param name="password" value="passwordxxx"/><br> <param name="from-domain" value="<a href="http://proxy01.sipphone.com">proxy01.sipphone.com</a>"/><br>
<param name="caller-id-in-from" value="true"/><br> <param name="proxy" value="<a href="http://proxy01.sipphone.com">proxy01.sipphone.com</a>"/><br>
<param name="expire-seconds" value="3600"/><br> <param name="register" value="true"/><br> <param name="retry_seconds" value="3600"/><br>
<param name="supress-cng" value="true"/><br> </gateway><br> </gateways><br> <variables><br> <variable name="effective_caller_id_name" value="M Hazriq"/> <br>
</variables> <br> </user> <br></include><br>==========<br><br>Please steer me in the right direction. Thanks.<br><br><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>