Re: [Sofia-sip-devel] Overriding stack RSeq

2008-07-29 Thread Fabio Margarido
On Fri, Jul 25, 2008 at 11:31 AM, Pekka Pessi <[EMAIL PROTECTED]> wrote: > Is it enough if you just set the initial RSeq? Yes, that's pretty much what I need. Sorry for not being clearer before. > The current nua code does not detect reliably sent preliminary > responses from the presence of RSeq

Re: [Sofia-sip-devel] Overriding stack RSeq

2008-07-25 Thread Pekka Pessi
2008/6/25 Fabio Margarido <[EMAIL PROTECTED]>: > I've taken a stab at fixing the issues I reported earlier and have > come up with a solution for one of them. The attached patches address > the issue of not being able to use a user specified RSeq header when > 1XX answers are sent reliably. > I'm n

Re: [Sofia-sip-devel] Overriding stack RSeq

2008-06-26 Thread Pekka Pessi
2008/6/25 Fabio Margarido <[EMAIL PROTECTED]>: > I've taken a stab at fixing the issues I reported earlier and have > come up with a solution for one of them. The attached patches address > the issue of not being able to use a user specified RSeq header when > 1XX answers are sent reliably. > I'm n

Re: [Sofia-sip-devel] Overriding stack RSeq

2008-06-25 Thread Fabio Margarido
I've taken a stab at fixing the issues I reported earlier and have come up with a solution for one of them. The attached patches address the issue of not being able to use a user specified RSeq header when 1XX answers are sent reliably. I'm not sure this is the best way to solve this issue, so some

Re: [Sofia-sip-devel] Overriding stack RSeq

2008-06-18 Thread Fabio Margarido
OK, I believe this has turned into a bug in the stack. I've noticed some more details: - When I send a 183 response with nua_respond() containing SIPTAG_RSEQ() or SIPTAG_RSEQ_STR() the stack disregards my RSeq and uses its own, and PRACK is treated correctly; - When I send a 180 response in exactl

Re: [Sofia-sip-devel] Overriding stack RSeq

2008-06-17 Thread Fabio Margarido
Sorry to double post, but I've given this some more reading, and now I'm a bit afraid of the answer I'm likely to get to my original question. I've found this in the documentation for nta: "The nta takes care of assigning a serial number to each reliable response and resending them if no PRACK req

[Sofia-sip-devel] Overriding stack RSeq

2008-06-17 Thread Fabio Margarido
Hi there, I'm trying to set a manually generated RSeq header with SIPTAG_RSEQ_STR() in nua_respond(), but 100rel 18X messages go out with a stack generated RSeq anyway. PRACK is not among my NUTAG_APPL_METHOD()s in this case. Is there something I'm missing or is this behavior expected? --