On 11/7/06, Diego Betancor <[EMAIL PROTECTED]> wrote: > Hello, I am using nta for a proxy/gateway. > > I create a new leg for each dialog. > > I have been using nta_outgoing_tcreate() with the leg create after the > INVITE to send BYE. The header cseq has been going totally crazy. I have > tried SIPTAG_CSEQ in all its ways, and absolute no avail.
There are two sequences of requests, one for requests received within the leg and another for requests sent within the leg. For the requests sent within the leg the initial value for the CSeq is a integer in the range 1..2³¹. The value is based on the current time as explainedin the RFC 3261 section 12.2.1.1. The idea is an UA could make use of existing Call-ID value after it has been rebooted or otherwise lost the previous dialog context. Perhaps we could initialize the local sequence number in nta_msg_request_complete() so that the application had always chance to use its own initial value. > By the way Pekka, thank you for nta_incoming_bind(), it worked great. Great. I think we need better documentation for NTA, too. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel