Thanks, i got it working now.
Get a log in FS of the call. Maybe it's a permission issue. The logs should help.
-Avi
(This message was painstakingly thumbed out on my mobile, so apologies for brevity and errors.)On Jan 28, 2013 12:10 PM, "Muhammad Shahzad" <shaheryarkh@gmail.com> wrote:> If you call FS's voice...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.<extension name="voicemail"><condition field="destination_number" expression="^(\d+)$"><action application="export" data="dialed_extension=$1"/><action application="export" data="session_in_hangup_hook=true"/><action application="set" data="api_hangup_hook=lua test_hangup_hook.lua 2 4 ${channel_name}"/><action application="set" data="context=test"/><action application="set" data="skip_instructions=true"/><action application="set" data="default_gateway=my_dummy_gw"/><action application="set" data="transfer_fallback_extension=my_dummy_operator"/><action application="set" data="record_stereo=true"/><action application="set" data="transfer_ringback=$${hold_music}"/><action application="set" data="call_timeout=30"/><action application="answer"/><action application="sleep" data="1000"/><action application="voicemail" data="default test_profile $1"/><action application="hangup"/></condition></extension>But its not working accordingly. Do you suspect anything wrong in it? Which might be causing it?Thank you.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org