< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

RE: [reSIProcate] Dum registration support for mulitple registrationsof different usernames


You can use multiple registration requests to register multiple users.
You may need a separate UserProfile for each user - if authentication is
required.

> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-
> devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Shaun Dawson
> Sent: Friday, May 26, 2006 2:01 PM
> To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [reSIProcate] Dum registration support for mulitple
> registrationsof different usernames
> 
> All,
> 
> I believe that it is currently impossible to use DUM to register more
> than one username with a registrar.  This is because of line 17 in
> RegistrationCreator.cxx, which uses the target for both the aor and
> contact usernames:
> 
>    makeInitialRequest(target, target, REGISTER);
> 
> I can correct this by changing this line to read:
> 
>    makeInitialRequest(target, userProfile->getDefaultFrom(),
REGISTER);
> 
> which uses the DefaultFrom in the user profile instead of the target.
> 
> Two questions:
> 
> First, Is this the right way to do this?  It seems like it to me, but
> I can't believe that I'm the first person to have encountered this
> issue in the Dum.
> 
> Second, if this is the right way to do this, does anyone mind if I go
> ahead and make this change?  I believe that this will break any
> existing implementations that do not properly set up a user profile,
> so I'm a little bit afraid of doing that.
> 
> thanks,
>   Shaun
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel