Hi all I been looking into the whole code strugture of chan_iax and i see there is a option to specify the refresh rate of registrations: But there is no code to actually load this from the config file thus i changed the setting in chan_so.h, and recompiled. But still my refresh rate is 60 sec. I need to get this down to 15 sec (nat /pat firewall issue) any ideas? thanks Liaan --------------------------------- Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050204/c5d3107f/attachment.htm
On February 4, 2005 10:52 am, Liaan vd Merwe wrote:> I been looking into the whole code strugture of chan_iax and i see there is > a option to specify the refresh rate of registrations: But there is no code > to actually load this from the config file thus i changed the setting in > chan_so.h, and recompiled. But still my refresh rate is 60 sec. > > I need to get this down to 15 sec (nat /pat firewall issue)Fix the NAT/PAT device? 15s timeout is insane, most things have many, many minutes for timeout. -A.
Ha. this is kerio winroute pro,,,, but got it sorted.. you need to specify it in the "target" server.. not regisee. working like a charm.. ps: the default is 60 sec mine running 14sec now. ----- Original Message ----- From: "Andrew Kohlsmith" <akohlsmith-asterisk@benshaw.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Friday, February 04, 2005 6:09 PM Subject: Re: [Asterisk-Users] IAX2 register Refresh> On February 4, 2005 10:52 am, Liaan vd Merwe wrote: >> I been looking into the whole code strugture ofchan_iax and i see there>> is >> a option to specify the refresh rate ofregistrations: But there is no>> code >> to actually load this from the config file thus ichanged the setting in>> chan_so.h, and recompiled. But still my refreshrate is 60 sec.>> >> I need to get this down to 15 sec (nat /patfirewall issue)> > Fix the NAT/PAT device? 15s timeout is insane, mostthings have many,> many > minutes for timeout. > > -A. > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users> To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users>__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Ha. this is kerio winroute pro,,,, but got it sorted.. you need to specify it in the "target" server.. not regisee. working like a charm.. ps: the default is 60 sec mine running 14sec now. ----- Original Message ----- From: "Andrew Kohlsmith" <akohlsmith-asterisk@benshaw.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Friday, February 04, 2005 6:09 PM Subject: Re: [Asterisk-Users] IAX2 register Refresh> On February 4, 2005 10:52 am, Liaan vd Merwe wrote: >> I been looking into the whole code strugture ofchan_iax and i see there>> is >> a option to specify the refresh rate ofregistrations: But there is no>> code >> to actually load this from the config file thus ichanged the setting in>> chan_so.h, and recompiled. But still my refreshrate is 60 sec.>> >> I need to get this down to 15 sec (nat /patfirewall issue)> > Fix the NAT/PAT device? 15s timeout is insane, mostthings have many,> many > minutes for timeout. > > -A. > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users> To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users>__________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com
> > I been looking into the whole code strugture of chan_iax and i see there is > > a option to specify the refresh rate of registrations: But there is no code > > to actually load this from the config file thus i changed the setting in > > chan_so.h, and recompiled. But still my refresh rate is 60 sec. > > > > I need to get this down to 15 sec (nat /pat firewall issue) > > Fix the NAT/PAT device? 15s timeout is insane, most things have many, many > minutes for timeout.Carefull. Short duration timeouts for udp packets are very common otherwise tables grow beyond available memory rather quickly due to dns, etc, type requests.
yes, that is true, but luckely all my dns etc is sitting on firewall machine, so no natting except for iax. i've been monitoring this for last few hours, and the only connections remaining is the iax. thanks liaan ----- Original Message ----- From: "Rich Adamson" <radamson@routers.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Friday, February 04, 2005 10:20 PM Subject: Re: [Asterisk-Users] IAX2 register Refresh>> > I been looking into the whole code strugture ofchan_iax and i see>> > there is >> > a option to specify the refresh rate ofregistrations: But there is no>> > code >> > to actually load this from the config file thus ichanged the setting>> > in >> > chan_so.h, and recompiled. But still my refreshrate is 60 sec.>> > >> > I need to get this down to 15 sec (nat /patfirewall issue)>> >> Fix the NAT/PAT device? 15s timeout is insane,most things have many,>> many >> minutes for timeout. > > Carefull. Short duration timeouts for udp packetsare very common> otherwise tables grow beyond available memory ratherquickly due to> dns, etc, type requests. > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users> To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users>__________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250