Re: [Sofia-sip-devel] Contact header incorrect

2010-08-04 Thread Pekka Pessi
Hi,

2010/7/26 Nauman Sulaiman nauman762-h...@yahoo.co.uk:
 Hi, using Sofia 1.12.10. I have multiple sip accounts, with separate nua 
 handles for each nua_register etc. When i get a nua_i_invite and send a 
 response it seems to pick a contact randomly from sip accounts that i have
 for the contact header. I am switching on the sip_request field to determine
 the account the invite is for then i manually attach SIPTAG_CONTACT_STR  to 
 each nua_respond etc then all is ok.

 But is there a better way i should be doing this?

Unfortunately, no. SIPTAG_CONTACT() is best you can do at the moment.

-- 
Pekka.Pessi mail at nokia.com

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] Contact header incorrect

2010-07-26 Thread Nauman Sulaiman
Hi, using Sofia 1.12.10. I have multiple sip accounts, with separate nua 
handles for each nua_register etc. When i get a nua_i_invite and send a 
response it seems to pick a contact randomly from sip accounts that i have
for the contact header. I am switching on the sip_request field to determine
the account the invite is for then i manually attach SIPTAG_CONTACT_STR  to 
each nua_respond etc then all is ok.

But is there a better way i should be doing this?

Thanks 


  

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel