<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
<TITLE></TITLE>
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<P><FONT face=Arial><FONT size=2>Hello,<BR><BR>Thanks Jan, for your
information.<BR><BR>I use the "grp" table as Marian Dumitru
Recommandation.<BR><BR></FONT><FONT size=2><EM>if
(is_user_in("Credentials","PBX1") && is_user_in("From","PBX1")
)<BR>
{<BR>
/*ok*/<BR> }<BR><BR></EM>But how
can I redirect an incoming call to a member of this group.<BR>Ser
knows only that ,the Group PABX1 is Registered, and he know is
IP@.<BR></FONT></FONT><FONT face=Arial><FONT size=2><BR>To do this, i have add
:</FONT></FONT></P>
<P><FONT face=Arial size=2>if (is_user_in("To","PABX1
")){<BR><STRONG>forward("62.39.69.11", 5060);
<BR></STRONG>break;<BR>};</FONT></P>
<P><FONT face=Arial size=2>But i already know the IP@ of the grp PABX1, how can
i send it without write the IP@ on SER directly.</FONT></P>
<P><FONT face=Arial><FONT size=2>Thank you all for your
assistance<BR></FONT></FONT><FONT face=Arial><FONT size=2><FONT
color=#0000ff><BR></FONT><FONT color=#000000>Best
Regards</FONT></FONT></FONT></P>
<P><FONT face=Arial><FONT size=2>Nicolas RUIZ</P></FONT></FONT>
<P><FONT face=Arial size=2></FONT><BR><FONT size=2>-----Message
d'origine-----<BR>De : Jan Janak [</FONT><A href="mailto:jan@iptel.org"><FONT
size=2>mailto:jan@iptel.org</FONT></A><FONT size=2>]<BR>Envoyé : jeudi 7 octobre
2004 08:29<BR>A : Nicolas Ruiz<BR>Cc : serusers@lists.iptel.org<BR>Objet : Re:
[Serusers] Associate an USERNAME with more than one Phone Number<BR><BR><BR>Yes,
you can do it if you enable modparam("uri_db", "use_uri_table", 1)<BR>In this
case SER will not just compare the username in digest<BR>credentials with the
username in To/From, but it will use the uri table<BR>in the database to find
out whether the username in digest credentials<BR>and the username in To/From
match.<BR><BR>uri tables is a table enumerating all allowed usernames, thus a
user can<BR>have several different usernames (which are different from
digest<BR>username and it will still match).<BR><BR> Jan.<BR><BR>On 06-10
11:22, Nicolas Ruiz wrote:<BR>> Hello,<BR>><BR>> Is it possible to
associate an Username with more than one Phone Number ?<BR>><BR>> I have
use this function to secure SER :<BR>> if (!check_from())
{<BR>>
sl_send_reply("403", "Only registered users<BR>> are
allowed");<BR>>
break;<BR>>
};<BR>><BR>> That's only good only when the customer send to SER his
Username and the<BR>> same Phone NUMBER.<BR>><BR>> Can i set a
function, who says, with this Username, you are authorize with<BR>> only this
5 Phone numbers (0155632311,0145265213,0133632211 etc...)<BR>><BR>> Thanks
a lot<BR>><BR>> Regards<BR>><BR>> Nicolas RUIZ<BR><BR>>
_______________________________________________<BR>> Serusers mailing
list<BR>> serusers@lists.iptel.org<BR>> </FONT><A
href="http://lists.iptel.org/mailman/listinfo/serusers" target=_blank><FONT
size=2>http://lists.iptel.org/mailman/listinfo/serusers</FONT></A><BR></P></BODY></HTML>