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@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