Issue when dialling number with *
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-wit... Sent from the freeswitch-users mailing list archive at Nabble.com.
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-wit... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
It works. Thanks for the help. ----- Thanks, Samir -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Issue-when-dialling-number-wit... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (3)
-
Samir Doshi
-
Shishko
-
smrdoshi