[Kamailio-Users] LCR Documentation

Geoffrey Mina geoffreymina at gmail.com
Thu Mar 5 20:03:49 CET 2009


Hello,
I am currently deploying the LCR module.  I have some questions about
fields and what they do... I searched the docs, but couldn't find
anything.  Can someone please fill in the blanks?

[LCR Gateways]
Gateway Name: description of the gateway
Group ID: Numeric identifier used to link LCR Rules
IP Address: The IP of the SIP gateway
Hostname: The hostname of the SIP gateway (not required if IP provided?)
Port: The port the SIP gateway listens on
URI Scheme: (well documented) NULL = sip, 1 = sip and 2 = sips
Transport: (well documented) NULL = none, 1 = udp, 2 = tcp, 3 = tls,
and 4 = sctp
Strip: ?
Tag: ?
Weight: ?
Ping: ?
Flags: ?

[LCR Rules]
Prefix: The matching prefix.  In the US most would do this by area
code, so I would assume I would put something like 1678 or 1770 to
route Atlanta calls.  Would putting a NULL or Empty String force a
default route for everything?
>From URI: If I don't care about the from URI can I leave this NULL or BLANK?
Group ID: The numeric identifier matching to LCR Gateways
Priority: I am assuming if there are 2 records which match the prefix
and from URI the high priority will be chosen first?

Also, say for example, one of my gateway providers has a primary and a
secondary gateway.  If the primary is down I need to route calls to
the secondary.  How would this fit into an LCR scheme? Would I need
duplicate routes for the secondary with a lower priority?

Thanks,
Geoff

p.s. for anyone holding out, I just installed Siremis today and it
rocks!  I am really quite pleased with the solution.




More information about the sr-users mailing list