[Freeswitch-users] (no subject)

Brian West brian at freeswitch.org
Mon Aug 18 21:34:43 PDT 2008


How are you running this?

/b

On Aug 18, 2008, at 11:27 PM, Adeel Ansari wrote:

> 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 at 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 at 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 at 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
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080818/51fd8e6d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list