Joshua Since there is no automated way currently built in to update the external signaling and media address information. Does the realtime pjsip support having the transport contexts section being pulled from a database table? I was thinking a cron script updating the table and forcing a reload each time an IP address changed might a workable solution. Thanks Bryant ---------------------------------------- From: "Joshua Colp" <jcolp at digium.com> Sent: Tuesday, January 26, 2016 7:39 AM To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com> Subject: Re: [asterisk-users] PJSIP Stun/ICE Bryant Zimmerman wrote:> I have an asterisk 13 server behind NAT on a dynamic IP Address. It is > running the PJSIP Stack > It is registering to another asterisk 13 server that is on a Static IP > outside of the firewall at a different location (also on the PJSIPStack).> How do we implement STUN/ICE on the server behind the dynamic Address. > It does not appear to be registering properly without knowing the NAT > pubic address. When I manually add external_media_address and > external_signaling_address to the pjsipconfig registration seams to > work, but knowing that the IP could change really means I need some kind > of STUN/ICE similar to what we ran with chan_sip. > I can find limited documentation on this, and what I have found does not > show how to set a stun server to make the ice_support field work on an > endpoint. > Can anyone advise where I could find an answer to this. > Thanks in advance for any ideas you can offer. > BryantThe res_pjsip module does not currently support an auto-updating mechanism for the external signaling and media address information. -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160126/d44c11f6/attachment.html>
Bryant Zimmerman wrote:> Joshua > Since there is no automated way currently built in to update the > external signaling and media address information. > Does the realtime pjsip support having the transport contexts section > being pulled from a database table? > I was thinking a cron script updating the table and forcing a reload > each time an IP address changed might a workable solution.No, once loaded the transports can not be changed. -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
Joshua So once a transport is pulled from the transports table in realtime during asterisk startup it can't get any updates? Can a new transport be added to the table and the associated endpoints be updated to use the new transport, or are transport types only read at startup across the board? Thanks Bryant ---------------------------------------- From: "Joshua Colp" <jcolp at digium.com> Sent: Tuesday, January 26, 2016 8:10 AM To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com> Subject: Re: [asterisk-users] PJSIP Stun/ICE Bryant Zimmerman wrote:> Joshua > Since there is no automated way currently built in to update the > external signaling and media address information. > Does the realtime pjsip support having the transport contexts section > being pulled from a database table? > I was thinking a cron script updating the table and forcing a reload > each time an IP address changed might a workable solution.No, once loaded the transports can not be changed. -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160126/55b123dd/attachment.html>