[Freeswitch-users] (no subject)

Adeel Ansari adeel.gnome at gmail.com
Mon Aug 18 21:27:10 PDT 2008

Console Output:

UUID: d94510ba-6da6-11dd-bf51-11eda3fec726 ARGS:
2008-08-19 12:25:26 [ERR] mod_sofia.c:1946 sofia_outgoing_channel() Invalid
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:
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
2008-08-19 12:25:26 [ERR] switch_cpp.cpp:835 ready() session is not
2008-08-19 12:25:26 [NOTICE] switch_cpp.cpp:1050 console_log()
2008-08-19 12:25:26 [ERR] switch_cpp.cpp:529 hangup() session is not
2008-08-19 12:25:26 [NOTICE] switch_core_state_machine.c:157
switch_core_standard_on_execute() Hangup
sofia/internal/1001 at[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");

            if (newSession1.ready() && session.ready()) {
                freeswitch.bridge(session, newSession1);

            freeswitch.console_log("notice", "***********Babies!\n");

        } finally {
            if (session != null) {

Furthermore, below is my gizmo.xml

    <user id="user-idxxx">
        <!-- Outbound Registrations Related to this user -->
            <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"/>
            <variable name="effective_caller_id_name" value="M Hazriq"/>


Please steer me in the right direction. Thanks.

Adeel Ansari

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080819/22db3afe/attachment-0002.html 

More information about the FreeSWITCH-users mailing list