Thanks, i got it working now. <div><br></div><div>The user greeting was set to beep with 10 second silence afterwards, which confused me with voicemail beep, an interesting mistake from my colleague.<div><br></div><div>Thank you.</div>

<div><br><br><div class="gmail_quote">On Mon, Jan 28, 2013 at 12:22 PM, Avi Marcus <span dir="ltr">&lt;<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<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></p><blockquote type="cite"><div class="im">On Jan 28, 2013 12:10 PM, &quot;Muhammad Shahzad&quot; &lt;<a href="mailto:shaheryarkh@gmail.com" target="_blank">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.</div><p><font color="#500050"></font></p><div class="im"><font color="#500050"><br><br><br>On Mon, Jan 28, 2013 at 8:30 AM, Avi Marcus &lt;<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>&gt; wrote:<br>

&gt;<br></font></div><font color="#500050">&gt; If you call FS&#39;s voice...</font><p></p><div class="im">
<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>
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" 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>
<br></div></blockquote><p></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></div><br><br clear="all"><div><br></div>-- <br><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Muhammad Shahzad</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">------------------------------</span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">-----</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">CISCO Rich Media Communication Specialist (CRMCS)</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">CISCO Certified Network Associate (CCNA)</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Cell: +49 176 99 83 10 85</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">MSN: </span><a href="mailto:shari_786pk@hotmail.com" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank">shari_786pk@hotmail.com</a><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Email: </span><a href="mailto:shaheryarkh@googlemail.com" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)" target="_blank">shaheryarkh@googlemail.com</a>
</div></div>