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 <xtpl.gayatri@gmail.com> 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
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




_______________________________________________
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