[SR-Users] LCR from_gw function

Antoine DEBARRE adebarre at b2s-group.com
Mon Apr 11 12:16:46 CEST 2022


Hi,

Kamailio 5.5.4 from deb packages

I tried to use the lcr function from_gw(lcr_id[, ip_addr, proto])

I've declared several gws with different lcr_id

Unfortunately from_gw doesn't work with lcr_id > 1

For example :
if (from_gw(2,$si,1)) {
....
}
...

error message => ki_from_gw(): invalid lcr_id parameter value 2

Thanks in advance !

-- 
 
<https://app.livestorm.co/comdata-group/metaverse-what-will-cx-look-like-in-an-immersive-world?type=detailed&utm_source=Livestorm&utm_medium=Email&utm_campaign=Webinar+Metaverse>



More information about the sr-users mailing list