Hi Danny On the pap2 by default it is set to 3600 and i have not change that. by the way, is the NAT keep-alive same with the NOTIFY message? coz i am seeing my asterisk respond to those as bad event could that be causing it to loose the registration?
here's the registration from ngrep: U 78.65.34.12:5094 -> 12.34.56.78:5060 REGISTER sip:sip.mydomain.com SIP/2.0. Via: SIP/2.0/UDP 78.65.34.12:5094;branch=z9hG4bK-25a5eec4;rport. From: Kristine <sip:[email protected]>;tag=68fc368d164925e0o0. To: Kristine <sip:[email protected]>. Call-ID: [email protected]. CSeq: 116228 REGISTER. Max-Forwards: 70. Contact: Kristine <sip:[email protected]:5094>;expires=3600. User-Agent: Linksys/PAP2T-3.1.15(LS). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: x-sipura. . U 12.34.56.78:5060 -> 78.65.34.12:5094 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 78.65.34.12:5094;branch=z9hG4bK-25a5eec4;received=78.65.34.12;rport=5094. From: Kristine <sip:[email protected]>;tag=68fc368d164925e0o0. To: Kristine <sip:[email protected]>. Call-ID: [email protected]. CSeq: 116228 REGISTER. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO. Supported: replaces. Content-Length: 0. On 9/28/10 7:24 PM, Danny Dias wrote: > 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<[email protected]> > >> 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 >> > -- _____________________________________________________________________ -- 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
