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. After hacking in nta.c, I have found nta_msg_request_complete() takes leg->leg_seq what make a lot of sense if Sofia keeps track of it, but it doesn't. I have being printf leg->leg_seq and it doesn't change when receiving request. I have look into nta.c to see if it would change in the incomings, but no. Anyway, the easier solution that I found is keeping myself track of cseq and changing leg->leg_seq in my program. The problem of course is that I have to see nta_internal.h. The other solution is changing nta_msg_request_complete() in nta.c, but I am not inclined to. By the way Pekka, thank you for nta_incoming_bind(), it worked great. Diego Betancor ------------------------------------------------------------------------- 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