[Freeswitch-users] Dialplan extension using Caller-ID-Name not matching condition
Larry Marshall
lcm at marshap.com
Thu Jun 11 11:04:07 PDT 2009
http://pastebin.freeswitch.org/9365
I do not know what I am doing wrong. I am trying to set the
effective_caller_id_name and _number depending on the originating extension.
I tried:
<condition field=${caller_id_number}$ expression="^100[09]$"
break="on-true">
and
<condition field=${Caller-ID-Name}$ expression="^100[09]$"
break="on-true">
and
<condition field=${sip_from_user}$ expression="^100[09]$"
break="on-true">
But each got substituted with the name of the extension in the log:
Dialplan: sofia/internal/1000 at 192.168.10.29 Regex (FAIL) [Long Distance -
flowroute] () =~ /^100[09]$/ break=on-true
where the extension looks like:
<extension name="Long Distance - flowroute">
Info from the log shows
variable_sip_from_user: [1000]
Caller-Caller-ID-Number: [1000]
Can anyone help? Thanks, Lars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090611/8be3a0b6/attachment.html
More information about the Freeswitch-users
mailing list