On 9/14/06, Henrik Nordstrom <[EMAIL PROTECTED]> wrote:
> > I added yesterday a tag called NUTAG_M_USERNAME() to nua ('M' stands
> > for contact). Its contents will be used as the URL username when the
> > stack generates the Contact header for nua_register().  Hope it helps.

> Looks like a good start. But if you have specified this to
> nua_register(), how does one bring the generated contact adresses
> forward to nua_invite() and other SIP operations which require a local
> contact?

That is the job for NUTAG_IDENTITY().

Just now the contact is selected based on the From header (when
sending INVITE) or To header (when responding to INVITE). If the
From/To URI matches with the AoR URI used with nua_register(), the
contact from that registration is used. Or so it is supposed to work.

-- 
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
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to