Hi,
For me, you have the DIGEST USERNAME
for REGISTRATION (mysql Account with a password)
And the username "phone
number" : for example : FROM sip:123145@domain.
And I want to do: One Digest USERNAME
can make calls with 5 or 6 username for example or use another Security
Authentification.
I have read in Ser Admin's Guide, page 29:
Even it authentication is turned on, there is no relationship between
authentication username and address of
record. That means that for example a
user authenticating himself correctly with "john.doe" id may
register
contacts for "gw.bush". Site policy may wish to
mandate authentication id to be equal to username claimed in
To header field.
check_to action from auth module can be used to enforce such a
policy.
If I use Disget Auth with the function "check_from",
only a custmer with Digest USERNAME == Contact ID can make call >> It's
good.
But if I have a PABX with a GW sip who have only one DIGEST
USERNAME,the phones who are behind teh PABX can't make calls because they are
stopped by SER (FUNCTION "check_from",)
Thanks a lot for your
help.
NICOLAS RUIZ
-----Message
d'origine-----
De : Marian Dumitru [mailto:marian.dumitru@voice-sistem.ro]
Envoyé
: mercredi 6 octobre 2004 12:53
À : Nicolas Ruiz
Cc :
serusers@lists.iptel.org
Objet : Re: [Serusers] Associate an USERNAME with more
than one Phone
Number
Hi there,
What's exactly do you
understand by "username" and "phone number"?
AFAIK, in SIP, there is only the
username (like sip:username@domain")
and some possible aliases.
Best
regards,
Marian
Nicolas Ruiz wrote:
>
Hello,
>
> Is it possible to associate an Username with more
than one Phone Number ?
>
> I have use this function to secure
SER :
> if (!check_from())
{
>
sl_send_reply("403", "Only registered
> users are
allowed");
>
break;
>
};
>
> That's only good only when the customer send to SER his
Username and the
> same Phone NUMBER.
>
> Can i set a
function, who says, with this Username, you are authorize
> with only this
5 Phone numbers (0155632311,0145265213,0133632211 etc...)
>
>
Thanks a lot
>
> Regards
>
> Nicolas
RUIZ
>
>
>
------------------------------------------------------------------------
>
>
_______________________________________________
> Serusers mailing
list
> serusers@lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers