[Freeswitch-users] Dialplan extension using Caller-ID-Name not matching condition
Mathieu Rene
mrene_lists at avgs.ca
Thu Jun 11 11:38:10 PDT 2009
Your syntax is also wrong, it should be
<condition field="${variablename}" expression="...." />
and NOT field=${varname}$
Math
On 11-Jun-09, at 2:07 PM, Brian West wrote:
> try destination_number
>
> /b
>
> On Jun 11, 2009, at 1:04 PM, Larry Marshall wrote:
>
>> 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">
>>
>
> Brian West
> brian at freeswitch.org
>
> -- Meet us at ClueCon! 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090611/8ca17349/attachment.html
More information about the Freeswitch-users
mailing list