<div dir="ltr">Orite. But where is the command? Where is the console output? Don't forget to press F8 on console to enable the debug mode.<br><br><div class="gmail_quote">On Wed, Aug 27, 2008 at 2:08 PM, Gayatri Kulkarni <span dir="ltr"><<a href="mailto:xtpl.gayatri@gmail.com">xtpl.gayatri@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="padding-right: 10px; padding-left: 10px; padding-top: 15px;" bgcolor="#ffffff" name="Compose message area">
<div><font face="Arial" size="2">same result <img title="Sad smile emoticon" style="margin: 0px; float: none;" alt="Sad smile emoticon" src="cid:326F0780DBF34903BC28A421997D3D6A@Comp36"></font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Regards,</font></div>
<div><font face="Arial" size="2">Gayatri Kulkarni</font></div>
<div style="font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<div><br></div>
<div style="background: rgb(245, 245, 245) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<div><b>From:</b> <a title="adeel.gnome@gmail.com" href="mailto:adeel.gnome@gmail.com" target="_blank">Adeel Ansari</a> </div>
<div><b>Sent:</b> Tuesday, August 26, 2008 11:03 PM</div><div><div></div><div class="Wj3C7c">
<div><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>
</div>
<div><b>Subject:</b> Re: [Freeswitch-users] How to originate a session from
outside</div></div></div></div></div><div><div></div><div class="Wj3C7c">
<div><br></div>
<div dir="ltr">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.<br><br>Cheers.<br><br>
<div class="gmail_quote">On Wed, Aug 27, 2008 at 1:41 PM, Gayatri Kulkarni <span dir="ltr"><<a href="mailto:xtpl.gayatri@gmail.com" target="_blank">xtpl.gayatri@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="padding-right: 10px; padding-left: 10px; padding-top: 15px;" name="Compose message area" bgcolor="#ffffff">
<div><font face="Arial" size="2">Hey Adeel,</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Thanks for the help - actually, I was swapping
the username and password! shoot me!</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Anyways, the code still executed partially.
FreeSwitch now says this:</font></div>
<div><font size="2"></font> </div>
<div><font face="Courier" size="2">nsfer sofia/internal/1001 to
XML[sofia/internal/1002@default]<br>2008-08-26 22:29:11 [INFO]
mod_dialplan_xml.c:222 dialplan_hunt() Processing
Fre<br>eSWITCH->sofia/internal/1002@default<br>2008-08-26 22:29:12 [NOTICE]
switch_ivr.c:1098 switch_ivr_session_transfer() Tra<br>nsfer
sofia/internal/1001 to enum[sofia/internal/1002@default]<br>2008-08-26
22:29:13 [INFO] switch_core_state_machine.c:114
switch_core_standard_<br>on_routing() No Route, Aborting<br>2008-08-26
22:29:13 [NOTICE] switch_core_state_machine.c:115
switch_core_standar<br>d_on_routing() Hangup sofia/internal/1001 [CS_ROUTING]
[NO_ROUTE_DESTINATION]<br>2008-08-26 22:29:13 [NOTICE]
switch_core_session.c:807 switch_core_session_threa<br>d() Session 6
(sofia/internal/1001) Ended<br>2008-08-26 22:29:13 [NOTICE]
switch_core_session.c:809 switch_core_session_threa<br>d() Close Channel
sofia/internal/1001 [CS_HANGUP]</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">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.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Regards,</font></div>
<div><font face="Arial" size="2">Gayatri Kulkarni</font></div>
<div style="font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<div><br></div>
<div style="background: rgb(245, 245, 245) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<div><b>From:</b> <a title="adeel.gnome@gmail.com" href="mailto:adeel.gnome@gmail.com" target="_blank">Adeel Ansari</a> </div>
<div><b>Sent:</b> Tuesday, August 26, 2008 8:34 AM</div>
<div>
<div></div>
<div>
<div><b>To:</b> <a title="mailto:freeswitch-users@lists.freeswitch.org
CTRL + Click to follow link" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a> </div>
<div><b>Subject:</b> Re: [Freeswitch-users] How to originate a session from
outside</div></div></div></div></div>
<div>
<div></div>
<div>
<div><br></div>
<div dir="ltr">Try to remove the credentials from the file
<freeswitch-installation>/conf/autoload-configs/xmlrpc.conf.xml<br>and
remove the username and password from your code as well. Then try it
again.<br><br>Just to make sure its working. After that you can revert all
back.<br><br>Otherwise, you can try the url in your internet browser. It
should ask for the credential. By default username=freeswitch and
password=works.<br><br>Cheers.<br><br>
<div class="gmail_quote">On Tue, Aug 26, 2008 at 10:54 PM, Gayatri Kulkarni
<span dir="ltr"><<a title="mailto:xtpl.gayatri@gmail.com
CTRL + Click to follow link" href="mailto:xtpl.gayatri@gmail.com" target="_blank">xtpl.gayatri@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="padding-right: 10px; padding-left: 10px; padding-top: 15px;" name="Compose message area" bgcolor="#ffffff">
<div><font face="Arial" size="2">it loaded the module fine; but now it is saying
this:</font></div>
<div> </div>
<div><font size="2"><font face="Courier">Caused by:<br>java.io.IOException:
<b>Server returned HTTP response code: 401 for URL: </b></font><a href="http://192" target="_blank"><font face="Courier"><b>http://192</b></font></a><br><font face="Courier"><b>.168.10.36:8080/RPC2<br></b>
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
So<br>urce)
<div><br> at
org.apache.xmlrpc.client.XmlRpcSunHttpTransport.newInputStream(XmlRpc<br></div>SunHttpTransport.java:64)
<div><br> at
org.apache.xmlrpc.client.XmlRpcSunHttpTransport.newInputStream(XmlRpc<br></div>SunHttpTransport.java:81)
<div><br> at
org.apache.xmlrpc.client.XmlRpcStreamTransport.getInputStream(XmlRpcS<br>treamTransport.java:159)<br>
at
org.apache.xmlrpc.client.XmlRpcHttpTransport.getInputStream(XmlRpcHtt<br>pTransport.java:49)<br>
at
org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStre<br>amTransport.java:213)<br>
at
org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorke<br>r.java:53)<br>
at
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166)<br>
at
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:136)<br>
at
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:125)<br>
at
RMIServer.makeACall(RMIServer.java:36)<br>
at RMIServer.main(RMIServer.java:49)</div></font></font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Regards,</font></div>
<div><font face="Arial" size="2">Gayatri Kulkarni</font></div>
<div style="font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<div><br></div>
<div style="background: rgb(245, 245, 245) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<div><b>From:</b> <a title="mailto:brian@freeswitch.org
CTRL + Click to follow link" href="mailto:brian@freeswitch.org" target="_blank">Brian West</a> </div>
<div><b>Sent:</b> Tuesday, August 26, 2008 7:51 AM</div>
<div>
<div><b>To:</b> <a title="mailto:freeswitch-users@lists.freeswitch.org
CTRL + Click to follow link" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a> </div>
<div><b>Subject:</b> Re: [Freeswitch-users] How to originate a session from
outside</div></div></div></div>
<div><br></div>
<div>
<div></div>
<div>conf/autoload_configs/modules.conf.xml and uncomment it. You can
also load it by typing this at the cli "load mod_xml_rpc"
<div><br></div>
<div>/b</div>
<div><br>
<div>
<div>On Aug 26, 2008, at 9:41 AM, Gayatri Kulkarni wrote:</div><br>
<blockquote type="cite"><span style="word-spacing: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; font-size-adjust: none; font-stretch: normal;">
<div><font face="Arial" size="2">How would you make sure mod_xml_rpc is
loaded?</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I could successfully run
reloadxml</font></div>
<div><font face="Arial" size="2">I got the exception again.</font></div>
<div> </div>
<div><font face="Arial" size="2">Regards,</font></div>
<div><font face="Arial" size="2">Gayatri Kulkarni</font></div>
<div style="font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><br></div></span></blockquote></div>
<br>
<div><span style="word-spacing: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; font-size-adjust: none; font-stretch: normal;">
<div>
<div>Brian West</div>
<div><a href="mailto:brian@freeswitch.org" target="_blank">sip:brian@freeswitch.org</a></div>
<div><br></div></div></span><br></div><br></div></div></div>
<div>
<p></p>
<hr>
<p></p>_______________________________________________<br>Freeswitch-users
mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div><br>_______________________________________________<br>Freeswitch-users
mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br></div>
<p></p>
<hr>
<p></p>_______________________________________________<br>Freeswitch-users
mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></div><br>_______________________________________________<br>Freeswitch-users
mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br></div>
<p>
</p><hr>
<p></p>_______________________________________________<br>Freeswitch-users
mailing
list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari">http://www.linkedin.com/in/adeelansari</a><br>
</div>