<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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></p>
<div>Hi,<br>
</div>
<div><br>
</div>
<div>We have setup our freeswitch on AWS EC2 and tried to call it from &quot;FSClient&quot;.<br>
</div>
<div><br>
</div>
<div>We have registered a user &quot;1001&quot; on &quot;FSClient&quot; by SIP URL: &quot;sip:mod_sofia@10.106.3.191:5080&quot; and Server &quot;<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">54.73.48.31</span>&quot;.&nbsp;</div>
<div><span style="font-size: 12pt;"><br>
</span></div>
<div><span style="font-size: 12pt;">where,</span><span style="font-size: 12pt;">&nbsp;&quot;</span><span style="font-size: 12pt;">54.73.48.31</span><span style="font-size: 12pt;">&quot; is&nbsp;P</span><span style="font-size: 12pt;">ublic IP and &quot;</span><span style="font-size: 12pt;">1</span><span style="font-size: 12pt;">0.106.3.</span><span style="font-size: 12pt;">191</span><span style="font-size: 12pt;">&quot;
 is&nbsp;Private IP on Server.</span></div>
<div><br>
</div>
<div>When we call on 5000 from registred sip client, it will communicate with server and&nbsp;throws error as:<br>
</div>
<div><span style="color: rgb(255, 0, 0);">sofia.c:4354 Hangup sofia/internal/1001@54.73.48.31 [CS_NEW] [INCOMPATIBLE_DESTINATION]</span><br>
</div>
<div><br>
</div>
<div>We have registered server as public ip of the instance.<br>
</div>
<div><br>
</div>
<div>Please find log of FS_CLI as &quot;log.txt&quot; file,&nbsp;&nbsp;&quot;<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">acl.conf.xml&quot;&nbsp;and &quot;1001.xml&quot;</span> files as an attachment.</div>
<div><br>
</div>
<div>Please suggest us what changes we need to do for resolving this problem.<br>
</div>
<div><br>
</div>
<div>Regards,<br>
</div>
<div>Manish Talwar<br>
</div>
<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 face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Michael Collins &lt;msc@freeswitch.org&gt;<br>
<b>Sent:</b> 24 September 2014 21:28<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] Problem in getting digits value in Playback application</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">
<div>The port audio error seems to indicate that there isn't any kind of sound card or other audio device. I don't see how installing sound files could possibly fix that. Port audio requires some kind of hardware - sound card, USB headset, etc. - in order to
 function properly.<br>
<br>
</div>
<div>-MC<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Sep 24, 2014 at 6:33 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>Hi,<br>
</p>
<p><br>
</p>
<p>Thanks for your response, I will try to use &quot;<span style="color:rgb(33,33,33); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">bind_digit_action</span>&quot; soon.<br>
</p>
<p><br>
</p>
<p>Meanwhile, I am&nbsp;trying&nbsp;to install FreeSwitch setup on our QA Server now. I have&nbsp;<span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">followed all&nbsp;</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">necces</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">sary&nbsp;</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">steps
 for </span>installing it on Server &quot;Ubuntu 10.04.4 LTS (AWS EC2)&quot;&nbsp;.<br>
</p>
<p><br>
</p>
<p>But after installing, <span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">
while running a command&nbsp;&quot;load mod_portaudio&quot; on &quot;fs_cli&quot;</span>&nbsp;its throwing an error as:&nbsp;<br>
</p>
<p><br>
</p>
<div><span style="color:rgb(255,0,0)"></span></div>
<div>
<div><span style="color:rgb(255,0,0)">2014-09-24 13:12:11.771250 [ERR] mod_portaudio.c:980 Cannot find an input device</span></div>
<div><span style="color:rgb(255,0,0)">2014-09-24 13:12:11.771250 [ERR] mod_portaudio.c:990 Cannot find an input device</span></div>
<div><span style="color:rgb(255,0,0)">2014-09-24 13:12:11.771250 [CRIT] switch_loadable_module.c:882 Error Loading module /usr/local/freeswitch/mod/mod_portaudio.so</span></div>
<div><span style="color:rgb(255,0,0)">**Module load routine returned an error**</span><br>
</div>
<br>
</div>
<p></p>
<p>After that,&nbsp;I have tried to install &quot;<span style="font-size:12pt"><strong>make cd-sounds-install</strong>&quot; and &quot;</span><span style="font-size:12pt"><strong>make cd-moh-install</strong></span><span style="font-size:12pt">​&quot; on server but its still throwing
 same error after installing it.</span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">Please let me know, what step's I need to follow or any Server configuration required&nbsp;for resolving this error on Server.</span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">Thanks,</span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">Regards,</span></p>
<p><span style="font-size:12pt">Manish Talwar</span></p>
<p><br>
</p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> Michael Collins &lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;<br>
<b>Sent:</b> 23 September 2014 02:36<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] Problem in getting digits value in Playback application</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">
<div>If you want to react immediately when the caller presses a single digit then you should probably be investigating bind_digit_action:
<a href="https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bind_digit_action" target="_blank">
https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bind_digit_action</a><br>
<br>
</div>
-MC<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Sep 21, 2014 at 11:53 PM, 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></p>
<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">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; margin-top:0px; margin-bottom:0px">
I am able to get the channel variable value in a request now by &quot;play_and_get_digits&quot; command. But now, I need some suggestion for below query:<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; margin-top:0px; margin-bottom:0px">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; margin-top:0px; margin-bottom:0px">
As per my requirement, I&nbsp;want to play multiple audio file by &quot;playback&quot;, run&nbsp;TTS by &quot;Speak&quot;, and get digit by &quot;Play_and_get_digits&quot; in a single dialplan as a batch. I am sending below request to freeswitch&nbsp;for running multiple commands as a&nbsp;batch in a request:<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; margin-top:0px; margin-bottom:0px">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; margin-top:0px; margin-bottom:0px">
<br>
</div>
<span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)"><strong>&lt;document type=&quot;xml/freeswitch-httapi&quot;&gt;&lt;params&gt;&lt;/params&gt;&lt;variables&gt;&lt;myDigit&gt;-1&lt;/myDigit&gt;&lt;/variables&gt;&lt;work&gt;&lt;getVariable name=&quot;myDigit&quot; permanent=&quot;1&quot;/&gt;&lt;execute
 application=&quot;log&quot; data=&quot;INFO my_chan_var contains ${myDigit}&quot;/&gt;&lt;speak name=&quot;extenSpeak&quot; text=&quot;Welcome to Q Pay&quot; engine=&quot;flite&quot; voice=&quot;slt&quot; &gt;&lt;/speak&gt;&lt;execute action=&quot;<a href="http://localhost:9000/ivr/fswelcomeresponse" target="_blank">http://localhost:9000/ivr/fswelcomeresponse</a>&quot;
 application=&quot;play_and_get_digits&quot; data=&quot;0 1 1 2000 # ivr/MP3/dial_menu_index_five.mp3 '' myDigit ''&quot; /&gt;&lt;execute application=&quot;log&quot; data=&quot;INFO my_chan_var contains ${myDigit}&quot;/&gt;&lt;execute application=&quot;log&quot; data=&quot;INFO my_chan_var contains ${myDigit}&quot;/&gt;&lt;playback
 name=&quot;exten&quot; file=&quot;ivr/MP3/dial_menu_index_one.mp3&quot; action=&quot;<a href="http://localhost:9000/ivr/fswelcomeresponse" target="_blank">http://localhost:9000/ivr/fswelcomeresponse</a>&quot; digit-timeout=&quot;1000&quot; input-timeout=&quot;1000&quot; &gt;&lt;bind&gt;~\d{1,3}#{0,1}&lt;/bind&gt;&lt;/playback&gt;&lt;execute
 application=&quot;log&quot; data=&quot;INFO my_chan_var contains ${myDigit}&quot;/&gt;&lt;speak name=&quot;extenSpeak1&quot; text=&quot;Press two for english.&quot; engine=&quot;flite&quot; voice=&quot;slt&quot; &gt;&lt;/speak&gt;&lt;execute application=&quot;log&quot; data=&quot;INFO my_chan_var contains ${myDigit}&quot;/&gt;&lt;playback name=&quot;exten&quot; file=&quot;ivr/MP3/dial_menu_index_four.mp3&quot;
 action=&quot;<a href="http://localhost:9000/ivr/fswelcomeresponse" target="_blank">http://localhost:9000/ivr/fswelcomeresponse</a>&quot; digit-timeout=&quot;1000&quot; input-timeout=&quot;1000&quot; &gt;&lt;bind&gt;~\d{1,3}#{0,1}&lt;/bind&gt;&lt;/playback&gt;&lt;execute action=&quot;<a href="http://localhost:9000/ivr/fswelcomeresponse" target="_blank">http://localhost:9000/ivr/fswelcomeresponse</a>&quot;
 application=&quot;play_and_get_digits&quot; data=&quot;0 1 1 2000 # ivr/MP3/dial_menu_index_five.mp3 '' myDigit ''&quot; /&gt;&lt;execute application=&quot;log&quot; data=&quot;INFO my_chan_var contains ${myDigit}&quot;/&gt;&lt;execute application=&quot;log&quot; data=&quot;INFO my_chan_var contains ${myDigit}&quot;/&gt;&lt;speak name=&quot;extenSpeak2&quot;
 text=&quot;Press star to repeat.&quot; engine=&quot;flite&quot; voice=&quot;slt&quot; &gt;&lt;/speak&gt;&lt;/work&gt;&lt;/document&gt;</strong></span><br style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">
<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"><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">Currently,&nbsp;Its playing all commands &nbsp;as mentioned in dialplan and then move to Action URL after completing all command in a request.&nbsp;​But I need to send my request to Action URL immidieatly
 when user press any digit.<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">​&nbsp;​<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">I have​ studied something
<strong>&quot;break [UDDI]&quot;</strong> for skipping current batch request and move to other request in httapi application but I am not getting more details about it.<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">Please let me know, how to I implement my requirement and send&nbsp;my request&nbsp;<font face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:16px">to Action URL&nbsp;</span></font><font face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:16px">immidie</span></font><font face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:16px">atly&nbsp;</span></font><font face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:16px">when
 user press any digit?</span></font><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px"><font face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:16px"><br>
</span></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px"><font face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:16px">Thanks,</span></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px"><font face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:16px"><br>
</span></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px"><font face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:16px">Regards,</span></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px"><font face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:16px">Manish Talwar</span></font></div>
<p><br>
</p>
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> Manish Talwar<br>
<b>Sent:</b> 18 September 2014 13:44<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> RE: [Freeswitch-users] Problem in getting digits value in Playback application</font>
<div>&nbsp;</div>
</div>
<div>
<p><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt">Hi,</span></p>
<p><span style="text-align:right; 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="text-align:right; font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">As you suggested, &quot;Play_and_get_digits&quot; command is&nbsp;running fine</span></span><span style="text-align:right; font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">&nbsp;now,
 But I am still not able to get the value of Channel var</span></span><span style="text-align:right; font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">iable &quot;myChannelVar&quot; in a call as&nbsp;</span></span></span><span style="font-size:10pt; text-align:right; font-family:Arial,Helvetica,sans-serif"><span>Its
 returning me blank value.</span></span></p>
<p><span style="font-size:10pt; text-align:right; font-family:Arial,Helvetica,sans-serif"><span><br>
</span></span></p>
<p><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif">I am sending request as:</span></p>
<div style="background-color:rgb(255,255,255)"><br style="font-family:Arial,Helvetica,sans-serif; font-size:10pt">
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><strong>&lt;document type=&quot;xml/freeswitch-httapi&quot;&gt;</strong></span></pre>
<pre><span style="font-size:10pt"><span style="font-family:Arial,Helvetica,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-family:Arial,Helvetica,sans-serif">​</span><span style="font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><strong>&lt;params&gt;&lt;/params&gt;</strong></span></span></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><span style="font-family:Arial,Helvetica,sans-serif"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&lt;work&gt;</strong></span></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><span style="font-family:Arial,Helvetica,sans-serif"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;getVariable  name=&quot;myChannelVar&quot; permanent=&quot;1&quot;/&gt;</strong></span></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><span style="font-family:Arial,Helvetica,sans-serif"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;execute application=&quot;play_and_get_digits&quot; data=&quot;1 4 1 5000 # ivr/MP3/card_activate_birth_date.mp3 '' myChannelVar \d&#43;&quot; /&gt;</strong></span></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><span style="font-family:Arial,Helvetica,sans-serif"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;execute application=&quot;log&quot; data=&quot;INFO my_chan_var contains ${myChannelVar}&quot;/&gt;</strong></span></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><span style="font-family:Arial,Helvetica,sans-serif"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;execute application=&quot;hangup&quot;/&gt;</strong></span></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><span style="font-family:Arial,Helvetica,sans-serif"><strong>&nbsp;&nbsp;&nbsp;&nbsp;​&lt;/work&gt;</strong></span></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><span style="font-family:Arial,Helvetica,sans-serif"><strong>&lt;/document&gt;</strong></span></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><span style="font-family:Arial,Helvetica,sans-serif"><strong><br></strong></span></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt">As a output, its play a audio file and I pressed a key 2222 digits in a call but its returning me blank value in channel variable &quot;<strong style="font-size:10pt">myChannelVar​</strong></span><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt">&quot;.</span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt">I got a response in a console log as:</span></pre>
<pre><div><span style="color:rgb(255,0,0)">2014-09-18 13:28:49.739010 [DEBUG] mod_httapi.c:1217 Process Tag: [execute]</span></div><div><span style="color:rgb(255,0,0)">EXECUTE portaudio/5000 log(INFO my_chan_var contains )</span></div><div><span style="color:rgb(255,0,0)">2014-09-18 13:28:49.739010 [INFO] mod_dptools.c:1628 my_chan_var contains</span><br></div></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><span style="font-family:Arial,Helvetica,sans-serif">I have set the permission in my </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">HTT</span></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">API config file to <strong>&quot;set-vars&quot;, &quot;get-vars&quot; &amp; &quot;expand-vars&quot; </strong>tags</span></span><span style="font-family:Arial,Helvetica,sans-serif"> and its seem like working fine. For reference, please find </span><span style="font-family:Arial,Helvetica,sans-serif; background-color:rgb(255,255,255)"><span style="font-family:Arial,Helvetica,sans-serif">my&nbsp;</span></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">HTT</span></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">API config file</span></span><span style="font-family:Arial,Helvetica,sans-serif"> as an attachment.</span></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><br style="font-family:Arial,Helvetica,sans-serif"></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><span style="font-family:Arial,Helvetica,sans-serif">Please suggest me how do I got a channel variable value and pass it to other POST request.</span></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><br style="font-family:Arial,Helvetica,sans-serif"></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt">Thanks,</span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><br></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><span style="font-family:Arial,Helvetica,sans-serif">Regards,</span></span></pre>
<pre><span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt"><span style="font-family:Arial,Helvetica,sans-serif">Manish Talwar</span></span></pre>
</div>
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> Manish Talwar &lt;<a href="mailto:manish.talwar@zaristo.com" target="_blank">manish.talwar@zaristo.com</a>&gt;<br>
<b>Sent:</b> 18 September 2014 11:54<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] Problem in getting digits value in Playback application</font>
<div>&nbsp;</div>
</div>
<div>
<p>​Its working fine now, Thanks a lot.<br>
</p>
<p><br>
</p>
<p>Regards,<br>
</p>
<p>Manish Talwar<br>
</p>
<p><br>
</p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> Michael Collins &lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;<br>
<b>Sent:</b> 18 September 2014 01:00<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] Problem in getting digits value in Playback application</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">
<div>I think what you did was set the default to allow and everything you listed underneath became denied. Try setting the default back to deny and see if it works as expected.<br>
</div>
-MC<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Sep 17, 2014 at 7:28 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>Hi,<br>
</p>
<p><br>
</p>
<p>Please revert me about Permission setting ASAP.<br>
</p>
<p><br>
</p>
<p>Regards,<br>
</p>
<p>Manish Talwar<br>
</p>
<p><br>
</p>
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> Manish Talwar<br>
<b>Sent:</b> 17 September 2014 10:59<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> RE: [Freeswitch-users] Problem in getting digits value in Playback application</font>
<div>&nbsp;</div>
</div>
<div>
<div>
<div>
<p>Hi,<br>
</p>
<p><br>
</p>
<p>I have tried by giving below Permission&nbsp;<span style="color:rgb(33,33,33); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">with&nbsp;</span><span style="color:rgb(33,33,33); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">my&nbsp;HTT</span><span style="color:rgb(33,33,33); font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; background-color:rgb(255,255,255)">API
 config file.</span>​<br>
</p>
<p><br>
</p>
<span style="font-size:12pt">&nbsp; &nbsp;&nbsp;</span><span style="font-size:12pt">&lt;permission name=&quot;execute-apps&quot; value=&quot;true&quot;&gt;</span>
<div><span style="white-space:pre-wrap"></span>&nbsp;&lt;!-- default to &quot;deny&quot; or &quot;allow&quot; --&gt;</div>
<div><span style="white-space:pre-wrap"></span>&nbsp;&lt;application-list default=&quot;allow&quot;&gt;</div>
<div><span style="white-space:pre-wrap"></span>&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- type attr can be &quot;deny&quot; or &quot;allow&quot; nothing defaults to opposite of the list default so allow in this case --&gt;</div>
<div><span style="white-space:pre-wrap"></span>&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;application name=&quot;info&quot;/&gt;</div>
<div><span style="white-space:pre-wrap"></span>&lt;application name=&quot;play_and_get_digits&quot;/&gt;<span style="white-space:pre-wrap">
</span></div>
<div><span style="white-space:pre-wrap"></span>&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;application name=&quot;hangup&quot;/&gt;</div>
<div><span style="white-space:pre-wrap"></span>&nbsp;&lt;/application-list&gt;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/permission&gt;<br>
</div>
<div><br>
</div>
<div>and from Web Application, I am sending request as:<br>
</div>
<div><br>
</div>
<div>&lt;document type=&quot;xml/freeswitch-httapi&quot;&gt;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&lt;params&gt;&lt;/params&gt;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&lt;work&gt;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;execute application=&quot;play_and_get_digits&quot; data=&quot;1 4 1 5000 # /ivr/8000/ivr-enter_number_to_remove_from_blacklist.wav '' foobar \d&#43;&quot; /&gt;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/work&gt;</div>
<div>&lt;/document&gt;<br>
</div>
<div><br>
</div>
<div>but still its giving me error as&nbsp;<span style="font-family:Arial,Helvetica,sans-serif; font-size:13px; background-color:rgb(255,255,255)">&nbsp;</span><span style="font-family:Arial,Helvetica,sans-serif; font-size:13px; color:rgb(255,0,0); background-color:rgb(255,255,255)">&quot;[ERR]
 mod_httapi.c:840 Permission Denied!&quot;</span>​<br>
</div>
<div><br>
</div>
<div>However, its work fine with hangup application:<br>
</div>
<div><br>
</div>
<div>&lt;document type=&quot;xml/freeswitch-httapi&quot;&gt;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&lt;params&gt;&lt;/params&gt;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&lt;work&gt;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;execute application=&quot;hangup&quot;/&gt;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;​&lt;/work&gt;</div>
<div>&lt;/document&gt;<br>
</div>
<div><br>
</div>
<div>I feel, it must be some setting problem in config file only​.&nbsp;Please find my&nbsp;<span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; color:rgb(33,33,33); background-color:rgb(255,255,255)">HTT</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px; color:rgb(33,33,33); background-color:rgb(255,255,255)">API
 config file</span>​ as an attachment and let me know if any changes required in this file.<br>
</div>
<div><br>
</div>
<div>Thanks,<br>
</div>
<div><br>
</div>
<div>Regards,<br>
</div>
<div>Manish​ Talwar<br>
</div>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block; width:98%">
<div dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> Michael Collins &lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;​<br>
<b>Sent:</b> 16 September 2014 23:09<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] Problem in getting digits value in Playback application</font>
<div>&nbsp;<br>
</div>
</div>
<div>
<div dir="ltr"><br>
<div class="gmail_extra">
<div class="gmail_quote">On Tue, Sep 16, 2014 at 9:46 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:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); 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">Thanks for quick response, I have already try to use&nbsp;this &quot;play_and_get_digits​&quot; command. &nbsp;</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">Its working fine when I use this as a dialplan &lt;extension&gt; tag in FreeSwitch file&nbsp;but while using it in Web Application with &quot;&lt;execute&gt;&quot; httapi&nbsp;command its throwing error as
<span style="color:rgb(255,0,0)">&quot;[ERR] mod_httapi.c:840 Permission Denied!&quot;</span></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">I have tried to reset Permission&nbsp;of &quot;execute-apps&quot; in httapi-conf.xml file, but still got same error.</span><br style="font-family:Arial,Helvetica,sans-serif">
</span></p>
<a href="http://www.freeswitchsolutions.com" target="_blank"></a><br>
</div>
</blockquote>
<div>This is almost certainly a permissions issue with your HTTAPI config file. What do you have in your &quot;execute-apps&quot; section? The default is to deny and then explicitly allow only the items you specify. FYI, this is covered quite thoroughly in the FreeSWITCH
 1.2 book on pages 277-280.<br>
<br>
</div>
<div>-MC<br>
</div>
<div><br>
&nbsp;</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" 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>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" 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>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</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>