Re: Ack not arriving
"M. Rangnathan" <[email protected]>
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <[email protected]> |
Gal, Yes the ACK must have a different Branch ID. Otherwise, it winds up matching the INVITE client transaction and since that transaction is complete, it gets dropped. One can gete around this I suppose as there are a lot of buggy clients around that dont do this but I fear other things will start breaking. Perhaps I will make this a stack configurable property that allows such erroneous ACKs through. I will get around to this hack in a few days. Any comments on this Jeroen? Possible gotchas? Ranga Gal Ben-Yair wrote: >Hi Ranga, > >Thanks for the help. >Unfortunately, the ACK arrives from an external source not under my control. >I receive an INVITE, reply with OK and receive the ACK. >So you are saying that the ACK MUST have a different branch id than that of >the INVITE? Is there no way around this? > >Thanks, > Gal >-----Original Message----- >From: M. Rangnathan [mailto:[email protected]] >Sent: Tuesday, July 11, 2006 14:27 >To: Gal Ben-Yair >Cc: [email protected] >Subject: Re: [nist-sip] Ack not arriving > >Hi! > >The ACK branch ID is the same as the INVITE. ACKs are supposed to be >directed to the dialog and should have a branch ID different than the >INVITE. Please change the branch ID for the ACK -- or better yet, use >Dialog.createAck as the examples do and it should work I expect. > >Ranga > >Gal Ben-Yair wrote: > > > >>Hi, >> >> >> >>I am currently using an older 1.2 version (about 6 months) and I want >>to upgrade to the latest 1.2 version >> >>I downloaded the latest CVS version (as of July 9^th ) and recompiled >>my project. >> >> >> >>For some reason, I am not getting the ACK response after I send OK on >>an INVITE. >> >>That is, I receive an INVITE request and reply with OK. Using >>ethereal, I can see that the ACK request is sent but I never receive >>it in my code. processRequest is never called. Also, looking at the >>stack logs, I can see that the ACK is received by the stack. >> >> >> >>I understand this is too basic to be an issue but the code works as-is >>on an older sip stack version. >> >>Can anybody help me with this? >> >> >> >>I included logs. The logs have only one INVITE request. >> >> >> >>Thanks, >> >> Gal >> >>------------------------------------------------------------------------ >> >>_______________________________________________ >>nist-sip mailing list >>[email protected] >>http://www-x.antd.nist.gov/mailman/listinfo/nist-sip >> >> >> >> > > > > -- M. Ranganathan Advanced Networking Technologies Division, National Institute of Standards and Technology (NIST), 100 Bureau Drive, Stop 8920, Gaithersburg, MD 20899. tel:301 975 3664 , fax:301 590 0932 http://w3.antd.nist.gov/ Advanced Networking Technologies For the People!