<div dir="ltr">Without some logs to go along with this its hard to tell what exactly is going on... what platform are you running on?</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 26, 2014 at 8:56 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>We are still getting same error while calling SIP id from FSClient to freeSWITCH:</p>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">
<span style="color:rgb(255,0,0)">​sofia.c:4354 Hangup sofia/internal/<a href="mailto:1001@54.73.48.31" target="_blank">1001@54.73.48.31</a> [CS_NEW] [INCOMPATIBLE_DESTINATION]</span></div>
<p><br>
</p>
<p>Its seem like some configuration issue only, Please suggest us details of conf setting which we need to applied for resolving this issue.<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 face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Manish Talwar<br>
<b>Sent:</b> 25 September 2014 18:38<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] Problem in getting digits value in Playback application</font>
<div> </div>
</div>
<div>
<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;<a href="http://sip:mod_sofia@10.106.3.191:5080" target="_blank">sip:mod_sofia@10.106.3.191:5080</a>&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;. </div>
<div><span style="font-size:12pt"><br>
</span></div>
<div><span style="font-size:12pt">where,</span><span style="font-size:12pt"> &quot;</span><span style="font-size:12pt">54.73.48.31</span><span style="font-size:12pt">&quot; is 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 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 throws error as:<br>
</div>
<div><span style="color:rgb(255,0,0)">sofia.c:4354 Hangup sofia/internal/<a href="mailto:1001@54.73.48.31" target="_blank">1001@54.73.48.31</a> [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,  &quot;<span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">acl.conf.xml&quot; 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 style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" 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> 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> </div>
</div>
<div>
<div dir="ltr">
<div>The port audio error seems to indicate that there isn&#39;t any kind of sound card or other audio device. I don&#39;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 trying to install FreeSwitch setup on our QA Server now. I have <span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">followed all </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 </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; .<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 &quot;load mod_portaudio&quot; on &quot;fs_cli&quot;</span> its throwing an error as: <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, 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&#39;s I need to follow or any Server configuration required 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> </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 want to play multiple audio file by &quot;playback&quot;, run 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 for running multiple commands as a 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 &#39;&#39; myDigit &#39;&#39;&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 &#39;&#39; myDigit &#39;&#39;&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, Its playing all commands  as mentioned in dialplan and then move to Action URL after completing all command in a request. ​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">​ ​<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 my request <font face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:16px">to Action URL </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 </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> </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 running fine</span></span><span style="text-align:right;font-family:Arial,Helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"> 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 </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">    </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>    &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;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>        &lt;execute application=&quot;play_and_get_digits&quot; data=&quot;1 4 1 5000 # ivr/MP3/card_activate_birth_date.mp3 &#39;&#39; myChannelVar \d+&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>        &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>        &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>    ​&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 </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> </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> </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> </div>
</div>
<div>
<div>
<div>
<p>Hi,<br>
</p>
<p><br>
</p>
<p>I have tried by giving below Permission <span style="color:rgb(33,33,33);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">with </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 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">    </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> &lt;!-- default to &quot;deny&quot; or &quot;allow&quot; --&gt;</div>
<div><span style="white-space:pre-wrap"></span> &lt;application-list default=&quot;allow&quot;&gt;</div>
<div><span style="white-space:pre-wrap"></span>       &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>       &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>       &lt;application name=&quot;hangup&quot;/&gt;</div>
<div><span style="white-space:pre-wrap"></span> &lt;/application-list&gt;</div>
<div>    &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>    &lt;params&gt;&lt;/params&gt;</div>
<div>    &lt;work&gt;</div>
<div>        &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 &#39;&#39; foobar \d+&quot; /&gt;</div>
<div>    &lt;/work&gt;</div>
<div>&lt;/document&gt;<br>
</div>
<div><br>
</div>
<div>but still its giving me error as <span style="font-family:Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> </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>    &lt;params&gt;&lt;/params&gt;</div>
<div>    &lt;work&gt;</div>
<div>        &lt;execute application=&quot;hangup&quot;/&gt;</div>
<div>    ​&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​. Please find my <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> <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 this &quot;play_and_get_digits​&quot; command.  </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 but while using it in Web Application with &quot;&lt;execute&gt;&quot; httapi 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 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>
 </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" 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>

<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><br clear="all"><div><br></div>-- <br><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://bkw.org/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div>
</div>