<div dir="ltr">Hello. We use 2 kamailio behind  load balanser that have domain name of our system .<div>uac settings like this:<br><br><div>modparam("uac","restore_mode","none")</div><div>modparam("uac","reg_db_url", DBURL)</div><div>modparam("uac", "reg_db_table", "uacreg")</div><div>modparam("uac", "reg_timer_interval", 20)</div><div>modparam("uac", "reg_retry_interval", 10)</div><div>modparam("uac", "reg_contact_addr", "<a href="http://sip.service.com:5068">sip.service.com:5068</a>")</div><div><br></div><div>modparam("uac","auth_realm_avp","$avp(s:realm)")</div><div>modparam("uac","auth_username_avp","$avp(s:uname)")</div><div>modparam("uac","auth_password_avp","$avp(s:passwd)") </div><div> </div><br></div><div>We have a trouble with registering trunks at porvider. When UAC try to register trunk We see fails like this:<br><br><div>tm [ut.h:272]: uri2dst2(): ERROR: uri2dst: bad_uri: <a href="http://sip.service.com">sip.service.com</a></div><div>ERROR: tm [uac.c:266]: t_uac_prepare(): t_uac: no socket found</div><div>ERROR: uac [uac_reg.c:746]: uac_reg_update(): failed to send request for [TRUNKNAME]</div></div><div><br>What we try:<br><div>advertised_address=<a href="http://sip.service.com">sip.service.com</a></div><div>alias=<a href="http://sip.service.com">sip.service.com</a></div><div>alias=<a href="http://kam2.service.com">kam2.service.com</a></div><div>alias=Kam1.extern.ip.addr</div><div>alias=Kam2.extern.ip.addr</div><div>alias=load.balanser.ext.ipaddr</div><div><br></div><div>These settings not resolved our issue.<br><br>We have another trouble and think that it depended issues:<br><br>We can call to external numbers through trunks, but call very slow. (10-15 seconds), and some operators (LIKE AT&T dropped our calls to voicemail systems and somethink like that)<br><br>Our question is how to successfully register providers at UAC with this scheme. thanks for advices.</div><br></div></div>