2007/9/27, Fabio Margarido <[EMAIL PROTECTED]>: > Hi there, > > when my application receives a 180 with a Require header containing > 100rel, the PRACK requests Sofia sends lacks the user part of the url > of the From header, which causes the remote agent to respond with a > 481.
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 tried to include PRACK in the list of headers my application > takes care of with NUTAG_APPL_METHOD, but when I call nua_prack like > this: > > nua_prack(call_handle, TAG_END()); > > the message is never sent to the network. I get a "nua(0xXXXXXX): > signal r_prack" and then nothing else. Is there something I'm missing? 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. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- 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 Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel