On Thu, Feb 26, 2009 at 14:10, Jerry Richards <jer...@tonecommander.com>wrote:

> Another issue related to nua_prack():  The RAck and RSeq headers are
> missing
> in the outbound PRACK message.
>

Hi Jerry,

about your last issue, you have to include RAck in your PRACK manually.
Quoting the answer I got from Pekka back when I was facing problems with
PRACK:

You need the response sequence number (RSeq) from the 180 response in
> the RAck header. The following should work:
>
>  {
>      sip_rack_t rack[1];
>
>      sip_rack_init(rack);
>      rack->ra_response = sip->sip_rseq->rs_response;
>      rack->ra_cseq = sip->sip_cseq->cs_seq;
>      rack->ra_method = sip->sip_cseq->cs_method;
>      rack->ra_method_name = sip->sip_cseq->cs_method_name;
>      nua_prack(call_handle, SIPTAG_RACK(rack), TAG_END());
> }


Regarding RSeq, as you can also see in the quote above, it's not supposed to
be present in PRACK, but in the 18X which you're PRACKing.
Regards.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to