[SR-Users] Kamailio LCR rule matching

Juha Heinanen jh at tutpro.com
Tue Jun 2 21:28:06 CEST 2015


Ali Taher writes:

> I'm using LCR module in Kamailio , where matching of the rule (From-URI in
> LCR-rule table) is currently based on user part of sip address in From field
> (highlighted below in blue).
> 
> While we need to change the identification to be on the otg value sent in
> the sip address in From field (highlighted below in yellow).

I'm not sure if I understood the question or if someone already answered
it, but you can use whatever URI you like as "from_uri" by including the
third argument in load_gws() call:

load_gws(lcr_id[, uri_user[, caller_uri]])

-- Juha



More information about the sr-users mailing list