Thread: [OpenSIPStack] Question abotu resending registration to sip
Brought to you by:
joegenbaclor
From: tomach <to...@dg...> - 2007-09-07 17:43:39
|
<p> Hello guys I need help, </p> <p> </p> <p> I try to describe my problem: </p> <p> My softphone based on atlsip is registering to my sipServer, everything works fine. But after about 30-40 minutes it send registering packet again(its good behaviour) but...my sipserver do not recoginse it because there is small difference before first and second register message send by softphone). </p> <p> First register: </p> <p> Session Initiation Protocol<br /> Request-Line: REGISTER sip:sipx.dgt.com.pl SIP/2.0<br /> Method: REGISTER<br /> Resent Packet: False <-- this is good here<br /> <br /> Message Header<br /> <br /> <br /> second register: </p> <p> Session Initiation Protocol<br /> Request-Line: REGISTER sip:sipx.dgt.com.pl SIP/2.0<br /> Method: REGISTER </p> <p> Resent Packet: True <-----this should be like previous (False) </p> <p> Suspected resend of frame: 1216 <-----here my sipServer do not recognise it totally and response with out of order </p> <p> Message Header<br /> </p> <p> </p> <p> So after second regiser message my SIPserver response with out of order and softphone gets unregistered... </p> <p> </p> <p> MY quiestion is how to disable it? this information that the packet is resend? I was trying to locate it in codes but couldnt find it....Please any help is appreciate, because now my softphone only works for half an hour...:( </p> <p> </p> <p> Best Regards, </p> <p> Tom </p> |
From: tomach <to...@dg...> - 2007-09-07 17:48:24
|
<p> I have found only this information: </p> <p> * Revision 1.18 2006/12/20 16:24:44 joegenbaclor<br /> * Implemented keep-alives for upper reg. </p> <p> But dont know where I should change the code that all messages that resend information about registration didnt send those two lines: </p> <p> Resent Packet: True </p> <p> Suspected resend of frame: 1216 </p> <p> and insead of it they shoudl send: </p> <p> Resent Packet: False </p> <p> </p> <p> How to do it? </p> <p> BR, </p> <p> TOM </p> <p> </p> |
From: Joegen E. B. <joe...@gm...> - 2007-09-07 23:13:57
|
It will be good if you know what exactly your server hates about the REGISTER request we send to refresh the bindings. From what I remember, OpenSBC sends exactly the same REGISTER request but with an incremented CSeq. Check out void RegisterSession::SendRegistrationRefresh( PTimer &, INT ) method. tomach wrote: > <p> > Hello guys I need help, > </p> > <p> > > </p> > <p> > I try to describe my problem: > </p> > <p> > My softphone based on atlsip is registering to my sipServer, everything works fine. But after about 30-40 minutes it send registering packet again(its good behaviour) but...my sipserver do not recoginse it because there is small difference before first and second register message send by softphone). > </p> > <p> > First register: > </p> > <p> > Session Initiation Protocol<br /> > Request-Line: REGISTER sip:sipx.dgt.com.pl SIP/2.0<br /> > Method: REGISTER<br /> > Resent Packet: False <-- this is good here<br /> > <br /> > Message Header<br /> > <br /> > <br /> > second register: > </p> > <p> > Session Initiation Protocol<br /> > Request-Line: REGISTER sip:sipx.dgt.com.pl SIP/2.0<br /> > Method: REGISTER > </p> > <p> > Resent Packet: True <-----this should be like previous (False) > </p> > <p> > Suspected resend of frame: 1216 <-----here my sipServer do not recognise it totally and response with out of order > </p> > <p> > Message Header<br /> > </p> > <p> > > </p> > <p> > So after second regiser message my SIPserver response with out of order and softphone gets unregistered... > </p> > <p> > > </p> > <p> > MY quiestion is how to disable it? this information that the packet is resend? I was trying to locate it in codes but couldnt find it....Please any help is appreciate, because now my softphone only works for half an hour...:( > </p> > <p> > > </p> > <p> > Best Regards, > </p> > <p> > Tom > </p> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > |
From: tomach <to...@dg...> - 2007-09-10 11:39:35
|
OK. Thanks a lot. I changed some functionality in this funciton and now everythign works great ! Thank you. |