>
> >> is there any way to disable automatic responses for
> >> incoming reinvites ?
> >> I want do process and respond the reinvite in appl level,
> >> like an incoming call, and it seems like the
> >> nua_stack_process_request() is hard coded at this point
> >> (flag in_dialog), and I did not found any tag to disable
> >> this behaviour.
> >
> > When you say re-invite, you mean a retransmission of an
> > already received INVITE request? Or you mean a new INVITE in
> > an already established dialog?
> > In the first case, retransmissions are managed directly by
> > the stack, why do you want to process them? In the second
> > case, you should be able to process them at application
> > level, with a custom callback configured in the leg created
> > for the dialog.
> >
>

I say a new invite in established dialog. In this case, Sofia generates an
> automatic 200 Ok response and call the appl event handler (nua_i_invite
> event) after sending the response. So, my question is about how to disable
> this automatic response.
>
>

Did you try using NUTAG_AUTOANSWER(0) tag in nua_setparams() after having
creted the NUA Agent?

http://sofia-sip.sourceforge.net/refdocs/nua/nua__tag_8h.html#8420377139aec6508181281a8d37f115

Read the above documentation carefully as there are some sections regarding
autoanswers to re-invites.

Cheers,
-Aleksander
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to