Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-26 Thread Kai Vehmanen
On Fri, 22 Sep 2006, Michael Jerris wrote: Attached is the beginnings of a patch for this can someone point me in the right direction of what else I need to do.. I know I need to add the nua_respond_to_register still.. what I would like to do is just send the event up to the event loop

Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-14 Thread Henrik Nordstrom
tor 2006-09-14 klockan 11:15 +0300 skrev Pekka Pessi: 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

Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-14 Thread Pekka Pessi
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.

Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-14 Thread Matt Klein
Pekka, So, NUTAG_IDENTITY works now with and handles multiple outbound registrations (and corresponding inbound register cache requests)? On a side thought, if we wanted to have a bunch of sip clients register to us, on the nua side, how would you suggest we proceed? Matt On Thu, 14 Sep

Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-14 Thread Pekka Pessi
On 9/14/06, Matt Klein [EMAIL PROTECTED] wrote: Pekka, So, NUTAG_IDENTITY works now with and handles multiple outbound registrations (and corresponding inbound register cache requests)? Sorry, not yet. But I'm working on it. On a side thought, if we wanted to have a bunch of sip clients

Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-14 Thread Michael Jerris
, ect. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:sofia-sip- [EMAIL PROTECTED] On Behalf Of Pekka Pessi Sent: Thursday, September 14, 2006 5:13 AM To: Henrik Nordstrom Cc: sofia-sip-devel@lists.sourceforge.net Subject: Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-14 Thread Kai Vehmanen
Hello again, On Wed, 13 Sep 2006, Henrik Nordstrom wrote: Currently I use the same Contact for all identifies, and switching identity based on To. But I have found some registrars dislikes multiple identities registered with the same contact. I think being able to specify a contact like

[Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-14 Thread Pekka Pessi
] On Behalf Of Pekka Pessi Sent: Thursday, September 14, 2006 5:13 AM To: Henrik Nordstrom Cc: sofia-sip-devel@lists.sourceforge.net Subject: Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header On 9/14/06, Henrik Nordstrom [EMAIL PROTECTED] wrote: I added yesterday a tag called

Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-14 Thread Kai Vehmanen
On Thu, 14 Sep 2006, Pekka Pessi wrote: I'd propose creating a separate proxy/registrar. They can run within same process, but proxy/registrar must use nta directly. Of course, if someone has the time to try this out: - add a new nua_i_register event to NUA - add nua_respond_to_register()

Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-14 Thread Kai Vehmanen
On Thu, 14 Sep 2006, Michael Jerris wrote: It appears that from everything that is said, the current tags regarding user and identity tend to only work with something that we register to. Yes, the case NUA has been designed for is: - one set of physical ports open - one public identity

Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-14 Thread Henrik Nordstrom
On Thu, 2006-09-14 at 12:12 +0300, Pekka Pessi wrote: 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

Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-13 Thread Kai Vehmanen
Hello, On Fri, 8 Sep 2006, Henrik Nordstrom wrote: But for the former one, I guess you only need to add some custom tags to the Contact header for each registration (multiple username parts maybe). Brian, does this match your requirements? For this, something simpler than NUTAG_IDENTITY()

Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-08 Thread Henrik Nordstrom
tor 2006-09-07 klockan 18:01 +0300 skrev Kai Vehmanen: But for the former one, I guess you only need to add some custom tags to the Contact header for each registration (multiple username parts maybe). Brian, does this match your requirements? For this, something simpler than

Re: [Sofia-sip-devel] NUTAG_IDENTITY and contact header

2006-09-07 Thread Kai Vehmanen
Hello, On Mon, 28 Aug 2006, Brian West wrote: we want to use one nua_t for infinite identities and not sure if NUTAG_IDENTITY is the right choice. Anyone wanna comment on this? we've already discussed this on #irc, but for the list archives (in case someone websearches for this), the