Hi JC,<div><br></div><div>I have the same case as you are my server has static public IP assigned and my client has public dynamic IP address in order to connect them without issue what I did was to setup openvpn in my other side that has public static IP and then the client server asterisk will connect into it and they will communicate with the VPN local IP adresses that I assigned. hope this 'workaround' helps </div><div><br></div><div>~Cheers<br><br>On Wednesday, 27 January 2016, Joshua Colp <<a href="mailto:jcolp@digium.com">jcolp@digium.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">James Cloos wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
"JC" == Joshua Colp<<a>jcolp@digium.com</a>>  writes:<br>
</blockquote></blockquote></blockquote></blockquote></blockquote>
<br>
JC>  This stems from PJSIP not being dynamic with transports (it<br>
JC>  doesn't like its environment changed to that degree while<br>
JC>  in use). I'm afraid if your IP changes you'd have to restart<br>
JC>  Asterisk when you are using PJSIP.<br>
<br>
Wow.<br>
<br>
I say this having voted for pjsip over the listed alternatives back when<br>
the plan to depricate chan_sip was first floated:<br>
<br>
That should have excluded pj from the options.  Which of course means<br>
there were no reasonable options.<br>
</blockquote>
<br>
PJSIP doesn't like changing existing transports, the NAT functionality is provided by the Asterisk implementation and can't be reloaded as a side effect due to the heavy handed restriction. With work it could be changed to allow the non low level things to be changed. What you can't do with PJSIP is create a UDP transport, reload, and have it removed. Once it's there it is there unless you restart.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Can ari get around that bug?<br>
</blockquote>
<br>
ARI is a REST interface to Asterisk, it doesn't have anything to do with this.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Lack of full support for traversing nat makes pjsip worthless for a<br>
large number of users.  And the whole point of realtime is to have all<br>
of the rt config fully dymanic.<br>
</blockquote>
<br>
I disagree that it makes it worthless for a large number of users. It's only within the last few days that a few people have run into this particular issue where they have a public IP address that is changing a lot and PJSIP does not support changing it without a restart. If it were a huge sweeping issue we'd be seeing it more often. If it continues to show up a community member or us (heck maybe even myself in my spare time) may look into implementing it.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
If ari cannot avoid that limitation, chan_sip should get full ongoing<br>
maintainance until pjsip is fixed.<br>
</blockquote>
<br>
The support level for chan_sip has already been changed and was announced long ago. Patches will continue to be accepted for it and community members can support it. We (Digium) are putting our effort towards PJSIP.<br>
<br>
-- <br>
Joshua Colp<br>
Digium, Inc. | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
Check us out at: <a href="http://www.digium.com" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br>
<br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
              <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div>