[Freeswitch-users] Issue when dialling number with *

Shishko shishko69 at gmail.com
Mon Sep 23 13:36:59 MSD 2013


You have to escape asterisk character, write it like \*

<condition field="destination_number" expression="^\*97$">


On Pon, 2013-09-23 at 02:26 -0700, smrdoshi wrote: 
> Hi Guys,
> 
> I am setting up check voicemail feature with *97. When I am dialling *97
> from extension I am getting below error, 
> 
> 2013-09-23 18:39:27.621209 [ERR] switch_regex.c:101 COMPILE ERROR: 0
> [nothing to repeat][*97]
> 
> 
> Here is my dialplan, 
> 
> <context name="default">
> <extension name="*97">
> <condition field="destination_number" expression="*97">
> <action application="set" data="effective_destination_number=*97"/>
> <action application="voicemail" data="check default 192.168.1.13 1234567"/>
> </condition>
> </extension>
> </context>
> 
> Can body please help me to figure out the issue? 
> 
> Thanks in advance. 
> 
> 
> 
> -----
> Thanks,
> Samir
> --
> View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Issue-when-dialling-number-with-tp7595103.html
> Sent from the freeswitch-users mailing list archive at Nabble.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





Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list