[Freeswitch-users] How to auto save voicemail message?
Avi Marcus
avi at avimarcus.net
Mon Jan 28 14:22:26 MSK 2013
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 at gmail.com> wrote:
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.
On Mon, Jan 28, 2013 at 8:30 AM, Avi Marcus <avi at avimarcus.net> wrote:
>
> If you call FS's voice...
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130128/4bffb4ec/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list