[Freeswitch-users] How to auto save voicemail message?
Muhammad Shahzad
shaheryarkh at gmail.com
Mon Jan 28 13:07:03 MSK 2013
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 voicemail, record a message, and hang up -- it gets
> saved. That's the behavior users expect.
> -Avi
>
>
> On Mon, Jan 28, 2013 at 2:52 AM, Muhammad Shahzad <shaheryarkh at gmail.com>wrote:
>
>> Hi,
>>
>> When a caller leaves a voicemail for callee using FS, an IVR is played to
>> the caller to press e.g. 1 to save the message, press 2 to listen to it ...
>> and so on. Is there any voicemail module parameter / variable we can set in
>> dialplan to skip this prompt entirely, simply save the message and hangup
>> if caller hasn't already hanged up.
>>
>> Typically if somebody calls me on my cell and i am not available to
>> pickup the phone, call automatically sent to my voicemail box by my
>> operator, where caller can record his message and just hangup, without
>> having to wait for the IVR, give input to it and then hangup. Is the same
>> behaviour possible in FS voicemail module? Please help.
>>
>> Thank you.
>>
>>
>> --
>> Muhammad Shahzad
>> -----------------------------------
>> CISCO Rich Media Communication Specialist (CRMCS)
>> CISCO Certified Network Associate (CCNA)
>> Cell: +49 176 99 83 10 85 <+49%20176%2099%2083%2010%2085>
>> MSN: shari_786pk at hotmail.com
>> Email: shaheryarkh at googlemail.com
>>
>>
>> _________________________________________________________________________
>> 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
>>
>>
>
> _________________________________________________________________________
> 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
>
>
--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk at hotmail.com
Email: shaheryarkh at googlemail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130128/84621068/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list