Hi,
in my tests user can authenticate himself using user_id, password and any
sip uri. I need user authenticating himself only by his associated uri. How
can I do that?
Thanks in advance.
Ivan Vignola.
_________________________________________________________________
Vinci la nuova Nissan Micra con MSN Messenger! http://www.msn.it/messenger/
Hi Jan,
I have successfully compiled the radius modules radius_acc.so and radius_auth.so. But when I try to load the both modules ser tells me:
ERROR: bad config file (2 errors)
I use the solaris binary package from iptel and have compiled myself only the both radius modules. Is there any incompability? How can I get mor debug information?
Regards,
Yang
-----------------------------------
My config file:
debug=7 # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=no # (cmd line: -E)
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
#loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/radius_acc.so"
loadmodule "/usr/local/lib/ser/modules/radius_auth.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
#loadmodule "/usr/local/lib/ser/modules/auth.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
#modparam("usrloc", "db_mode", 2)
# -- auth params --
# Uncomment if you are using auth module
#
#modparam("auth", "secret", "alsdkhglaksdhfkloiwr")
#modparam("auth", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this config),
# uncomment also the following parameter)
#
#modparam("auth", "password_column", "password")
# ------------------------- request routing logic -------------------
# main routing logic
alias="pix-demo.fhg.de"
route{
# initial sanity checks -- messages with
# max_forwars==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if (len_gt( max_len )) {
sl_send_reply("513", "Message too big");
break;
};
# Do strict routing if pre-loaded route headers present
rewriteFromRoute();
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
# if (!www_authorize("iptel.org", "subscriber")) {
# www_challenge("iptel.org", "0");
# break;
# };
save("location");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
# forward to current uri now
if (!t_relay()) {
sl_reply_error();
};
}
Hi,
How could I integrate SIP and H323 together?
I would like to h323 endpoint call sip endpoint.
Is it possible using SER?
My config is Cisco AS5300, gnu gatekeeper and SER.
Hi,
I' ve installed SERWEB.....But when I try to register or login...nothing
happens... the page is reload. The Apache server is working. Anyone had
this same problem?
Thanks,
Adriana Simizo
Telefonica Brasil - Telecomunicações de São Paulo S. A.
Hi,
and in file digest.c of the module radius_auth:
warning:
digest.c: In function `radius_authorize':
digest.c:79: `PW_SIP_NONCE' undeclared (first use in this function)
digest.c:79: (Each undeclared identifier is reported only once
digest.c:79: for each function it appears in.)
digest.c:83: `PW_SIP_NONCE_COUNT' undeclared (first use in this function)
Changed
from PW_SIP_NONCE to PW_SIP_USER_NONCE
and
from PW_SIP_NONCE_COUNT to PW_SIP_USER_NONCE_COUNT
which are defined in your new header file "radiusclient.h".
Hope this is ok.
Regards
Yang
Hi,
While trying to compile the module radius_acc I get some warnings as follows:
acc.c: In function `radius_log_reply':
acc.c:142: warning: passing arg 1 of `parse_from_header' from incompatible pointer type
acc.c: In function `radius_log_ack':
acc.c:426: warning: passing arg 1 of `parse_from_header' from incompatible pointer type
acc.c: In function `rad_acc_request':
acc.c:708: warning: passing arg 1 of `parse_from_header' from incompatible pointer type
So I looked into the file acc.c and found such statements like
if ( parse_from_header( msg )==-1 )
Because the function parse_from_header needs a parameter of type hdr_field, I changed the statements above to
if ( parse_from_header( msg->headers )==-1 )
after this the warnings don't appear any longer.
Is this change ok?
Best Regards
Yang
No it is not very stable and it produces a huge executable but it is the
only open source that I am aware off. I also think that the development of
sip2h323gw has stop since the programer that did the development has left
long ago from Vovida. You can also complile this with the new h323 libraries
available from www.h323.org or so I think.
Giorgos Tsiouris
----- Original Message -----
From: "Vlasis Hatzistavrou" <vhatz(a)auth.gr>
To: "Giorgos Tsiouris" <gtsiouris(a)telecom.ntua.gr>
Sent: Wednesday, February 12, 2003 5:11 PM
Subject: Re: [Serusers] SIP/H.323 Gateway
> Hello Giorgo,
>
> Have you worked with the Vovida sip2h323gw? Is it stable or compatible
with
> other major vendor H323 GW's like Cisco for example?
>
> Best regards,
> Vlasis.
>
> Giorgos Tsiouris wrote:
>
> > There is one SIP to H323 gateway from www.vovida.org . You can download
> > vocal and you can compile only the gateway. I also think that there is
one
> > from siemens (I do not remeber their site) but this is not open source.
> >
> > Giorgos Tsiouris
> >
> > ----- Original Message -----
> > From: "Ng, Soo Sim" <SooSim.Ng(a)hp.com>
> > To: <serusers(a)lists.iptel.org>
> > Sent: Wednesday, February 12, 2003 1:09 PM
> > Subject: [Serusers] SIP/H.323 Gateway
> >
> > > Is there testing being done SIP end-point to H.323 end-point call and
> > vice-versa. What's the SIP/H.323 gateway being tested?
> > >
> > > Thanks
> > >
> > > SS
> > > _______________________________________________
> > > Serusers mailing list
> > > serusers(a)lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> > >
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
>
Hi,
we try to compile ser 0.8.10 with radius support under Solaris 8.
First we have a problem with the radius_acc module. We found s
solution in the mailinglist archive. Now we have a problem with the
radius_auth module. If we compile it we get the following error
message:
digest.c -o digest.o
digest.c: In function `radius_authorize':
digest.c:79: `PW_SIP_NONCE' undeclared (first use in this function)
digest.c:79: (Each undeclared identifier is reported only once
digest.c:79: for each function it appears in.)
digest.c:83: `PW_SIP_NONCE_COUNT' undeclared (first use in this
function)
digest.c: In function `radius_authorize_freeradius':
digest.c:160: `PW_DIGEST_USER_NAME' undeclared (first use in this
function)
digest.c:164: `PW_DIGEST_REALM' undeclared (first use in this
function)
digest.c:168: `PW_DIGEST_NONCE' undeclared (first use in this
function)
digest.c:172: `PW_DIGEST_URI' undeclared (first use in this function)
digest.c:176: `PW_DIGEST_METHOD' undeclared (first use in this
function)
digest.c:184: `PW_DIGEST_QOP' undeclared (first use in this function)
digest.c:192: `PW_DIGEST_CNONCE' undeclared (first use in this
function)
digest.c:201: `PW_DIGEST_NONCE_COUNT' undeclared (first use in this
function)
digest.c:211: `PW_DIGEST_BODY_DIGEST' undeclared (first use in this
function)
digest.c:241: `PW_DIGEST_ALGORITHM' undeclared (first use in this
function)
digest.c:252: `PW_DIGEST_ATTRIBUTES' undeclared (first use in this
function)
digest.c:258: `PW_DIGEST_RESPONSE' undeclared (first use in this
function)
gmake: *** [digest.o] Error 1
we think that there some definitions not defined in an header-file. we
included the dict.h file from the radius_acc module(CVS version), so
most of the definitions PW_SIP_* are present.
Is there a possibility to get the missing definitions?
greetings bjoern
Hi,
Can I just cut and paste the script directly into the ser.cfg file?
-Chi
Original Message:
-----------------
From: serusers (Jiri) serusers(a)lists.iptel.org
Date: Tue, 11 Feb 2003 17:30:52 +0100
To: chid(a)eglobalcall.com, serusers(a)lists.iptel.org
Subject: Re: [Serusers] New Setup of SER
At 01:22 PM 2/11/2003, Chi Dang wrote:
>Hi,
>
>Sorry to be greedy but I have two questions. I've just finished
>installed the ser 0.8 version on Solaris 2.8.
>
>1. When I ran ser, it said it is listening to only 3 servers. I have
>added 2 more into my /etc/hosts file but make no difference. Where does
>ser daemon get the ip of servers that it is listening to?
/etc/hosts configures you resolver and does not affect the interfaces
configured on your host. ser determines existing interfaces but does
not care about your resolver's configuration.
>2. I plan to use ser with my cisco voip gateways. Is there anything
>special that I need to configure ser to make it work with Cisco
>gateways?
Maybe access control
http://www.iptel.org/ser/doc/seruser-html/x740.html#AEN786
Note that Cisco gateways have no digest support, so you are left
only with source IP address "authentication".
-Jiri
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .