>>>>> "JC" == Joshua Colp <jcolp at digium.com> writes:JC> I disagree that it makes it worthless for a large number of JC> users. It's only within the last few days that a few people have run JC> into this particular issue where they have a public IP address that is JC> changing a lot and PJSIP does not support changing it without a JC> restart. If it were a huge sweeping issue we'd be seeing it more JC> often. If it continues to show up a community member or us (heck maybe JC> even myself in my spare time) may look into implementing it. It is only in the last few days that this discussion occurred. This is not the first mention of problems with using pjsip on dynamic ips. Most affected users are probably still using chan_sip. Or haven't even upgraded to 13 yet. I gave up switching my edge asterisk to pjsip at least twice because I couldn't figure out how to configure it properly for a dynamic ip. And I sent a note to one of the lists at least on the 2nd attempt. That install doesn't need nat for sip/rtp since it runs on the router, but it does need to handle dynamic ip. In short, this breaks sip for nearly everyone using asterisk at home and even a lot of businesses. It may not break it every day, but it is enough to drive a lot of people away from asterisk once they learn of it. JC> The support level for chan_sip has already been changed and was JC> announced long ago. had this issue been noted in that announce you'd have received -- I expect -- quite a few complaints. This flies in the face of all of the (very welcome) work which went into supporting reload rather than restart. Getting pjsip to support changes on a reload would be an acceptable first step. -JimC -- James Cloos <cloos at jhcloos.com> OpenPGP: 0x997A9F17ED7DAEA6
> > > > This flies in the face of all of the (very welcome) work which went into > supporting reload rather than restart. > > Getting pjsip to support changes on a reload would be an acceptable > first step. > >?If you open an issue (or give me an already opened one) I can take a look at adding the ability to reload transports.?> -JimC > -- > James Cloos <cloos at jhcloos.com> OpenPGP: 0x997A9F17ED7DAEA6 > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160127/dc0a93c2/attachment.html>
Just an idea for a work around, Have you thought about putting a proxy between your PBX and the Internet such as openSIPS or Kamilio? That way you may not need to change your IP inside pjsip, Let your proxy handle it. I gave up switching my edge asterisk to pjsip at least twice because I> couldn't figure out how to configure it properly for a dynamic ip. And > I sent a note to one of the lists at least on the 2nd attempt. > > That install doesn't need nat for sip/rtp since it runs on the router, > but it does need to handle dynamic ip. >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160127/a4d56298/attachment.html>
On Wednesday 27 Jan 2016, James Cloos wrote:> I gave up switching my edge asterisk to pjsip at least twice because I > couldn't figure out how to configure it properly for a dynamic ip. And > I sent a note to one of the lists at least on the 2nd attempt. > > That install doesn't need nat for sip/rtp since it runs on the router, > but it does need to handle dynamic ip.Why does it need to handle dynamic IP? If you are paying for a business-grade Internet connection, you should get a static IP address -- or a block of them -- as standard. Maybe you need to change your ISP? -- AJS Note: Originating address only accepts e-mail from list! If replying off- list, change address to asterisk1list at earthshod dot co dot uk .
>>>>> "AS" == A J Stiles <asterisk_list at earthshod.co.uk> writes:AS> If you are paying for a business-grade Internet connection, you AS> should get a static IP address -- or a block of them -- as AS> standard. Maybe you need to change your ISP? In some places (including here) static ip is not affordable. -JimC -- James Cloos <cloos at jhcloos.com> OpenPGP: 0x997A9F17ED7DAEA6