[Freeswitch-users] Channel variables for npdi and rn on LRN dipped calls.

Ken Rice krice at freeswitch.org
Tue Jan 8 04:05:02 MSK 2013


Ooops yeah I mean .*... The ? Is pretty useless there... Since there should
always be something if they send ndpi=


On 1/7/13 7:00 PM, "Michael Collins" <msc at freeswitch.org> wrote:
>>> 
> Just a quick FYI... be careful when you use .* because it will try to match
> EVERYTHING. Also, Ken accidentally typed (*.) which I'm sure wasn't what he
> was aiming for. ;)
> 
> Maybe this would be more effective:
> ^(?:+1|1)?([2-9]\d{2}[2-9]\d{6});ndpi=(.*?);rn=([2-9]\d{2}[2-9]\d{6})$
> 
> -MC
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> 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

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130107/98974ab8/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list