[asterisk-users] PJSIP Stun/ICE

Daniel Heckl daniel.heckl at gmail.com
Tue Jan 26 11:53:37 CST 2016


Bryant,

that sounds interesting. I am searching for a script which monitors and updates the ip address. Does this your script? Can you share your script with us?

Thanks
Daniel

> Am 26.01.2016 um 16:39 schrieb Bryant Zimmerman <BryantZ at zktech.com>:
> 
> Daniel
>  
> Thank you for your response. I was considering this as well. I have a script that monitors the IP Address now. I was hoping to use the real-time transports table now that alembic creates. I am trying to figure out which pjsip module is responsible for the transports contexts as I need to now configure it in the sorcery.conf file. I thought it would be under the [res_pjsip] context, but it is not even trying to pull from my transports table when it is there.  I am hoping someone will know what module it is in so I can move my configuration under the correct context.
>  
> Thanks
> 
> Bryant
>  
> From: "Daniel Heckl" <daniel.heckl at gmail.com>
> Sent: Tuesday, January 26, 2016 10:15 AM
> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
> Subject: Re: [asterisk-users] PJSIP Stun/ICE
>  
> Bryant,
> 
> I have the same problem with dynamic public IPs and PJSIP. What is your idea to solve the problem?
> 
> My suggestion would be to write a script that monitors the change, pjsip.transports.conf updated and Asterisk restarts?
> 
> Daniel
> 
> > Am 26.01.2016 um 14:21 schrieb Joshua Colp <jcolp at digium.com>:
> >
> > Bryant Zimmerman wrote:
> >> 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?
> >
> > Transports can only be loaded at startup. This stems from PJSIP not being dynamic with transports (it doesn't like its environment changed to that degree while in use). I'm afraid if your IP changes you'd have to restart Asterisk when you are using PJSIP.
> >
> > --
> > 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
> 
> --
> _____________________________________________________________________
> -- 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
> -- 
> _____________________________________________________________________
> -- 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/f93cf566/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3579 bytes
Desc: not available
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160126/f93cf566/attachment-0001.bin>


More information about the asterisk-users mailing list