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 not sure this is the best way to solve this issue, so someone
> please review them.

I'll have a peek on them shortly, but probably not until next week.
Thanks for your patch!

--Pekka

> Also, sorry if the naming conventions are not
> coherent with the rest of the code. Anyway, it works for me.
> Additionally, I've figured out the other issue and the difference
> between responding with 180 or 183. Turns out simply including and SDP
> in the 180 response is not enough for the stack to understand it as
> early media, I have to set NUTAG_EARLY_MEDIA() as well. In this case,
> the 180 answer is not sent reliably and the RSeq header supplied by
> the application is used as expected. But the associated nta_incoming_t
> structure is not updated, and the PRACK is refused with 481. I've not
> yet looked into this one.
> Thanks.
>
> On Wed, Jun 18, 2008 at 10:28 AM, Fabio Margarido
> <[EMAIL PROTECTED]> wrote:
>> 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 exactly the same way the stack uses my
>> supplied RSeq in the response, but when a PRACK is received with a
>> RAck header containing the number I supplied in the response RSeq,
>> sofia responds to the PRACK with '481 No Such Response'. I believe the
>> RSeq value internally stored with the leg information is not updated
>> when RSeq is supplied.
>>
>> Is there a reason 183 and 180 are treated differently in this situation?
>> Thanks.
>>
>>
>



-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to