[SR-Users] regular expression in kamailio

Wilkins, Steve swwilkins at mitre.org
Sun Aug 26 01:07:26 CEST 2018


Hi Alex,

I was thinking that would also give me the IP or FQDN.  I should not have assumed that.  I will go try it now.

Thank you!
-Steve
-----Original Message-----
From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Alex Balashov
Sent: Saturday, August 25, 2018 6:51 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] regular expression in kamailio

Why not just use $fU?

On Sat, Aug 25, 2018 at 10:46:36PM +0000, Wilkins, Steve wrote:

> Hi All,

> 
> I am trying get the 10digit number called in on using the following
> $var(caller) = $(fu{re.subst,[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]});
> 
> I thought I could use a regular expression for the expression in re.subst,expression
> 
> Thank you,
> -Steve

> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


More information about the sr-users mailing list