<div dir="ltr">Hi all,<div><br></div><div>First of all, I would like to present the system model we are applying:<br></div><div>- dSIPRouter : Sip relay for all users connected from the internet (installed with RTPEngine to handle media data).</div><div>- kamailio 5.3.5: core system, registration server.</div><div>- Asterisk 17: SBC.</div><div>Sorry if our model seems a bit backwards but we have so many users (>12k configured users, > 3k concurrent registered users, > 500 concurrent users at cps 10), I don't know of any solution that can work with such a large load.<br></div><div><br></div><div>With call outbound (from user to PSTN via SBC), everything is fine.</div><div>But with internal or inbound calls, it wasn't successful.</div><div>I showed that:</div><div>- After dSIPRouter, the register message has Path parameter in SIP Header, </div><div>- Kamailio store sip:user@domain in column contact at location table.</div><div>- Using modparam registrar with use_path=1, path_mode=0, path_use_received=1, I stored this parameter in DB.</div><div>- When calling internal or inbound, for the search destination of a phone, I am using sip_trace() function. But the result is always column contact. </div><div>- With this uri, kamailio wasn't known and sent the invite to proxy.</div><div>- Final error message: 404.</div><div><br></div><div>I need one of these solutions:</div><div>- get path column when result of sip_trace() like
sip:user@domain (with phone in internal network, it like sip:user@ipaddress).</div><div>- write path value to column contact when the register message has it.</div><div>- sip_trace can get a path instead of contact if it has. </div><div><br></div><div>Or you can have other solutions, pls help me.</div><div>We can talk and test via my Webex PMR.</div><div><br></div><div>Many thanks,</div><div>Thanh Duy Tran</div><div><br></div><div><br></div><div><br></div></div>