If sipxbridge sees two 401 or 407 for two successive REGISTER transactions that implies it tired to authenticate, failed, tried again, failed and hence there is a problem with the credentials. If such is the case, then sipxbridge will retry again in 60 sec.
This has nothing to do with the 500 ms. timer setting which is the SIP base timer interval. Please provide additional information (snapshots) to determine whether there is a problem at hand. Thanks Ranga On Sun, May 30, 2010 at 8:44 AM, Sven Evensen <[email protected]> wrote: > Hi, > > > > We have sipX running in EC2 Singapore and a US SIP trunk provider (Cordia) > with break out in Hong Kong. > > > > We need to register one trunk per incoming DID, 8 total, (don’t like this > solution, but ok for this trial) and > > one trunk for all outgoing calls. > > > > The incoming trunks lose their registrations over time, a few hours and half > are gone. > > > > After tedious study of WireShark (see attached pcap), the conclusion is as > follows. > > > > Line 6 Register cseq 139 sent > > Line 8 401 received cseq 139 after 488 ms > > - That is too late for sipX, New Register is already being sent from > within sipX > > Line 9 Register cseq 139 is resent > > Line 10 Register cseq 140 sent with nonce in response to line 8, > 401 > > Line 11 401 received cseq 140 (I think this is response to line > 9, but wrong cseq) > > - At this point sipX has received two 401, channel now marked > “bad”, thinking line 11 is response to line 10 > > Line 12 200 OK received cseq 140 > > - This comes too late, channel already dead > > > > I think the problem is line 11, that 401 should have cseq 139! Also, sipX > disregards the 200 OK, line 12, after > > two 401 have been received. > > > > Question to sipX: > > Where can I adjust the 500ms “re-register” timer? > > Why does sipX never start re-registration, once channel is dead, it remains > so until sipXBridge is restarted. > > > > > > > > Regards, > > Sven > > > > > > > > ________________________________ > > From: [email protected] [mailto:[email protected]] > Sent: 28 May 2010 18:02 > To: [email protected] > Cc: Sven Evensen; Tim Caputo; Robert Yumul; Enterprise Support PH; > [email protected] > Subject: RE: Registration Problem - 42035028 > > > > Cordia Team, > > If Sven moves his trunks to register on the cchk2 node, we need to know the > exact time that a trunk loses registration. We have our vendor assisting us > and they are running a debug analysis with Sven's ip address, but to resolve > this quicker we need to provide the time it occurs. > > Also, once we confirm that Sven has moved the trunks to cchk2, we need to > change his RP to outside. > > Sven, any information regarding the time you lose a registration would be > very helpful. > > > --- Original message --- > Subject: RE: Registration Problem - 42035028 > From: <[email protected]> > To: Sven Evensen <[email protected]> > Cc: Tim Caputo <[email protected]>, Robert Yumul > <[email protected]>, Enterprise Support PH <[email protected]>, > <[email protected]> > Date: Friday, 28/05/2010 12:43 PM > > Would it be possible for you to register to cchk2.cordiaip.net? This may > cause problems with inbound service but i want to eliminate one piece of > equipment from the equation. > > --- Original message --- > Subject: RE: Registration Problem - 42035028 > From: Sven Evensen <[email protected]> > To: <[email protected]> > Cc: Tim Caputo <[email protected]>, Robert Yumul > <[email protected]>, Enterprise Support PH <[email protected]>, > <[email protected]> > Date: Friday, 28/05/2010 12:21 PM > > Hi Mike, > > > > Here is a summary of what I believe is happening. > > > > We send 8 REGISTER to you every 25 seconds (I think the expire time on 200 > OK is 30 sec). > > Normally we get 8 200 OK back. > > > > After a while we get on one or more of the trunks a 401 not authorized. We > respond with a > > REGISTER including nonce. > > > > But sometimes our second REGISTER (with nonce) also gets a 401 not > authorized and in this case sipX > > marks this channel as “dead”. > > > > One sequence of events we saw that might be causing this was as follows (for > one specific DID) : > > > > REGISTER cseq 77 à > > > > REGISTER cseq 77 à > > ß- 401 Not Authorized > cseq 77 > > REGISTER cseq 78 à > > ß 401 Not Authorized > cseq 78 > > ß 200 OK cseq 78 > > > > So there could be a timing issue. I do not think there is a latency issue, > pinging from Singapore to HK was > > stable 36-38 ms. > > > > Regards, > > Sven > > > > ________________________________ > > From:[email protected] [mailto:[email protected]] > Sent: 28 May 2010 14:15 > To: Sven Evensen > Cc: Tim Caputo; Robert Yumul; Enterprise Support PH; [email protected] > Subject: RE: Registration Problem - 42035028 > > > > Sven, > > We are making contact with your SiPX contact that you provided. I just > want to clarify what you are seeing at your equipment. Do you see a 401 and > a 200oK message coming back at the same time, or do they occur with a > corresponding register? In other words the 401 is a normal occurrence and > is supposed to occur when the previous nonce expiration time has been > reached. One of the Cordia engineers mentioned to me that you are seeing > the 401 and the 200 at the same time. As a result of both coming back you > lose your registration. > > Regards, > > Mike > > --- Original message --- > Subject: RE: Registration Problem - 42035028 > From: Sven Evensen <[email protected]> > To:<[email protected]> > Cc: Tim Caputo <[email protected]>, Robert Yumul > <[email protected]>, Enterprise Support PH <[email protected]>, > <[email protected]> > Date: Thursday, 27/05/2010 5:56 PM > > > I have been looking for this “re-register” timer, not found yet. Might have > to ask Ranga (sipX). > > > > Sven > > > > ________________________________ > > From:[email protected] [mailto:[email protected]] > Sent: 27 May 2010 22:45 > To: Sven Evensen > Cc: Tim Caputo; Robert Yumul; Enterprise Support PH; [email protected] > Subject: RE: Registration Problem - 42035028 > > > > Your are correct, I meant your registraton timer not your invite / re-invite > timer. Thank you for the contact info of the sipx developer. This will > come in handy. > > > --- Original message --- > Subject: RE: Registration Problem - 42035028 > From: Sven Evensen <[email protected]> > To:<[email protected]>, Tim Caputo <[email protected]> > Cc: Robert Yumul <[email protected]>, Enterprise SupportPH > <[email protected]>, <[email protected]> > Date: Thursday, 27/05/2010 5:18 PM > > > > Mike, > > > > Thanks for the update, appreciate the effort. I am not sure about why > re-invite is relevant for the REGISTER problem. > > Your efforts here are not only helping me (hopefully), but will enable you > to support sipX. Can I suggest you email the > > developer of sipXBridge (the SBC which handles the REGISTER) directly. > [email protected] is based in Boston > > > > Regards, > > Sven > > > > > > > > ________________________________ > > From:[email protected] [mailto:[email protected]] > Sent: 27 May 2010 21:44 > To: Tim Caputo > Cc: Sven Evensen; Robert Yumul; Enterprise SupportPH; > [email protected] > Subject: Re: Registration Problem - 42035028 > > > > Sven, > > I wanted to give you my assurance that we are dedicating all available > resources to your account to resolve this problem. We have the engineers > with our switch vendor assisting as well. We have not run into this problem > with other customers using a variety of different pbx's so this is a new > problem for us. Personally I am familiar with SipX and know of plenty of > people using it but I have not had a chance to get a SipX system up and > running. We have a lab in our Orlando, Floridaoffice and they are working > on this problem as well. Could you please tell me if you have a > configurable re-invite timer in the SipX configuration files? > > Regards and thank you. > > Mike > > > > --- Original message --- > Subject: Re: Registration Problem - 42035028 > From: Tim Caputo <[email protected]> > To: Sven Evensen <[email protected]> > Cc: Mike Patterson <[email protected]>, Robert Yumul > <[email protected]>, Enterprise SupportPH <[email protected]>, > <[email protected]> > Date: Thursday, 27/05/2010 3:10 PM > > Sven, > We see the 401 responses we are sending your PBX and we have our Switch > engineers working on this. Thank you for your patience and we will keep you > updated on our progress. > > Thank You, > Tim Caputo > > Sven Evensen wrote: > > Can someone please have a look at this for me. > > > > Regards, > > Sven > > > > -----Original Message----- > > From: Sven Evensen > > Sent: 27 May 2010 14:34 > > To: Mike Patterson > > Cc: Robert Yumul; Enterprise Support PH; [email protected]; > > '[email protected]' > > Subject: RE: Registration Problem - 42035028 > > > > Hi Mike, > > > > I did not really get anywhere working through the night with the > > Manila guys. They said they had sent the case to the guys in US east. > > Can some one there please take a look at my case > > > > Regards, > > Sven > > > > -----Original Message----- > > From: Dennis Nacino [mailto:[email protected]] > > Sent: 27 May 2010 08:35 > > To: Sven Evensen > > Cc: Robert Yumul; Enterprise Support PH; [email protected]; Mike > > Patterson > > Subject: Re: Registration Problem - 42035028 > > > > Hi > > > > Does your PBX send the nonce string together with the response string at > > > > a time when it got a 401 response from our server? > > Can you do a packet capture on your end? > > > > Do you have Instant messaging if you have, > > > > please add mine; > > > > @AIM: csmdnacino > > @YM: [email protected] > > @msn: [email protected] > > > > > > > > On 5/27/2010 3:20 PM, Sven Evensen wrote: > > > > As far as I can tell, only 6 are registered now. Can you see why that > > happened? > > > > -----Original Message----- > > From: Robert Yumul [mailto:[email protected]] > > Sent: 27 May 2010 08:11 > > To: Sven Evensen > > Cc: Enterprise Support PH; [email protected]; Mike Patterson > > Subject: Re: Registration Problem - 42035028 > > > > I see 8 lines registered. > > > > 85230519805 Online > > 85230519811 Online > > 85230519814 Online > > 85230519815 Online > > 85230519816 Online > > 85230519817 Offline > > 85230519819 Online > > 85230519821 Online > > 85230519826 Offline > > 85230519829 Online > > 85230519840 Offline > > > > Are the above lines correct? > > > > > > Thanks > > Robert > > > > On May 27, 2010, at 3:01 PM, Sven Evensen wrote: > > > > > > > > Ok, I restarted SIP trunks and there should be 8 registered now > > > > -----Original Message----- > > From: Robert Yumul [mailto:[email protected]] > > Sent: 27 May 2010 06:51 > > To: Sven Evensen > > Subject: Re: Registration Problem - 42035028 > > > > We have have some minor adjustments on the back end. Please keep > > registration interval to 60 seconds and observe. > > > > I now see only 7 DID registered. > > > > 85230519805 Online > > 85230519811 Online > > 85230519814 Offline > > 85230519815 Online > > 85230519816 Online > > 85230519817 Offline > > 85230519819 Online > > 85230519821 Online > > 85230519826 Offline > > 85230519829 Online > > 85230519840 Offline > > > > > > On May 27, 2010, at 1:18 PM, Sven Evensen wrote: > > > > > > > > fyi > > Even though I selected 60 seconds, it is registering every 25 > > > > > > seconds. > > > > > > sven > > > > -----Original Message----- > > From: Robert Yumul [mailto:[email protected]] > > Sent: 27 May 2010 06:12 > > To: Sven Evensen > > Cc: Enterprise Support PH; [email protected]; Mike Patterson > > Subject: Re: Registration Problem - 42035028 > > > > Hi Sven, > > I see the following DIDs: > > > > 85230519805 Online > > 85230519811 Online > > 85230519814 Online > > 85230519815 Online > > 85230519816 Online > > 85230519817 > > 85230519819 Online > > 85230519821 Online > > 85230519826 > > 85230519829 Online > > 85230519840 > > > > Can you please change your registration interval to 60 seconds for > > > > > > now > > > > > > and I will try to analyze the registration. > > > > > > Thanks, > > Robert > > > > > > On May 27, 2010, at 1:05 PM, Sven Evensen wrote: > > > > > > > > Hi Robert, > > > > The DDIs are : > > +852 30519829, 30519821, 30519819, 30519816, 30519815, 30519814, > > 30519811, 30519805 > > > > As we speak now, it seems all 8 are registered. I have changed the > > registration interval from 25 seconds to 10 minutes approx. > > > > What I saw earlier was that suddenly Unauthorized came back instead > > > > > > of > > > > > > 200 OK. > > > > If you want, I can speed up the registrations again, that might > > > > make > > > > > > > > it > > > > > > faster to capture the problem. > > > > Regards, > > Sven > > > > -----Original Message----- > > From: Robert Yumul [mailto:[email protected]] > > Sent: 27 May 2010 06:00 > > To: Sven Evensen > > Cc: Enterprise Support PH; [email protected]; Mike Patterson > > Subject: Registration Problem - 42035028 > > > > Hi Sven, > > Apologies for the late reply. Can you please send me the DID you > > > > are > > > > trying to register so we can dig some more on our end. > > > > Thanks > > Robert > > > > > > > > > > > > > > > > > > > > > > -- > > Tim Caputo > > VOIP Engineer > > Cordia Corporation > > 13275 West Colonial Drive > > Winter Garden, FL 34787 > > Main: 1-407-313-7091 > > corgtcaputo – AIM > > www.cordiacorp.com > > > > > > > > > > -- M. Ranganathan _______________________________________________ sipx-users mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-users Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users sipXecs IP PBX -- http://www.sipfoundry.org/
