<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY id=MailContainerBody 
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" 
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Arial size=2>Hey Adeel,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Anyways, the code still executed partially. 
FreeSwitch now says this:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</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-&gt;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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Gayatri Kulkarni</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=adeel.gnome@gmail.com 
href="mailto:adeel.gnome@gmail.com">Adeel Ansari</A> </DIV>
<DIV><B>Sent:</B> Tuesday, August 26, 2008 8:34 AM</DIV>
<DIV><B>To:</B> <A 
title="mailto:freeswitch-users@lists.freeswitch.org&#10;CTRL + Click to follow link" 
href="mailto:freeswitch-users@lists.freeswitch.org">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><BR></DIV>
<DIV dir=ltr>Try to remove the credentials from the file 
&lt;freeswitch-installation&gt;/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>&lt;<A 
title="mailto:xtpl.gayatri@gmail.com&#10;CTRL + Click to follow link" 
href="mailto:xtpl.gayatri@gmail.com">xtpl.gayatri@gmail.com</A>&gt;</SPAN> 
wrote:<BR>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
  <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>&nbsp;</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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown 
  So<BR>urce) 
  <DIV class=Ih2E3d><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.xmlrpc.client.XmlRpcSunHttpTransport.newInputStream(XmlRpc<BR></DIV>SunHttpTransport.java:64) 

  <DIV class=Ih2E3d><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.xmlrpc.client.XmlRpcSunHttpTransport.newInputStream(XmlRpc<BR></DIV>SunHttpTransport.java:81) 

  <DIV class=Ih2E3d><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
  org.apache.xmlrpc.client.XmlRpcStreamTransport.getInputStream(XmlRpcS<BR>treamTransport.java:159)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.xmlrpc.client.XmlRpcHttpTransport.getInputStream(XmlRpcHtt<BR>pTransport.java:49)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStre<BR>amTransport.java:213)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorke<BR>r.java:53)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:136)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:125)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at 
  RMIServer.makeACall(RMIServer.java:36)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  at RMIServer.main(RMIServer.java:49)</DIV></FONT></FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
  <DIV><FONT face=Arial size=2>Gayatri Kulkarni</FONT></DIV>
  <DIV style="FONT: 10pt Tahoma; font-size-adjust: none; font-stretch: normal">
  <DIV><BR></DIV>
  <DIV 
  style="BACKGROUND: rgb(245,245,245); -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&#13;&#10;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 class=Ih2E3d>
  <DIV><B>To:</B> <A 
  title="mailto:freeswitch-users@lists.freeswitch.org&#13;&#10;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 class=Wj3C7c>conf/autoload_configs/modules.conf.xml and uncomment it. 
  &nbsp;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: 12px Helvetica; 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>&nbsp;</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>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
    <DIV><FONT face=Arial size=2>Gayatri Kulkarni</FONT></DIV>
    <DIV 
    style="FONT: 10pt Tahoma; font-size-adjust: none; font-stretch: normal"><BR></DIV></SPAN></BLOCKQUOTE></DIV><BR>
  <DIV><SPAN 
  style="WORD-SPACING: 0px; FONT: 12px Helvetica; 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 class=Ih2E3d>
  <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">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>
<P>
<HR>

<P></P>_______________________________________________<BR>Freeswitch-users 
mailing 
list<BR>Freeswitch-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BODY></HTML>