[SR-Users] regular expression in kamailio

Alex Balashov abalashov at evaristesys.com
Sun Aug 26 01:10:37 CEST 2018


On Sat, Aug 25, 2018 at 11:07:26PM +0000, Wilkins, Steve wrote:

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

Ah, no, that's $fu. :-)

Another option: $(fu{nameaddr.uri}{uri.user})

Now, of course, if you are not entirely sure what the format of $fU will
be in any given scenario, there are a variety of things you can do to
normalise it...

-- Alex

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



More information about the sr-users mailing list