Hi All. got this problem that IP phones could not re-register to my server. even if device is power cycled it still would not register. the solution i found was to change the SIP port settings on the phone and it will register. but after registration expires and its time to re-register the same thing will happen, so i have to update the port settings again just to make it work which is troublesome. i'm using Asterisk 1.4.31 with the following realtime config: rtcachefriends=yes rtsavesysname=yes rtupdate=yes rtautoclear=no one thing i noticed is that it only seems to happen on linksys devices e.g. PAP2 and SPA's. another phone i'm using is yealink and so far no client has complain about it. hope anyone can help. thank you. regards Ron
On Tue, Sep 28, 2010 at 09:28:24AM +0800, Ron wrote:> got this problem that IP phones could not re-register to my server. even > if device is power cycled it still would not register. the solution i > found was to change the SIP port settings on the phone and it will > register. but after registration expires and its time to re-register the > same thing will happen, so i have to update the port settings again just > to make it work which is troublesome.Sounds like NAT problems, do you have qualify enabled for these devices? Also the Linksys devices have a keep alive option (NAT Keep Alive Enable). But even with both these setting enabled NAT gateways sometimes seem to lose track of SIP sessions (I have more trouble with Cisco devices than Linux routers), setting the UDP session timeout to 10m seems to help (default is something like 3m). -- Daniel Tryba
You have to increase the time of expiration for the Register...on linksys devices is located on Proxy and Registration section under the EXTN: (Where N is the extension number) Try putting this to: 3600 To check wheter or not is loosing Register, try with ngrep-sip and check it: ngrep -p -q -W byline port 5060 >register.pkt Then post here the content of register.pkt; but please, after issuing the change explained above! Regards! 2010/9/28 Ron <nhadie at gmail.com>> Hi All. > > got this problem that IP phones could not re-register to my server. even > if device is power cycled it still would not register. the solution i > found was to change the SIP port settings on the phone and it will > register. but after registration expires and its time to re-register the > same thing will happen, so i have to update the port settings again just > to make it work which is troublesome. > > i'm using Asterisk 1.4.31 with the following realtime config: > > rtcachefriends=yes > rtsavesysname=yes > rtupdate=yes > rtautoclear=no > > one thing i noticed is that it only seems to happen on linksys devices > e.g. PAP2 and SPA's. another phone i'm using is yealink and so far no > client has complain about it. > > hope anyone can help. thank you. > > regards > Ron > > > -- > _____________________________________________________________________ > -- 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/20100928/00e43d8a/attachment.htm