[Freeswitch-users] Diversion header
RR
ranjtech at gmail.com
Wed Jun 23 11:07:13 PDT 2010
I am now considering the ${rdnis} variable is empty. So am doing something
like
<condition field="${sip_h_Diversion}" expression="^.*(917xxxxxxx).*$"/>
\RR
On Wed, Jun 23, 2010 at 1:57 PM, Brian West <brian at freeswitch.org> wrote:
> are you looking at sip_h_Diversion variable?
>
> /b
>
> On Jun 23, 2010, at 12:40 PM, RR wrote:
>
> > yeah that was the first variable I'd tried when I started looking into
> this but it came out empty. This is what I was seeing in the debug dump
> >
> > Regex (FAIL) [Test_Diversion] rdnis() =~ /^(917xxxxxxx)$/ break=on-false
> >
> > even if the condition failed, it usually shows what's in the variable to
> then compare with the regex
> >
> > Thanks
> > \RR
> >
>
>
> _______________________________________________
> 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/20100623/8dd4d5dd/attachment.html
More information about the FreeSWITCH-users
mailing list