Hi Romanov, Romanov Vladimir wrote: > > Hi! > > We want implement next scheme. > > From user side: > > 1) Every user has two usernames – login & billingid. Passwords are > same for both. > > 2) User can login using both names. Just for sample user can login > form PC using one name and from mobile device using other name. All > user registration must be same. > > 3) Other users can call this user using both names. > > For 3) we can use alias_db module. For 1) & 2) we can do some aliasing > in register messages. And convert all registration to one form > (billing id for sample). For this purpose we must write simple module. > During registration, you can force a different AOR (than the one from SIP message - TO hdr) for saving the contact: in 1.5.x : http://www.opensips.org/html/docs/modules/1.5.x/registrar.html#id271106 in 1.4.x: http://www.opensips.org/html/docs/modules/1.4.x/registrar.html#id228309
Regards, Bogdan > > Maybe there exist better solution? > > ----------------- > > Vladimir Romanov > > Scartel Star Lab > > CTO > > +7 (960) 239-0853 > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
