<p>Get a log in FS of the call. Maybe it'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, "Muhammad Shahzad" <<a href="mailto:shaheryarkh@gmail.com">shaheryarkh@gmail.com</a>> 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> <extension name="voicemail"></div>
<div> <condition field="destination_number" expression="^(\d+)$"></div><div> <action application="export" data="dialed_extension=$1"/></div><div> <action application="export" data="session_in_hangup_hook=true"/></div>
<div> <action application="set" data="api_hangup_hook=lua test_hangup_hook.lua 2 4 ${channel_name}"/></div><div> <action application="set" data="context=test"/></div>
<div> <action application="set" data="skip_instructions=true"/></div><div> <action application="set" data="default_gateway=my_dummy_gw"/></div><div> <action application="set" data="transfer_fallback_extension=my_dummy_operator"/></div>
<div> <action application="set" data="record_stereo=true"/></div><div> <action application="set" data="transfer_ringback=$${hold_music}"/></div><div> <action application="set" data="call_timeout=30"/></div>
<div> <action application="answer"/></div><div> <action application="sleep" data="1000"/></div><div> <action application="voicemail" data="default test_profile $1"/></div>
<div> <action application="hangup"/></div><div> </condition></div><div> </extension></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 <<a href="mailto:avi@avimarcus.net">avi@avimarcus.net</a>> wrote:<br>><br>> If you call FS'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>