<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><span style="font-size: 10pt;"><span style="font-family: Arial, Helvetica, sans-serif;">Hi,</span><br style="font-family: Arial, Helvetica, sans-serif;">
</span></p>
<p><br style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;">
</p>
<p><span style="font-size: 10pt;"><span style="font-family: Arial, Helvetica, sans-serif;">As you suggested,&nbsp;I have tried to make a call. I am able to call from our IVR app&nbsp;to&nbsp;SIP ID (FSClient). But I&nbsp;got some problem while calling to mobile number.</span><br style="font-family: Arial, Helvetica, sans-serif;">
</span></p>
<p><br style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;">
</p>
<p><span style="font-size: 10pt;"><span style="font-family: Arial, Helvetica, sans-serif;">We are trying to&nbsp;integrate&nbsp;Nexmo
</span><span style="color: rgb(33, 33, 33); font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span style="font-family: Arial, Helvetica, sans-serif;">a third-party system</span></span><span style="font-family: Arial, Helvetica, sans-serif;">&#8203;&nbsp;for
 calling to mobile&nbsp;(Domestic or International call both), we have creating an account in Nexmo and added one US number in Nexmo panel.&nbsp;As per Nexmo details,I have make the changes in FreeSwitch and&nbsp;</span><span style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"><span style="font-family: Arial, Helvetica, sans-serif;">added&nbsp;Gateway&nbsp;file
 under <strong>Sip_Profile/External</strong> folder</span></span><span style="font-family: Arial, Helvetica, sans-serif;"> &amp;&nbsp;configured default FreeSwitch&nbsp;dialplan (<strong>01_example.com.xml&nbsp;and&nbsp;01_custom.xml</strong>) .&nbsp;</span><br style="font-family: Arial, Helvetica, sans-serif;">
</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;"><br style="font-family: Arial, Helvetica, sans-serif;">
</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;"><span style="font-family: Arial, Helvetica, sans-serif;">When I make a call to a mobile number, its running a dialplan:</span></span></p>
<p><span style="font-size: 10pt;"><span style="font-family: Arial, Helvetica, sans-serif;"><strong style="font-family: Arial, Helvetica, sans-serif;"><span style="font-family: Arial, Helvetica, sans-serif;">Dialplan: portaudio/5000 Action bridge(sofia/gateway/192.168.1.140/19818753995)&#8203;</span></strong></span><br style="font-family: Arial, Helvetica, sans-serif;">
</span></p>
<p><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;"><br style="font-family: Arial, Helvetica, sans-serif;">
</span></p>
<p><span style="font-size: 10pt;"><span style="font-family: Arial, Helvetica, sans-serif;">and after that its hangup and&nbsp;throw an error as:</span><br style="font-family: Arial, Helvetica, sans-serif;">
</span></p>
<div><span style="font-size: 10pt; color: rgb(255, 0, 0);"><strong style="font-family: Arial, Helvetica, sans-serif; color: rgb(255, 0, 0);"><span style="font-family: Arial, Helvetica, sans-serif; color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">2014-10-27
 16:54:01.232344 [INFO] mod_dptools.c:3234 Originate Failed. &nbsp;Cause: N</span></span></strong><strong style="font-family: Arial, Helvetica, sans-serif; color: rgb(255, 0, 0);"><span style="font-family: Arial, Helvetica, sans-serif; color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">ORMAL_TEMPORARY_FAILURE</span></span></strong></span></div>
<div><strong style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;"><br style="font-family: Arial, Helvetica, sans-serif;">
</strong></div>
<div><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;"><span style="font-family: Arial, Helvetica, sans-serif;">Please find the log for this call and also gateway &amp; configured dialplan as an attachment and suggest me what do I need to
 &nbsp;for making a call to mobile number.</span></span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;"><br style="font-family: Arial, Helvetica, sans-serif;">
</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;"><span style="font-family: Arial, Helvetica, sans-serif;">Thanks,</span></span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;"><br style="font-family: Arial, Helvetica, sans-serif;">
</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;"><span style="font-family: Arial, Helvetica, sans-serif;">Regards,</span></span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;"><span style="font-family: Arial, Helvetica, sans-serif;">Manish Talwar</span></span></div>
<div><span style="font-size: 12pt;"><br>
</span></div>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Michael Collins &lt;msc@freeswitch.org&gt;<br>
<b>Sent:</b> 22 October 2014 04:54<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] Help Required for Outbound call</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">
<div>
<div>mod_httapi is for controlling calls that have already been established. To generate new calls from a third-party system you'll need to use the event socket and the originate API command. You should start here for event socket info:<br>
<a href="https://wiki.freeswitch.org/wiki/Event_socket#Inbound">https://wiki.freeswitch.org/wiki/Event_socket#Inbound</a><br>
<br>
</div>
Look up the originate command and try it out from fscli. Once you figure out how to generate calls manually with originate commands at fscli then you can work on having your 3rd-party app do those calls via the event socket.<br>
<br>
</div>
-MC<br>
<div>
<div><br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Oct 21, 2014 at 5:49 AM, Manish Talwar <span dir="ltr">
&lt;<a href="mailto:manish.talwar@zaristo.com" target="_blank">manish.talwar@zaristo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">&#8203;Hi,<br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px"><br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">We have successfully integrated FreeSwitch with our current web based IVR application by &quot;httapi&quot;, Its working fine as per our requirement. We have setup FreeSwitch on our &quot;linux&nbsp;EC2
 AWS Server&quot;,&nbsp;&nbsp;and its successfully handshaking our IVR application with FreeSwitch.<br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px"><br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">Now, we need to integrate out&#8203;bound call in our application, i.e. &quot;to make an international call&quot; or &quot;Speak to&nbsp;Customer Care Executive&quot;. I have looked about httapi &quot;dial&quot; command for
 this purpose, but I am not able to make a call by this command.&nbsp;<br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px"><br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">Please suggest me whether we can make a Outbound call by HTTAPI&nbsp;&quot;Dial&quot; command&nbsp;or Is there any other ways to do this task. Please share some examples of XML Request which we need to send
 in FreeSwitch for&nbsp;making a call via HTTAPI.<br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px"><br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">Also, we are planning to integrate &quot;NEXMO&quot; in our application. Please share some helpful links for integrating it with FreeSwitch if possible.<br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px"><br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">Thanks,<br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px"><br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">Regards,<br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">Manish Talwar<br>
</p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px"><br>
</p>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><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>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>