<div dir="ltr">Generally INCOMPATIBLE_DESTINATION means the 2 ends don't share a common codec. What does the local + remote SDP show?<div><br></div><div>Also try with verbose_sdp=true, as some clients with broken implementations will fail if the optional a=rtpmap lines are missing for static payload types.</div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 26 September 2014 14:56, Manish Talwar <span dir="ltr"><<a href="mailto:manish.talwar@zaristo.com" target="_blank">manish.talwar@zaristo.com</a>></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 "FSClient".<br>
</div>
<div><br>
</div>
<div>We have registered a user "1001" on "FSClient" by SIP URL: "<a href="http://sip:mod_sofia@10.106.3.191:5080" target="_blank">sip:mod_sofia@10.106.3.191:5080</a>" and Server "<span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">54.73.48.31</span>". </div>
<div><span style="font-size:12pt"><br>
</span></div>
<div><span style="font-size:12pt">where,</span><span style="font-size:12pt"> "</span><span style="font-size:12pt">54.73.48.31</span><span style="font-size:12pt">" is P</span><span style="font-size:12pt">ublic IP and "</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">"
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 "log.txt" file, "<span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">acl.conf.xml" and "1001.xml"</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 <<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>><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'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">
<<a href="mailto:manish.talwar@zaristo.com" target="_blank">manish.talwar@zaristo.com</a>></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 "<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>" 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 "Ubuntu 10.04.4 LTS (AWS EC2)" .<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 "load mod_portaudio" on "fs_cli"</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 "<span style="font-size:12pt"><strong>make cd-sounds-install</strong>" and "</span><span style="font-size:12pt"><strong>make cd-moh-install</strong></span><span style="font-size:12pt">" 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 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 <<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>><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">
<<a href="mailto:manish.talwar@zaristo.com" target="_blank">manish.talwar@zaristo.com</a>></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 "play_and_get_digits" 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 "playback", run TTS by "Speak", and get digit by "Play_and_get_digits" 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><document type="xml/freeswitch-httapi"><params></params><variables><myDigit>-1</myDigit></variables><work><getVariable name="myDigit" permanent="1"/><execute
application="log" data="INFO my_chan_var contains ${myDigit}"/><speak name="extenSpeak" text="Welcome to Q Pay" engine="flite" voice="slt" ></speak><execute action="<a href="http://localhost:9000/ivr/fswelcomeresponse" target="_blank">http://localhost:9000/ivr/fswelcomeresponse</a>"
application="play_and_get_digits" data="0 1 1 2000 # ivr/MP3/dial_menu_index_five.mp3 '' myDigit ''" /><execute application="log" data="INFO my_chan_var contains ${myDigit}"/><execute application="log" data="INFO my_chan_var contains ${myDigit}"/><playback
name="exten" file="ivr/MP3/dial_menu_index_one.mp3" action="<a href="http://localhost:9000/ivr/fswelcomeresponse" target="_blank">http://localhost:9000/ivr/fswelcomeresponse</a>" digit-timeout="1000" input-timeout="1000" ><bind>~\d{1,3}#{0,1}</bind></playback><execute
application="log" data="INFO my_chan_var contains ${myDigit}"/><speak name="extenSpeak1" text="Press two for english." engine="flite" voice="slt" ></speak><execute application="log" data="INFO my_chan_var contains ${myDigit}"/><playback name="exten" file="ivr/MP3/dial_menu_index_four.mp3"
action="<a href="http://localhost:9000/ivr/fswelcomeresponse" target="_blank">http://localhost:9000/ivr/fswelcomeresponse</a>" digit-timeout="1000" input-timeout="1000" ><bind>~\d{1,3}#{0,1}</bind></playback><execute action="<a href="http://localhost:9000/ivr/fswelcomeresponse" target="_blank">http://localhost:9000/ivr/fswelcomeresponse</a>"
application="play_and_get_digits" data="0 1 1 2000 # ivr/MP3/dial_menu_index_five.mp3 '' myDigit ''" /><execute application="log" data="INFO my_chan_var contains ${myDigit}"/><execute application="log" data="INFO my_chan_var contains ${myDigit}"/><speak name="extenSpeak2"
text="Press star to repeat." engine="flite" voice="slt" ></speak></work></document></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>"break [UDDI]"</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, "Play_and_get_digits" 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 "myChannelVar" 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><document type="xml/freeswitch-httapi"></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><params></params></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> <work></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> <getVariable name="myChannelVar" permanent="1"/></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> <execute application="play_and_get_digits" data="1 4 1 5000 # ivr/MP3/card_activate_birth_date.mp3 '' myChannelVar \d+" /></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> <execute application="log" data="INFO my_chan_var contains ${myChannelVar}"/></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> <execute application="hangup"/></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> </work></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></document></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 "<strong style="font-size:10pt">myChannelVar</strong></span><span style="font-family:Arial,Helvetica,sans-serif;font-size:10pt">".</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>"set-vars", "get-vars" & "expand-vars" </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 <<a href="mailto:manish.talwar@zaristo.com" target="_blank">manish.talwar@zaristo.com</a>><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 <<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>><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">
<<a href="mailto:manish.talwar@zaristo.com" target="_blank">manish.talwar@zaristo.com</a>></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"><permission name="execute-apps" value="true"></span>
<div><span style="white-space:pre-wrap"></span> <!-- default to "deny" or "allow" --></div>
<div><span style="white-space:pre-wrap"></span> <application-list default="allow"></div>
<div><span style="white-space:pre-wrap"></span> <!-- type attr can be "deny" or "allow" nothing defaults to opposite of the list default so allow in this case --></div>
<div><span style="white-space:pre-wrap"></span> <application name="info"/></div>
<div><span style="white-space:pre-wrap"></span><application name="play_and_get_digits"/><span style="white-space:pre-wrap">
</span></div>
<div><span style="white-space:pre-wrap"></span> <application name="hangup"/></div>
<div><span style="white-space:pre-wrap"></span> </application-list></div>
<div> </permission><br>
</div>
<div><br>
</div>
<div>and from Web Application, I am sending request as:<br>
</div>
<div><br>
</div>
<div><document type="xml/freeswitch-httapi"></div>
<div> <params></params></div>
<div> <work></div>
<div> <execute application="play_and_get_digits" data="1 4 1 5000 # /ivr/8000/ivr-enter_number_to_remove_from_blacklist.wav '' foobar \d+" /></div>
<div> </work></div>
<div></document><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)">"[ERR]
mod_httapi.c:840 Permission Denied!"</span><br>
</div>
<div><br>
</div>
<div>However, its work fine with hangup application:<br>
</div>
<div><br>
</div>
<div><document type="xml/freeswitch-httapi"></div>
<div> <params></params></div>
<div> <work></div>
<div> <execute application="hangup"/></div>
<div> </work></div>
<div></document><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 <<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>><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">
<<a href="mailto:manish.talwar@zaristo.com" target="_blank">manish.talwar@zaristo.com</a>></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 "play_and_get_digits" 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 <extension> tag in FreeSwitch file but while using it in Web Application with "<execute>" httapi command its throwing error as
<span style="color:rgb(255,0,0)">"[ERR] mod_httapi.c:840 Permission Denied!"</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 "execute-apps" 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 "execute-apps" 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" 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>