<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,</p>
<p><br>
</p>
<p>Thanks a lot, I am able to make a outbound call by these settings. I have set &quot;absolute_codec_string&quot;&nbsp;as &quot;PCMA,PCMU&quot; and remove &quot;nexmo_forwarded_for&quot; from my dialplan.
<br>
</p>
<p><br>
</p>
<p>I have tried this outbound call by &quot;FsClient&quot; and &quot;Wizton&quot; application. Call is running fine with &quot;FsClient&quot; but unable to received the call by &quot;Wizton&quot;. In Wizton, Its tried to call on my mobile with similar logs in &quot;FS_CLI&quot; as&nbsp;calling from &quot;FsClient&quot; but
 after few seconds call was hangup with message as &quot;<span style="color: rgb(255, 0, 0);">Originate Failed.&nbsp; Cause: ORIGINATOR_CANCEL</span>&quot;.</p>
<p><br>
</p>
<p>I feel it might be some &quot;codec&quot; configuration problem&nbsp;only, Please find the &quot;FsClient&quot; and &quot;Wizton&quot; log file as an attachment. With, &quot;FsClient&quot; log file I am able to receive the call on my mobile (&#43;919818753995).<br>
</p>
<p><br>
</p>
<p>Also, when its calling Outbound call by &quot;FsClient&quot; then there was no ring sound came&nbsp;on &quot;FsClient&quot; but call was coming on mobile.</p>
<p><br>
</p>
<p>Please suggest me,&nbsp;what&nbsp;I need to do&nbsp;for&nbsp;Ring sound while&nbsp;its calling a&nbsp;mobile&nbsp;and&nbsp;also Is there any other setting required while calling from &quot;Wizton&quot; or any other medium (like mobile, phone etc).</p>
<p><br>
</p>
<p>Thanks a lot.</p>
<p><br>
</p>
<p>Regards,</p>
<p>Manish Talwar<br>
</p>
<p><br>
</p>
<p>Also, <br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> freeswitch-users-bounces@lists.freeswitch.org &lt;freeswitch-users-bounces@lists.freeswitch.org&gt; on behalf of Aviv Shaham &lt;aviv@sent.com&gt;<br>
<b>Sent:</b> 11 November 2014 00:47<br>
<b>To:</b> freeswitch-users@lists.freeswitch.org<br>
<b>Subject:</b> Re: [Freeswitch-users] SIP trunking with Nexmo</font>
<div>&nbsp;</div>
</div>
<div>
<div>Hi Manish,<br>
</div>
<div>&nbsp;</div>
<div>First, no need to set&nbsp;nexmo_forwarded_for for outbound here, if you re-read my previous email you'll see that it was meant to be used for Nexmo DIDs you use to direct origination traffic into FS.&nbsp;<br>
</div>
<div>&nbsp;</div>
<div>As for the error you are getting with this dialplan, you need to remove &quot;@sip.nexmo.com:5080&quot; from your origination string.<br>
</div>
<div>&nbsp;</div>
<div>Hope it helps,<br>
</div>
<div>&nbsp;</div>
<div>Aviv<br>
</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>On Fri, Nov 7, 2014, at 11:10 PM, Manish Talwar wrote:<br>
</div>
<blockquote type="cite">
<div style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p style="margin-bottom:0px; margin-top:0px">Hi,<br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<p style="margin-bottom:0px; margin-top:0px">Thanks for your suggestion, I have make these changes and removed the&nbsp;<span class="highlight" style="background-color:rgb(255,255,255)"><span class="colour" style="color:rgb(0,0,0)"><span class="font" style="font-family:sans-serif"><span class="size" style="font-size:12.7272720336914px">L16</span></span></span></span>
 codec from request now. I have set &quot;absolute_codec_string&quot; and &quot;nexmo_forwarded_for&quot; and its not throwing any error message in SIP trace now.<br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<p style="margin-bottom:0px; margin-top:0px">But still, I am not able to make a call on my mobile number &quot;<b>1919818753995</b>&quot;. Its show message on FreeSwitch log as
<span class="colour" style="color:rgb(255,0,0)">&quot;[RECOVERY_ON_TIMER_EXPIRE]&quot;</span> and hangup the freeswitch call. Also, there is no log created on Nexmo dashboard for this call's.<br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<p style="margin-bottom:0px; margin-top:0px">I am sending my call request to Nexmo from FreeSwitch by dialplan as.<br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><b>&lt;extension name=&quot;Dial through Nexmo&quot;&gt;</b><br>
<b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^19(1\d{10})$&quot;&gt;</b><br>
<b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;absolute_codec_string=PCMU,GSM&quot;/&gt;</b><br>
<b>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;nexmo_forwarded_for=$1&quot;/&gt;</b><br>
<b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bridge&quot; data=&quot;{origination_caller_id_name='18188535351',ignore_early_media=true}sofia/gateway/nexmo/$1@sip.nexmo.com:5080&quot;/&gt;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
</b><br>
<b>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;</b><br>
<b>&nbsp;&lt;/extension&gt;</b></p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<p style="margin-bottom:0px; margin-top:0px">Please find the attached SipTrace file now and let me know what I need to update now.<br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<p style="margin-bottom:0px; margin-top:0px">In this log, values passed in &quot;From&quot; and &quot;To&quot; attribute as:&nbsp;<b></b><br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><b></b><br>
</p>
<div><b>From: &quot;18188535351&quot; &lt;sip:b9c280dd@sip.nexmo.com&gt;;tag=D8g4a5NvH4emF</b><br>
</div>
<div><b>&nbsp;&nbsp; To: &lt;sip:19818753995@sip.nexmo.com:5080&gt;</b><br>
</div>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<p style="margin-bottom:0px; margin-top:0px">I feel there might be some wrong data passed in &quot;To&quot; attribute and it might expecting mobile number &quot;19818753995&quot; only instead on SIP value. Please suggest about these setting also.<br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<p style="margin-bottom:0px; margin-top:0px">Thanks,<br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<p style="margin-bottom:0px; margin-top:0px">Regards,<br>
</p>
<p style="margin-bottom:0px; margin-top:0px">Manish Talwar<br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<div style="color:rgb(33,33,33)">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<br>
</div>
<div dir="ltr">
<div><span class="colour" style="color:rgb(0,0,0)"><span class="font" style="font-family:Calibri,' sans-serif'"><span class="size" style="font-size:11pt"><b>From:</b> Aviv Shaham &lt;aviv@sent.com&gt;</span></span></span><br>
</div>
<div><span class="colour" style="color:rgb(0,0,0)"><span class="font" style="font-family:Calibri,' sans-serif'"><span class="size" style="font-size:11pt"><b>Sent:</b> 07 November 2014 21:48</span></span></span><br>
</div>
<div><span class="colour" style="color:rgb(0,0,0)"><span class="font" style="font-family:Calibri,' sans-serif'"><span class="size" style="font-size:11pt"><b>To:</b> freeswitch-users@lists.freeswitch.org<br>
<b>Subject:</b> Re: [Freeswitch-users] SIP trunking with Nexmo</span></span></span></div>
<div>&nbsp;</div>
</div>
<div>
<div>Hi Manish,<br>
</div>
<div>&nbsp;</div>
<div>Nexmo doesn't seem to handle it well if your first specified codec is&nbsp;<span class="highlight" style="background-color:rgb(255,255,255)"><span class="colour" style="color:rgb(0,0,0)"><span class="font" style="font-family:sans-serif"><span class="size" style="font-size:12.7272720336914px">L16.
 Try to set absolute_codec_string to PCMU and see if that helps.</span></span></span></span><br>
</div>
<div>&nbsp;</div>
<div><span class="highlight" style="background-color:rgb(255,255,255)"><span class="colour" style="color:rgb(0,0,0)"><span class="font" style="font-family:sans-serif"><span class="size" style="font-size:12.7272720336914px">Also note that there is no need to
 include custom SIP headers such as api_key, api_secret, and answer_url when you make an outbound call.</span></span></span></span><br>
</div>
<div>&nbsp;</div>
<div><span class="highlight" style="background-color:rgb(255,255,255)"><span class="colour" style="color:rgb(0,0,0)"><span class="font" style="font-family:sans-serif"><span class="size" style="font-size:12.7272720336914px">Since you mentioned also needing inbound
 - keep in mind that when you use Nexmo's built-in &quot;Forward to SIP&quot; setting for each number in the dashboard, the dialed number will not be passed as a SIP variable and you have no way of knowing it once you receive the SIP invite. One way to get around this
 is to have your application buy &amp; update numbers via the Nexmo API and set a custom SIP address per Nexmo DID, for example:
<a href="mailto:nexmo_12121115555@your-server.com">nexmo_12121115555@your-server.com</a>&nbsp;and then have a dialplan such as:</span></span></span></span><br>
</div>
<div>&nbsp;</div>
<div>&lt;extension name=&quot;IncomingNexmo&quot;&gt;<br>
</div>
<div>&nbsp; &nbsp;&lt;condition field=&quot;destination_number&quot; expression=&quot;^nexmo_(\d&#43;)$&quot;&gt;<br>
</div>
<div>&nbsp; &nbsp; &nbsp; &lt;action application=&quot;info&quot;/&gt;<br>
</div>
<div>&nbsp; &nbsp; &nbsp; &lt;action application=&quot;set&quot; data=&quot;nexmo_forwarded_for=$1&quot;/&gt;<br>
</div>
<div>&nbsp; &nbsp; &nbsp; &lt;action application=&quot;lua&quot; data=&quot;nexmo_handler.lua&quot;/&gt;<br>
</div>
<div>&nbsp; &nbsp;&lt;/condition&gt;<br>
</div>
<div>&lt;/extension&gt;<br>
</div>
<div>&nbsp;</div>
<div><span class="highlight" style="background-color:rgb(255,255,255)"><span class="colour" style="color:rgb(0,0,0)"><span class="font" style="font-family:sans-serif"><span class="size" style="font-size:12.7272720336914px">The&nbsp;nexmo_forwarded_for session variable
 will now expose to you the dialed Nexmo phone number allowing your application or XML dialplan to use it.</span></span></span></span><br>
</div>
<div>&nbsp;</div>
<div><span class="highlight" style="background-color:rgb(255,255,255)"><span class="colour" style="color:rgb(0,0,0)"><span class="font" style="font-family:sans-serif"><span class="size" style="font-size:12.7272720336914px">Let me know if you are having any
 other issues.</span></span></span></span><br>
</div>
<div>&nbsp;</div>
<div><span class="colour" style="color:rgb(0,0,0)"><span class="font" style="font-family:sans-serif"><span class="highlight" style="background-color:rgb(255,255,255)">Aviv</span></span></span><br>
</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>On Fri, Nov 7, 2014, at 01:05 AM, Manish Talwar wrote:<br>
</div>
<blockquote type="cite">
<div style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p style="margin-bottom:0px; margin-top:0px">Hi,<br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<p style="margin-bottom:0px; margin-top:0px">Thanks for your suggestion, I have tried it and I am able to do a Inbound call via Nexmo now. But still I am not able to make any outbound&nbsp;call from my application.<br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<p style="margin-bottom:0px; margin-top:0px">I have checked the FreeSwitch log by siptrace enable and found that my call was terminated with a SIP message as &quot;<br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><b><span class="colour" style="color:rgb(255,0,0)">IP/2.0 407 Proxy Authentication Required</span></b>&quot;.<br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<p style="margin-bottom:0px; margin-top:0px">Please find the siptrace log for my call as an attachment. and let me know what changes or configuration I need to make for Proxy Authentication Header.<br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<p style="margin-bottom:0px; margin-top:0px">Thanks,<br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><span>Regards</span>,<br>
</p>
<p style="margin-bottom:0px; margin-top:0px">Manish Talwar<br>
</p>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
<div style="color:rgb(33,33,33)">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<br>
</div>
<div dir="ltr">
<div><span class="colour" style="color:rgb(0,0,0)"><span class="font" style="font-family:Calibri,' sans-serif'"><span class="size" style="font-size:11pt"><b>From:</b> freeswitch-users-bounces@lists.freeswitch.org &lt;freeswitch-users-bounces@lists.freeswitch.org&gt;
 on behalf of Aviv Shaham &lt;aviv@sent.com&gt;</span></span></span><br>
</div>
<div><span class="colour" style="color:rgb(0,0,0)"><span class="font" style="font-family:Calibri,' sans-serif'"><span class="size" style="font-size:11pt"><b>Sent:</b> 06 November 2014 14:39</span></span></span><br>
</div>
<div><span class="colour" style="color:rgb(0,0,0)"><span class="font" style="font-family:Calibri,' sans-serif'"><span class="size" style="font-size:11pt"><b>To:</b> freeswitch-users@lists.freeswitch.org</span></span></span><br>
</div>
<div><span class="colour" style="color:rgb(0,0,0)"><span class="font" style="font-family:Calibri,' sans-serif'"><span class="size" style="font-size:11pt"><b>Subject:</b> Re: [Freeswitch-users] SIP trunking with Nexmo</span></span></span><br>
</div>
<div>&nbsp;</div>
</div>
<div>
<div>Hi Manish,<br>
</div>
<div>&nbsp;</div>
<div>Nexmo expects your API KEY to be in the From header. To set the caller ID you will need to use &quot;caller-id-name&quot;. Good timing btw, I just posted a reply to a similar question on Quora. Have a look:&nbsp;<a href="http://qr.ae/DEbk2">http://qr.ae/DEbk2</a>&nbsp;- also
 covers Plivo.<br>
</div>
<div>&nbsp;</div>
<div>Aviv<br>
</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>On Thu, Nov 6, 2014, at 12:07 AM, Manish Talwar wrote:<br>
</div>
<blockquote type="cite">
<div style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; margin-top:0px; margin-bottom:0px">
Hi,<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; margin-top:0px; margin-bottom:0px">
&nbsp;</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; margin-top:0px; margin-bottom:0px">
I have make a&nbsp;<span class="highlight" style="background-color:rgb(255,255,255)">SIP Trunking</span>&nbsp;(gateway)&nbsp;in FreeSwitch for&nbsp;connecting Nexmo via bridge. I have added this Nexmo file under &quot;<b>\FreeSWITCH\conf\sip_profiles\external</b>&quot; folder. Its successfully
 registering &quot;<span class="colour" style="color:rgb(75,165,36)"><span class="font" style="font-family:Calibri,Arial,Helvetica,sans-serif"><span class="size" style="font-size:small"><span class="size" style="font-size:16px">sip.nexmo.com</span></span></span></span>&quot;&nbsp;Gateway
 as mentioned below:<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; margin-top:0px; margin-bottom:0px">
&nbsp;</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">&nbsp;</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Type &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Data &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;State<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">================================================================================================<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external-ipv6 &nbsp; &nbsp; &nbsp; profile &nbsp; sip:mod_sofia@[2001:0:9d38:90d7:102f:3fc4:3f57:fe73]:5080 &nbsp; &nbsp; RUNNING (0)<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.1.140 &nbsp; &nbsp; &nbsp; &nbsp; alias &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; internal &nbsp; &nbsp; &nbsp;ALIASED<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;external &nbsp; &nbsp; &nbsp; profile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sip:mod_sofia@192.168.1.140:5080 &nbsp; &nbsp; &nbsp;RUNNING (0)<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">&nbsp; &nbsp; external::example.com &nbsp; &nbsp; &nbsp; gateway &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sip:joeuser@example.com &nbsp; &nbsp; &nbsp;NOREG<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px"><span class="colour" style="color:rgb(75,165,36)">external::sip.nexmo.com &nbsp; &nbsp; &nbsp; gateway &nbsp; &nbsp; &nbsp; &nbsp;sip:b9c280dd:7678b8c4@sip.nexmo.com &nbsp; &nbsp; &nbsp;REGED</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; internal-ipv6 &nbsp; &nbsp; &nbsp; profile &nbsp; sip:mod_sofia@[2001:0:9d38:90d7:102f:3fc4:3f57:fe73]:5060 &nbsp; &nbsp; RUNNING (0)<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;internal &nbsp; &nbsp; &nbsp; profile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sip:mod_sofia@192.168.1.140:5060 &nbsp; &nbsp; &nbsp;RUNNING (0)<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">================================================================================================<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">4 profiles 1 alias<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">&nbsp;</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">But when I send the request to FreeSwitch by Dial command as:<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">
<div><b>&lt;document type=&quot;xml/freeswitch-httapi&quot;&gt;&lt;params&gt;&lt;/params&gt;&lt;work&gt;&lt;execute application=&quot;set&quot; data=&quot;sip_h_api_key=b9c280dd&quot; /&gt;&lt;execute application=&quot;set&quot; data=&quot;sip_h_api_secret=7678b8c4&quot; /&gt;&lt;execute application=&quot;set&quot; data=&quot;sip_h_to=919818753995&quot; /&gt;&lt;execute
 application=&quot;set&quot; data=&quot;sip_h_from=18188535351 &lt;sip:b9c280dd@sip.nexmo.com&gt;&quot; /&gt;&lt;execute application=&quot;set&quot; data=&quot;sip_h_answer_url=http://services.qpayi.com:8080/ivr/assets/NexmoTransfer.vxml&quot; /&gt;&lt;dial name=&quot;exten&quot; action=&quot;http://localhost:8080/ivr/fsdialmenu/dialendresponse/&quot;
 caller-id-name=&quot;HTTAPI Test&quot;&nbsp;</b><br>
</div>
<div><b>caller-id-number=&quot;18188535351&quot; context=&quot;default&quot; Dialplan=&quot;XML&quot; &gt;919818753995&lt;/dial&gt;&lt;/work&gt;&lt;/document&gt;</b><br>
</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>here,&nbsp;<span class="font" style="font-family:Calibri,Arial,Helvetica,sans-serif"><span class="size" style="font-size:small"><span class="size" style="font-size:16px"><b>18188535351</b></span></span></span>&nbsp;= Nexmo virtual number for connecting call.<br>
</div>
<div><span class="font" style="font-family:Calibri,Arial,Helvetica,sans-serif"><span class="size" style="font-size:small"><span class="size" style="font-size:16px"><b>919818753995</b></span></span></span>&nbsp;= mobile number where I am looking for making a call.<br>
</div>
<div>&nbsp;</div>
<div>It will not connected to Nexmo and call will be terminated with message as:<br>
</div>
<div>
<div><span class="colour" style="color:red">2014-11-06 11:05:18.088340 [INFO] mod_dptools.c:3234 Originate Failed. &nbsp;Cause: NORMAL_UNSPECIFIED</span><br>
</div>
<div>&nbsp;</div>
</div>
<div>Please find the FreeSwitch call Log and&nbsp;<span class="font" style="font-family:Calibri,Arial,Helvetica,sans-serif"><span class="size" style="font-size:small"><span class="size" style="font-size:16px">Nexmo Gateway (which I have added in freeswitch conf&nbsp;external
 folder)&nbsp;</span></span></span>as an attachment.<br>
</div>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">&nbsp;</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">Please let me know whether I am doing SIP trunking in correct way or need to change something.<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">&nbsp;</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">Also, Please suggest me what will be my next step for making&nbsp;a call on mobile by this ways.<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">&nbsp;</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">Thanks,<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">&nbsp;</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">Regards,<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">Manish Talwar<br>
</div>
<p style="margin-bottom:0px; margin-top:0px"><br>
</p>
</div>
<div><u>_________________________________________________________________________</u><br>
</div>
<div>Professional FreeSWITCH Consulting Services:<br>
</div>
<div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
</div>
<div><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
</div>
<div>&nbsp;</div>
<div>Official FreeSWITCH Sites<br>
</div>
<div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</div>
<div><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
</div>
<div><a href="http://www.cluecon.com">http://www.cluecon.com</a><br>
</div>
<div>&nbsp;</div>
<div>FreeSWITCH-users mailing list<br>
</div>
<div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
</div>
<div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
</div>
<div>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>
</div>
<div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</div>
<p style="margin-bottom:0px; margin-top:0px">Email had 2 attachments:<br>
</p>
<ul>
<li><code>FsCall.txt</code><br>
&nbsp; 15k (text/plain)</li><li><code>Nexmo.xml</code><br>
&nbsp; 3k (text/xml)</li></ul>
</blockquote>
<div>&nbsp;</div>
</div>
</div>
</div>
<div><u>_________________________________________________________________________</u><br>
</div>
<div>Professional FreeSWITCH Consulting Services:<br>
</div>
<div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
</div>
<div><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
</div>
<div>&nbsp;</div>
<div>Official FreeSWITCH Sites<br>
</div>
<div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</div>
<div><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
</div>
<div><a href="http://www.cluecon.com">http://www.cluecon.com</a><br>
</div>
<div>&nbsp;</div>
<div>FreeSWITCH-users mailing list<br>
</div>
<div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
</div>
<div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
</div>
<div>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>
</div>
<div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</div>
<p style="margin-bottom:0px; margin-top:0px">Email had 1 attachment:<br>
</p>
<ul>
<li><code>SipTrace.txt</code><br>
&nbsp; 9k (text/plain)</li></ul>
</blockquote>
<div>&nbsp;</div>
</div>
</div>
</div>
<div><u>_________________________________________________________________________</u><br>
</div>
<div>Professional FreeSWITCH Consulting Services:<br>
</div>
<div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
</div>
<div><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
</div>
<div>&nbsp;</div>
<div>Official FreeSWITCH Sites<br>
</div>
<div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</div>
<div><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
</div>
<div><a href="http://www.cluecon.com">http://www.cluecon.com</a><br>
</div>
<div>&nbsp;</div>
<div>FreeSWITCH-users mailing list<br>
</div>
<div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
</div>
<div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
</div>
<div>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>
</div>
<div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</div>
<p style="margin-bottom:0px; margin-top:0px">Email had 1 attachment:<br>
</p>
<ul>
<li><code>SipTrace.txt</code><br>
&nbsp; 16k (text/plain)</li></ul>
</blockquote>
<div>&nbsp;</div>
</div>
</div>
</div>
</body>
</html>