[SR-Users] Kamailio LCR - From Uri

Juha Heinanen jh at tutpro.com
Thu Oct 4 20:10:50 CEST 2012


Fatima Chahrour writes:

> Sorry, where can I find the 'man pcresyntax' for syntax?

if you are not running linux, see this:

http://regexkit.sourceforge.net/Documentation/pcre/pcresyntax.html

> Can you please give me an example on what could a from-uri look like?

> Am now using empty string wich is matching with any ip as mentioned
> below, but I need to route calls coming from specific IP's instead!

this should work for you:

@1.2.3.4

where 1.2.3.4 is the ip.

-- juha



More information about the sr-users mailing list