On 9/15/06, Alberto Takeshi Mayama <[EMAIL PROTECTED]> wrote:
> But if the distant end sends Re-Invite (putting the call on-hold for
> example), nua will automatically respond with a 200 OK with no contents
> (since SOA is disabled, original SDP was not stored).
> Then, this causes the distant end to Ack and to send BYE immediately
> thereafter.

> I can see NUTAG_AUTOANSWER(0) will instruct nua to not to answer
> automatically to the initial Invite, but it has no effect to subsequent
> Re-Invites.
> So how do I force nua to not to answer automatically to re-Invites?

Stack now tries to be bug-compatible with our old applications. If the
NUTAG_AUTOANSWER has not been set on handle itself, it responds
re-INVITEs with 200 OK. I'm afraid this weird behavior has not been
documented anywhere.

Setting NUTAG_AUTOANSWER(0) on the handle itself helps, e.g., you can
include it in nua_respond() tags or nua_invite().

On the other hand, as you mentioned, autoanswering when there is no
media is bad idea anyways. Also, I think, if the remote end tries to
add a new medium to the session, nua should never autoanswer.
-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to