[Freeswitch-users] Send a call directly to voicemail Transfer Help

Frank Carmickle frank at carmickle.com
Mon Mar 8 10:45:17 PST 2010


On Mon, Mar 08, Aloysius Lloyd wrote:
> Hi All,
> I would like to setup a dial plan, Dial *99[extension number]  send a call
> directly to voicemail.
>  I setup the following Dial Plan . But when I transfer the call
> *99[extension number] the call failed.
>     <extension name="voicemail_transfer">
>       <condition field="destination_number" expression="^(\*9920[0-9])$">

Should be

<condition field="destination_number" expression="^\*99(20[0-9])$">

>   <action application="answer"/>
>   <action application="sleep" data="1000"/>
>   <action application="voicemail" data="default ${domain_name}
> ${dialed_extension}"/>


<action application="voicemail" data="default ${domain_name} $1"/>

>   </condition>
>     </extension>


More information about the FreeSWITCH-users mailing list