2007/6/30, Jerry Richards <[EMAIL PROTECTED]>: > I do not specify the NUTAG_AUTOACK() tag when I call nua_invite(). When the > far-end sends "200 OK" to answer the call, the sofia-sip stack does send the > ACK, but it has two incorrect fields, as follows: > > 1) The Contact Header is missing
Contact header is optional in ACK request (see p. 162 of RFC 3261). > 2) The URL part of the From Header does not have the AOR part > and the IP address is that of the phone, not the proxy Like, it is different from the From header in INVITE? > Do you think I'm setting something incorrectly? How do you specify the From header in first place, do you include SIPTAG_FROM()/SIPTAG_FROM_STR() in nua_handle() tags or in nua_invite() tags? > Must I pass > NUTAG_AUTOACK(0) in the nua_invite() call, and then manually send the ACK? You could then include Contact (by using SiPTAG_CONTACT(), for example), at least. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel