On 10/1/07, Pekka Pessi <[EMAIL PROTECTED]> wrote:
> That is interesting. How you set the From header when you send INVITE?
> A tag in nua_handle() or in nua_invite()? In any case, according to
> the spec it is O.K. to change the From URI as long as the From tag is
> kept same.
>
I've tried both, but the outcome is the same. At first, I was using
SIPTAG_FROM_STR with nua_invite, and I thought this was the problem.
But changing it to nua_handle did not solve the issue. I got it to
work by using SIPTAG_FROM_STR with every method.
> 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());
> }
>
> ...but it seems to me that there is no tests for PRACK as a user
> method in test_nua. Hmph.
>
Have you seen the bug I filed in the tracker for this PRACK issue?
Apparently there is some code missing in nua_stack.c/.h . Changing
those files made it work, no need to manually setting RAck.
Fabio Margarido
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel