On 5/19/06, Legostayev Denis <[EMAIL PROTECTED]> wrote:
I want to use Sofia-sip library for developing application that will be work
with mulitiple users (gateway). Therefore i need custom Contact header in
calls associated with particular user. In case of outgoing INVITE it can be
specified with creation of operation handle by passing SIPTAG_CONTACT or
SIPTAG_CONTACT_STR to nua_handle(...). Is there simple way for adding
SIPTAG_CONTACT_STR to nua_handle object associated with incoming INVITE?
Using nua_set_hparams(...) does not seems to work with this tags...

Sorry, there is no easy way to do that a the moment.  You can use
nua_respond() with SIPTAG_CONTACT_STR(), but the contact is not
stored.

So, you have to use NUTAG_AUTOANSWER(0) and NUTAG_AUTOANSWER(0), too,
so that your application has a chance to use the custom Contact header
whenever it is going to repond to INVITE or re-INVITE.

--
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&kid0709&bid&3057&dat1642
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to