<p>Get a log in FS of the call. Maybe it&#39;s a permission issue. The logs should help. </p>
<p>-Avi<br>
(This message was painstakingly thumbed out on my mobile, so apologies for brevity and errors.)</p>
<p><blockquote type="cite">On Jan 28, 2013 12:10 PM, &quot;Muhammad Shahzad&quot; &lt;<a href="mailto:shaheryarkh@gmail.com">shaheryarkh@gmail.com</a>&gt; wrote:<br><br><div>For some reason its not working for me. I have FS behind OpenSIPS, serving only voicemail, so when call comes in on FS, i simply send it to voicemail directly. Here is my dial plan.</div>
<div><br></div><div><div>    &lt;extension name=&quot;voicemail&quot;&gt;</div>

<div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(\d+)$&quot;&gt;</div><div>        &lt;action application=&quot;export&quot; data=&quot;dialed_extension=$1&quot;/&gt;</div><div>        &lt;action application=&quot;export&quot; data=&quot;session_in_hangup_hook=true&quot;/&gt;</div>


<div>        &lt;action application=&quot;set&quot; data=&quot;api_hangup_hook=lua test_hangup_hook.lua 2 4 ${channel_name}&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;context=test&quot;/&gt;</div>


<div>        &lt;action application=&quot;set&quot; data=&quot;skip_instructions=true&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;default_gateway=my_dummy_gw&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;transfer_fallback_extension=my_dummy_operator&quot;/&gt;</div>


<div>        &lt;action application=&quot;set&quot; data=&quot;record_stereo=true&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;transfer_ringback=$${hold_music}&quot;/&gt;</div><div>        &lt;action application=&quot;set&quot; data=&quot;call_timeout=30&quot;/&gt;</div>


<div>        &lt;action application=&quot;answer&quot;/&gt;</div><div>        &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;</div><div>        &lt;action application=&quot;voicemail&quot; data=&quot;default test_profile $1&quot;/&gt;</div>


<div>        &lt;action application=&quot;hangup&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div></div><div><br></div><div>But its not working accordingly. Do you suspect anything wrong in it? Which might be causing it?</div>


<div><br></div>Thank you.<p><font color="#500050"><br><br><br>On Mon, Jan 28, 2013 at 8:30 AM, Avi Marcus &lt;<a href="mailto:avi@avimarcus.net">avi@avimarcus.net</a>&gt; wrote:<br>&gt;<br>&gt; If you call FS&#39;s voice...</font></p>
<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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.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>
<br></blockquote></p>