<div dir="ltr"><font face="arial, helvetica, sans-serif">Hi All,<br><br>I am wondering if the following is possible. For simplicity imagine two asterisk boxes and two kamailio proxies. Kamailio on the edge, asterisk in the 'core'</font><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Kamailio <=> Asterisk    Asterisk <=> Kamailio</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">A user may register to either kamailio proxy, and a call may originate from either Asterisk box where it will be sent to its <i>local </i>Kamailio proxy. From there I'd like Kamailio to forward the request to the AoR, following the same path the registration took if it registered to the other proxy, to avoid NAT issues.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">I think this requires a shared USRLOC table, and also for the proxy that handled the registration to insert itself in the path of the USRLOC table.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">The registrar module has the '<span style="background-color:rgb(252,255,252)"><font color="#000000">path_check_local' parameter which sounds relevant, ignoring the path if the first hop is local.</font></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="background-color:rgb(252,255,252)"><font color="#000000"><br></font></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="background-color:rgb(252,255,252)"><font color="#000000">I've included </font></span></font><font color="#000000" face="arial, helvetica, sans-serif">add_path_received() in my REGISTRAR routing block, however I see 'Path: [not set]' in the USRLOC table.</font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#000000" face="arial, helvetica, sans-serif">Is it possible to force the insertion of the local proxy into the path field? </font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#000000" face="arial, helvetica, sans-serif">One additional question, in the case of NAT keepalives, is it possible to only send these from the proxy the received the register request? </font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#000000" face="arial, helvetica, sans-serif">Thanks in advance,</font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#000000" face="arial, helvetica, sans-serif">Matthew</font></div></div>