RE: [reSIProcate] re-register to ondo sip server
I just surfed through the SVN head code - it looks like a profile setting:
setRinstanceEnabled can be used to disable the use of the rinstance parameter.
If you disable rinstance then DUM will just set the rereg period to be the min
of the expiration of all of the contacts, regardless if they are DUMs contacts
or not.
Scott
> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:resiprocate-
> devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Scott Godin
> Sent: Thursday, March 09, 2006 11:58 AM
> To: maodonghu; resip
> Subject: RE: [reSIProcate] re-register to ondo sip server
>
> The problem is that OnDo SIP Server did not echo back the rinstance
> parameter. So resip does not recognize the contact as it's own. We
> should probably change resip to be a little more lienient in this
> situation and to use some expires value, in this case.
>
> > -----Original Message-----
> > From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:resiprocate-
> > devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of maodonghu
> > Sent: Wednesday, March 08, 2006 12:29 AM
> > To: resip
> > Subject: [reSIProcate] re-register to ondo sip server
> >
> > resiphi,
> >
> > I encounter a problem when I use ondo sip server, the re-register will
> not
> > occur for it. but if I use another sip proxy, the re-register is ok.
> >
> > following is my settings:
> >
> > mProfile->setDefaultRegistrationTime( 30 );
> >
> > then, when resip register to proxy, here is 200 Ok from two different
> > proxy
> >
> > //-- From PartySIP server
> >
> > SIP/2.0 200 OK
> > Via: SIP/2.0/UDP 192.168.101.56:3700;branch=z9hG4bK-d87543-
> > da3a0f08f366a553-1--d87543-;rport=3700
> > From: "steven" <sip:113@xxxxxxxxxxxxxx>;tag=a742823e
> > To: "steven" <sip:113@xxxxxxxxxxxxxx>;tag=1078911794
> > Call-ID: 44146977cf584050@c3RldmVu
> > CSeq: 1 REGISTER
> > Contact:
> > <sip:113@xxxxxxxxxxxxxx:3700;rinstance=e9079d36ae4f0e0e>;expires=30
> > Content-Length: 0
> >
> >
> > //-- From Brekeke OnDO SIP Server
> >
> > SIP/2.0 200 OK
> > Via: SIP/2.0/UDP 192.168.101.56:3700;branch=z9hG4bK-d87543-
> > dd32be4f017a1b7d-1--d87543-;rport=3700
> > From: "IVR"<sip:115@xxxxxxxxxxxxxx:6060>;tag=4775f229
> > To: "IVR"<sip:115@xxxxxxxxxxxxxx:6060>;tag=1141793884182-497855003
> > Call-ID: 6c3a17606b469017@c3RldmVu
> > CSeq: 2 REGISTER
> > Contact: <sip:115@xxxxxxxxxxxxxx:3700>;expires=30;q=1.0
> > Server: Brekeke OnDO SIP Server (1.2.4.3/144)
> > Content-Length: 0
> >
> > I use ethereal to trace the message, I found if I use "PartySIP server",
> > the re-register will occur every 25 seconds, but if I use "OnDO SIP
> > Server", the re-register will not occur.
> > I doubt the resip failed to parser this:
> >
> > Contact: <sip:115@xxxxxxxxxxxxxx:3700>;expires=30;q=1.0
> >
> > anyone can help me?
> >
> >
> > maodonghu
> > hhmmdd@xxxxxxx
> > 2006-03-08