Here goes:

[EMAIL PROTECTED]> originate sofia/internal/1001 sofia/internal/1003 (my 
command)
2008-08-26 23:36:01 [NOTICE] switch_channel.c:534 switch_channel_set_name() New
Channel sofia/internal/1001 [e11e956a-13dd-de42-b2a1-89733eaaff5d]
2008-08-26 23:36:01 [NOTICE] sofia.c:2183 sofia_handle_sip_i_state() Ring-Ready
sofia/internal/1001!
2008-08-26 23:36:08 [NOTICE] sofia.c:2507 sofia_handle_sip_i_state() Channel [so
fia/internal/1001] has been answered
2008-08-26 23:36:08 [NOTICE] switch_ivr.c:1098 switch_ivr_session_transfer() Tra
nsfer sofia/internal/1001 to XML[sofia/internal/[EMAIL PROTECTED]
API CALL [originate(sofia/internal/1001 sofia/internal/1003)] output:
+OK e11e956a-13dd-de42-b2a1-89733eaaff5d


[EMAIL PROTECTED]> 2008-08-26 23:36:09 [INFO] mod_dialplan_xml.c:222 dialplan_hu
nt() Processing FreeSWITCH->sofia/internal/[EMAIL PROTECTED]
2008-08-26 23:36:10 [NOTICE] switch_ivr.c:1098 switch_ivr_session_transfer() Tra
nsfer sofia/internal/1001 to enum[sofia/internal/[EMAIL PROTECTED]
2008-08-26 23:36:11 [INFO] switch_core_state_machine.c:114 switch_core_standard_
on_routing() No Route, Aborting
2008-08-26 23:36:11 [NOTICE] switch_core_state_machine.c:115 switch_core_standar
d_on_routing() Hangup sofia/internal/1001 [CS_ROUTING] [NO_ROUTE_DESTINATION]
2008-08-26 23:36:11 [NOTICE] switch_core_session.c:807 switch_core_session_threa
d() Session 5 (sofia/internal/1001) Ended
2008-08-26 23:36:11 [NOTICE] switch_core_session.c:809 switch_core_session_threa
d() Close Channel sofia/internal/1001 [CS_HANGUP]
originate sofia/internal/1001 sofia/internal/1003
2008-08-26 23:36:22 [NOTICE] switch_channel.c:534 switch_channel_set_name() New
Channel sofia/internal/1001 [c4f1a1a2-c608-c642-a672-e97b6933da4b]
2008-08-26 23:36:22 [NOTICE] sofia.c:2183 sofia_handle_sip_i_state() Ring-Ready
sofia/internal/1001!
2008-08-26 23:36:27 [NOTICE] sofia.c:2507 sofia_handle_sip_i_state() Channel [so
fia/internal/1001] has been answered
2008-08-26 23:36:28 [NOTICE] switch_ivr.c:1098 switch_ivr_session_transfer() Tra
nsfer sofia/internal/1001 to XML[sofia/internal/[EMAIL PROTECTED]
API CALL [originate(sofia/internal/1001 sofia/internal/1003)] output:
+OK c4f1a1a2-c608-c642-a672-e97b6933da4b

2008-08-26 23:36:28 [INFO] mod_dialplan_xml.c:222 dialplan_hunt() Processing Fre
eSWITCH->sofia/internal/[EMAIL PROTECTED]
2008-08-26 23:36:29 [NOTICE] switch_ivr.c:1098 switch_ivr_session_transfer() Tra
nsfer sofia/internal/1001 to enum[sofia/internal/[EMAIL PROTECTED]
2008-08-26 23:36:30 [INFO] switch_core_state_machine.c:114 switch_core_standard_
on_routing() No Route, Aborting
2008-08-26 23:36:30 [NOTICE] switch_core_state_machine.c:115 switch_core_standar
d_on_routing() Hangup sofia/internal/1001 [CS_ROUTING] [NO_ROUTE_DESTINATION]
2008-08-26 23:36:30 [NOTICE] switch_core_session.c:807 switch_core_session_threa
d() Session 6 (sofia/internal/1001) Ended
2008-08-26 23:36:30 [NOTICE] switch_core_session.c:809 switch_core_session_threa
d() Close Channel sofia/internal/1001 [CS_HANGUP]




From: Adeel Ansari 
Sent: Tuesday, August 26, 2008 11:35 PM
To: freeswitch-users@lists.freeswitch.org 
Subject: Re: [Freeswitch-users] How to originate a session from outside


Orite. But where is the command? Where is the console output? Don't forget to 
press F8 on console to enable the debug mode.


On Wed, Aug 27, 2008 at 2:08 PM, Gayatri Kulkarni <[EMAIL PROTECTED]> wrote:

  same result 

  Regards,
  Gayatri Kulkarni


  From: Adeel Ansari 
  Sent: Tuesday, August 26, 2008 11:03 PM
  To: freeswitch-users@lists.freeswitch.org 
  Subject: Re: [Freeswitch-users] How to originate a session from outside


  Try to issue the same command, what you are issuing via rpc, directly on 
freeswitch console. And don't forget to enable the debug mode this time. You 
can enable debug anytime by pressing F8 on freeswitch console.

  Cheers.


  On Wed, Aug 27, 2008 at 1:41 PM, Gayatri Kulkarni <[EMAIL PROTECTED]> wrote:

    Hey Adeel,

    Thanks for the help - actually, I was swapping the username and password! 
shoot me!

    Anyways, the code still executed partially. FreeSwitch now says this:

    nsfer sofia/internal/1001 to XML[sofia/internal/[EMAIL PROTECTED]
    2008-08-26 22:29:11 [INFO] mod_dialplan_xml.c:222 dialplan_hunt() 
Processing Fre
    eSWITCH->sofia/internal/[EMAIL PROTECTED]
    2008-08-26 22:29:12 [NOTICE] switch_ivr.c:1098 
switch_ivr_session_transfer() Tra
    nsfer sofia/internal/1001 to enum[sofia/internal/[EMAIL PROTECTED]
    2008-08-26 22:29:13 [INFO] switch_core_state_machine.c:114 
switch_core_standard_
    on_routing() No Route, Aborting
    2008-08-26 22:29:13 [NOTICE] switch_core_state_machine.c:115 
switch_core_standar
    d_on_routing() Hangup sofia/internal/1001 [CS_ROUTING] 
[NO_ROUTE_DESTINATION]
    2008-08-26 22:29:13 [NOTICE] switch_core_session.c:807 
switch_core_session_threa
    d() Session 6 (sofia/internal/1001) Ended
    2008-08-26 22:29:13 [NOTICE] switch_core_session.c:809 
switch_core_session_threa
    d() Close Channel sofia/internal/1001 [CS_HANGUP]

    Any idea why this is happening? the destination extension is logged in 
alright and I can make a successful call to it using the xlite soft phone 
directly. I tried it out with other destination numbers as well. I am using a 
LAN IP for my domain.

    Regards,
    Gayatri Kulkarni


    From: Adeel Ansari 
    Sent: Tuesday, August 26, 2008 8:34 AM
    To: freeswitch-users@lists.freeswitch.org 
    Subject: Re: [Freeswitch-users] How to originate a session from outside


    Try to remove the credentials from the file 
<freeswitch-installation>/conf/autoload-configs/xmlrpc.conf.xml
    and remove the username and password from your code as well. Then try it 
again.

    Just to make sure its working. After that you can revert all back.

    Otherwise, you can try the url in your internet browser. It should ask for 
the credential. By default username=freeswitch and password=works.

    Cheers.


    On Tue, Aug 26, 2008 at 10:54 PM, Gayatri Kulkarni <[EMAIL PROTECTED]> 
wrote:

      it loaded the module fine; but now it is saying this:

      Caused by:
      java.io.IOException: Server returned HTTP response code: 401 for URL: 
http://192
      .168.10.36:8080/RPC2
              at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
      urce) 

              at 
org.apache.xmlrpc.client.XmlRpcSunHttpTransport.newInputStream(XmlRpc

      SunHttpTransport.java:64) 

              at 
org.apache.xmlrpc.client.XmlRpcSunHttpTransport.newInputStream(XmlRpc

      SunHttpTransport.java:81) 

              at 
org.apache.xmlrpc.client.XmlRpcStreamTransport.getInputStream(XmlRpcS
      treamTransport.java:159)
              at 
org.apache.xmlrpc.client.XmlRpcHttpTransport.getInputStream(XmlRpcHtt
      pTransport.java:49)
              at 
org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStre
      amTransport.java:213)
              at 
org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorke
      r.java:53)
              at 
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166)
              at 
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:136)
              at 
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:125)
              at RMIServer.makeACall(RMIServer.java:36)
              at RMIServer.main(RMIServer.java:49)

      Regards,
      Gayatri Kulkarni


      From: Brian West 
      Sent: Tuesday, August 26, 2008 7:51 AM
      To: freeswitch-users@lists.freeswitch.org 
      Subject: Re: [Freeswitch-users] How to originate a session from outside


      conf/autoload_configs/modules.conf.xml and uncomment it.  You can also 
load it by typing this at the cli "load mod_xml_rpc" 


      /b


      On Aug 26, 2008, at 9:41 AM, Gayatri Kulkarni wrote:


        How would you make sure mod_xml_rpc is loaded?

        I could successfully run reloadxml
        I got the exception again.

        Regards,
        Gayatri Kulkarni




      Brian West
      sip:[EMAIL PROTECTED]








--------------------------------------------------------------------------


      _______________________________________________
      Freeswitch-users mailing list
      Freeswitch-users@lists.freeswitch.org
      http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
      UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
      http://www.freeswitch.org


      _______________________________________________
      Freeswitch-users mailing list
      Freeswitch-users@lists.freeswitch.org
      http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
      UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
      http://www.freeswitch.org





    -- 
    Best,
    Adeel Ansari

    http://www.linkedin.com/in/adeelansari



----------------------------------------------------------------------------


    _______________________________________________
    Freeswitch-users mailing list
    Freeswitch-users@lists.freeswitch.org
    http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
    UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
    http://www.freeswitch.org


    _______________________________________________
    Freeswitch-users mailing list
    Freeswitch-users@lists.freeswitch.org
    http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
    UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
    http://www.freeswitch.org





  -- 
  Best,
  Adeel Ansari

  http://www.linkedin.com/in/adeelansari



------------------------------------------------------------------------------


  _______________________________________________
  Freeswitch-users mailing list
  Freeswitch-users@lists.freeswitch.org
  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
  UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
  http://www.freeswitch.org


  _______________________________________________
  Freeswitch-users mailing list
  Freeswitch-users@lists.freeswitch.org
  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
  UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
  http://www.freeswitch.org





-- 
Best,
Adeel Ansari

http://www.linkedin.com/in/adeelansari



--------------------------------------------------------------------------------


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

<<Emoticon10.gif>>

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to