Console Output: ========== UUID: d94510ba-6da6-11dd-bf51-11eda3fec726 ARGS: 2008-08-19 12:25:26 [ERR] mod_sofia.c:1946 sofia_outgoing_channel() Invalid Profile 2008-08-19 12:25:26 [NOTICE] mod_sofia.c:2065 sofia_outgoing_channel() Close Channel N/A [CS_NEW] 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] 2008-08-19 12:25:26 [WARNING] switch_cpp.cpp:889 originate() Error Creating Outgoing Channel! [sofia/sip/gizmo/01160176905074@proxy01.sipphone.com] 2008-08-19 12:25:26 [ERR] switch_cpp.cpp:974 waitForAnswer() session is not initalized 2008-08-19 12:25:26 [ERR] switch_cpp.cpp:835 ready() session is not initalized 2008-08-19 12:25:26 [NOTICE] switch_cpp.cpp:1050 console_log() ***********Babies! 2008-08-19 12:25:26 [ERR] switch_cpp.cpp:529 hangup() session is not initalized 2008-08-19 12:25:26 [NOTICE] switch_core_state_machine.c:157 switch_core_standard_on_execute() Hangup sofia/internal/1001@192.168.253.101[CS_EXECUTE] [NORMAL_CLEARING] ============= What I should look for, and where? 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, ======== CoreSession session = null; CoreSession newSession1 = null; try { session = new JavaSession(uuid); newSession1 = new JavaSession(); session.originate(newSession1, "sofia/sip/gizmo/ 01160176905074@proxy01.sipphone.com"); 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(); } } ============= Furthermore, below is my gizmo.xml ========= <include> <user id="user-idxxx"> <!-- Outbound Registrations Related to this user --> <gateways> <gateway name="gizmo"> <param name="username" value="user-idxxx"/> <param name="password" value="passwordxxx"/> <param name="from-domain" value="proxy01.sipphone.com"/> <param name="caller-id-in-from" value="true"/> <param name="proxy" value="proxy01.sipphone.com"/> <param name="expire-seconds" value="3600"/> <param name="register" value="true"/> <param name="retry_seconds" value="3600"/> <param name="supress-cng" value="true"/> </gateway> </gateways> <variables> <variable name="effective_caller_id_name" value="M Hazriq"/> </variables> </user> </include> ========== Please steer me in the right direction. Thanks. -- Best, Adeel Ansari http://www.linkedin.com/in/adeelansari