<div dir="ltr">That did the trick!!!<div><br></div><div>THANK YOU!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 29, 2018 at 7:25 PM, Andrew Pogrebennyk <span dir="ltr"><<a href="mailto:apogrebennyk@sipwise.com" target="_blank">apogrebennyk@sipwise.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Chris,<br>
<span class="gmail-">On 05/28/2018 10:29 PM, Chris Hoffmann wrote:<br>
</span><span class="gmail-">> I have changed sems.db_reg_agent.fetch_extra_<wbr>sockets_from_peer is set to 'yes'. and run ngcpcfg apply ',change sems option' then rebooted. no change. <br>
> <br>
> The registration message is going out the correct interface, with the wrong source address. <br>
<br>
</span>the problem is that the Contact field points to sip_ext interface and<br>
not where you want the registration to be sent from.<br>
<br>
This is due to the fact that reg_agent.conf way has been developed long<br>
time ago, before we added multiple network interfaces support. There is<br>
a better support of multiple interfaces with subscriber peer<br>
registrations using db_reg_agent module.<br>
<br>
In the future releases we will rethink how to deal with those old peer<br>
registrations, they should probably be managed on the web page or at<br>
least in config.yml instead of the customtt.tt2 file!<br>
<br>
For now I suggest that you try to change the reg-agent.conf section as<br>
following:<br>
> domain=218.101.10.135<br>
> user=039413170<br>
> pwd=xxxxxxxx<br>
> contact=sip:203.x.154.94:5060<br>
It's enough to hardcode the IP in contact (you can of course write a tt2<br>
script that will fetch the IP address automatically - if you understand<br>
how tt2 logic works).<br>
This will make sems send the REGISTER with Contact sip:203.x.154.94:5060<br>
and the lb will select correct interface for sending that out.<br>
<br>
Hope this helps,<br>
Andrew<br>
</blockquote></div><br></div>