Lloyd, you didn't define ${dialed_extension}, before you call the voicemail application in your dialplan: <action application="voicemail" data="default ${domain_name} ${dialed_extension}"/> Please fix that. Chris On Mon, Mar 8, 2010 at 1:23 PM, Aloysius Lloyd <lloyd.aloysius@gmail.com>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])$"> <action application="answer"/> <action application="sleep" data="1000"/> <action application="voicemail" data="default ${domain_name} ${dialed_extension}"/> </condition> </extension> But when I transfer the call *99[extension number] the call failed.My extensions range 201 - 209
Please let me know where the mistake is.
Thanks Lloyd
_______________________________________________ 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