<P>Thanks - I'm trying to download CVS versions as instructed in "direct CVS Access" - however i'm getting a 'BAD CVSROOT' error. I've also tried using the cvs -d option to specify the CVSROOT however it seems i'm not getting anywhere.</P>
<P>would appreciate further help on this as this is all new to me. </P>
<P>TIA</P>
<P>S<BR><BR>----- Original Message ----- <BR>From: Klaus Darilion <KLAUS.MAILINGLISTS@PERNAU.AT><BR>Date: Thu, 13 May 2004 12:34:01 +0200 <BR>To: Sara Allton <TECH_2005@MAIL.COM><BR>Subject: Re: [Serusers]: Problems with authentication <BR><BR>> I suggest you to never mix ser rpms and source code installations. <BR>> <BR>> If you need accounting, remove all ser rpms from your system and use CVS <BR>> versions only. <BR>> <BR>> Klaus <BR>> <BR>> Sara Allton wrote: <BR>> <BR>> > Thanks - it worked. <BR>> > <BR>> > One other question please. <BR>> > <BR>> > I've had to recompile ser from source since I need to log CDRs to Mysql <BR>> > rather than to syslog. However when i try to re-intsall the ser-mysl RPM <BR>> > package, I get a failed dependencies error. Its as if ser is not <BR>> > installed at all. Is there something I'm missing out? <BR>> > <BR>> > Thanks <BR>> > <BR>> > Sar
a <BR>> > <BR>> > ----- Original Message ----- <BR>> > From: Jan Janak <BR>> > Date: Sun, 9 May 2004 19:03:10 +0200 <BR>> > To: Sara Allton <BR>> > Subject: Re: [Serusers]: Problems with authentication <BR>> > <BR>> > > Change realm (the first parameter of www_authorize and www_challenge in <BR>> > > the configuration file) from localdomain.com to 192.168.2.16. That's <BR>> > > what you have configured in the subscriber table. <BR>> > > <BR>> > > Jan. <BR>> > > <BR>> > > On 08-05 12:29, Sara Allton wrote: <BR>> > > > <BR>> > > > Hi, <BR>> > > > <BR>> > > > I've installed SER on Redhat 9 but am having problems with getting a <BR>> > > > Cisco ATA registered. The server replies with message "401 <BR>> > > > Unauthorized". Below is the ser.cfg file, together with ngrep output <BR>> > > > and
mysql subscriber table. <BR>> > > > <BR>> > > > What could the problem be? i've tried modifying the ser.cfg file in <BR>> > > > order to try and get this to work but without luck. I'm not too sure <BR>> > > > regarding the "realm" parameter being passed int the www-authenticate <BR>> > > > message. <BR>> > > > <BR>> > > > TIA <BR>> > > > <BR>> > > > Sara <BR>> > > > <BR>> > > > <BR>> > > > U 192.168.2.100:5060 -> 192.168.2.16:5060 <BR>> > > > <BR>> > > > REGISTER sip:192.168.2.16 SIP/2.0..Via: SIP/2.0/UDP <BR>> > > > 192.168.2.100:5060..From: sip:ciscoata@192.168.2.16..To: <BR>> > > > sip:ciscoata@192.168.2.16..Call-ID: <BR>> > > > <BR>> > > > 3435349313@192.168.2.100..CSeq: 2 REGISTER..Contact: <BR>> > > > ;expires=3500..User-Age <BR>> > >
; > nt: Cisco ATA v2.15 a <BR>> > > > <BR>> > > > ta18x (020927a)..Authorization: Digest <BR>> > > > username="ciscoata",realm="localdomain.com",nonce="409e41b0801685a46a7 <BR>> > > > 9d41e81d85c5adc6bca39",uri="sip:192.168.2.16",response="b878eb13908b9a <BR>> > > > 8251571111eb001acf"..Content-Length: 0.... < BR>> > <BR>> > > > # <BR>> > > > <BR>> > > > U 192.168.2.16:5060 -> 192.168.2.100:5060 <BR>> > > > <BR>> > > > SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP 192.168.2.100:5060..From: <BR>> > > > sipciscoata@192.168.2.16..To: <BR>> > > > sip:ciscoata@192.168.2.16;tag=b27e1a1d33761e <BR>> > > > <BR>> > > > 85846fc98f5f3a7e58.8272..Call-ID: 3435349313@192.168.2.100..CSeq: 2 <BR>> > > > REGISTER..WWW-Authenticate: Digest realm="localdomain.com", <BR>> > > > nonce="409e4
1b1bc69e5210563de14a3dbfbb25941602e"..Server: Sip EXpress <BR>> > > > router (0.8.12 (i386/linux) <BR>> > > > <BR>> > > > )..Content-Length: 0..Warning: 392 192.168.2.16:5060 "Noisy feedback <BR>> > > > tells:pid=1631 req_src_ip=192.168.2.100 req_src_port=5060 <BR>> > > > in_uri=sip:192.168.2.16 out_uri=sip:192.168.2.16 via_cnt==1".... <BR>> > > > <BR>> > > > <BR>> > > > mysql> select * from subscriber; <BR>> > > > <BR>> > > > +----------------------------------+- <BR>> > ------------+--------------+----- <BR>> > > > -----+------------+-----------+-------+------------------------------- <BR>> > > > --+---------------------+---------------------+----------------------- <BR>> > > > -------------------+------+------------------+----------+------------- <BR>> > > > ---------------------+------------------
----------------+-------+----- <BR>> > > > -------+----------+ <BR>> > > > <BR>> > > > | phplib_id | username | domain | <BR>> > > > password | first_name | last_name | phone | <BR>> > > > email_address | datetime_created | <BR>> > > > datetime_modified | confirmation & nbsp; | <BR>> > > > flag | sendnotification | greeting | ha1 <BR>> > > > | ha1b | perms | allow_find | timezone | <BR>> > > > <BR>> > > > +----------------------------------+-------------+--------------+----- <BR>> > > > -----+------------+-----------+-------+------------------------------- <BR>> > > > --+---------------------+------------------ <BR>> > ---+----------------------- <BR>> > > > -------------------+------+------------------+----------+------------- <BR>> > > > ---------------------+----------------------------------+----
---+----- <BR>> > > > -------+----------+ <BR>> > > > <BR>> > > > | 65e397cda0aa8e3202ea22cbd350e4e9 | admin | 192.168.2.16 | <BR>> > > > heslo | Initial | Admin | 123 | <BR>> > > > root@localhost | 2002-09-04 19:37:45 | 0000-00-00 <BR>> > > > 00:00:00 | 57DaSIPuCm52UNe54 LF545750cfdL48OMZfroM53 | o <BR>> > > > <BR>> > > > | | | 2ff35d1f6572c03ae736bd567a46a30b | <BR>> > > > b4c79738fe441c8c26ebc11545423d23 | admin | 0 <BR>> > > > <BR>> > > > | NULL | <BR>> > > > <BR>> > > > | NULL | <BR>> > > > <BR>> > > > | 1fb8e96684801eb7bc53e44d68a18cca | ser | 192.168.2.16 | <BR>> > > > heslo | | | | ser@localhost | <BR>> > > > 2004-05-05 07:47:30 | 0000-00-00 00:00:00 | & <BR>> > > > nbsp; | o <BR>> > > > <BR>> > > > | | | 1fb8e96684801eb7bc53e4
4d68a18cca | <BR>> > > > 5023bfc28eff0b9fc0f48e22b14f5e2b | admin | 0 <BR>> > > > <BR>> > > > | NULL | <BR>> > > > <BR>> > > > <BR>> > > > | f3dbccc505c3611dd538857bbfa8a2b2 | test123 | 192.168.2.16 | <BR>> > > > test | | | | <BR>> > > > test123@192.168.2.16 | 2004-05-05 09:40:50 | 0000-00-00 <BR>> > > > 00:00:00 | &nbs p; | o <BR>> > > > <BR>> > > > | | | f3dbccc505c3611dd538857bbfa8a2b2 | <BR>> > > > 39e3709b96459dd7f5090277aaf988f4 | NULL | 0 <BR>> > > > <BR>> > > > | NULL | <BR>> > > > <BR>> > > > <BR>> > > > | b800b1c879ccf7bccfa1d0fffd6ac28a | ciscoata | 192.168.2.16 | <BR>> > > > qwerty | | | | ciscoata@mail.com | <BR>> > > > 2004-05-09 12:22:22 | 0000-00-00 00:00:00 | <BR>> > > > | o <BR>> > > > <BR>> > > &
gt; | | | b800b1c879ccf7bccfa1d0fffd6ac28a | <BR>> > > > bd81df065d2931e0048989a9fa94e6d5 | NULL | 0 <BR>> > > > <BR>> > > > | NULL | <BR>> > > > <BR>> > > > +----------------------------------+-------------+-------------- <BR>> > +----- <BR>> > > > -----+------------+-----------+-------+------------------------------- <BR>> > > > --+---------------------+---------------------+----------------------- <BR>> > > > -------------------+------+------------------+----------+------------- <BR>> > > > ---------------------+----------------------------------+-------+----- <BR>> > > > -------+----------+ <BR>> > > > <BR>> > > > 4 rows in set (0.00 sec) <BR>> > > > <BR>> > > > <BR>> > > > # <BR>> > > > <BR>> > > > # $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $ <BR>>
; > > > <BR>> > > > # <BR>> > > > <BR>> > > > # simple quick-start config script <BR>> > > > <BR>> > > > # <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > # ----------- global configuration parameters ------------------------ <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > #debug=3 # debug level (cmd line: -dddddddddd) <BR>> > > > <BR>> > > > #fork=yes <BR>> > > > <BR>> > > > #log_ stderror=no # (cmd line: -E) <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > /* Uncomment these lines to enter debugging mode <BR>> > > > <BR>> > > > debug=7 <BR>> > > > <BR>> > > > fork=no <BR>>
> > > <BR>> > > > log_stderror=yes <BR>> > > > <BR>> > > > */ <BR>> > > > <BR>> > > > check_via=no # (cmd. line: -v) <BR>> > > > <BR>> > > > dns=no # (cmd. line: -r) <BR>> > > > <BR>> > > > rev_dns=no # (cmd. line: -R) <BR>> > > > <BR>> > > > #port=5060 <BR>> > > > <BR>> > > > #children=4 <BR>> > > > <BR>> > > > fifo="/tmp/ser_fifo" <BR>> > > > <BR>> > > > <BR>> > > > # ------------------ module loading ---------------------------------- <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > # Uncomment this if you want to use SQL database <BR>> > > > <BR>> > > > loadmodule "/usr/lib/ser/modules/mysql.so" <BR>> > > > <BR>> > > > <BR>> > > > <BR>> >
> > loadmodul e "/usr/lib/ser/modules/sl.so" <BR>> > > > <BR>> > > > loadmodule "/usr/lib/ser/modules/tm.so" <BR>> > > > <BR>> > > > loadmodule "/usr/lib/ser/modules/rr.so" <BR>> > > > <BR>> > > > loadmodule "/usr/lib/ser/modules/maxfwd.so" <BR>> > > > <BR>> > > > loadmodule "/usr/lib/ser/modules/usrloc.so" <BR>> > > > <BR>> > > > loadmodule "/usr/lib/ser/modules/registrar.so" <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > # Uncomment this if you want digest authentication <BR>> > > > <BR>> > > > # mysql.so must be loaded ! <BR>> > > > <BR>> > > > loadmodule "/usr/lib/ser/modules/auth.so" <BR>> > > > <BR>> > > > loadmodule "/usr/lib/ser/modules/auth_db.so" <BR>> > > > <BR>> > > > # ----------------- setting m
odule-specific parameters --------------- <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > # -- usrloc params -- <BR>> > > > <BR>> > > > modparam("usrloc", "db_url", "sql://ser:heslo@192.168.2.16/ser") <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > #modparam("usrloc", "db_mode", 0) <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > # Uncomment this if you want to use SQL database <BR>> > > > <BR>> > > > # for persistent storage and comment the previous line <BR>> > > > <BR>> > > > modparam("usrloc", "db_mode", 2) <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > # -- auth params -- <BR>> > > > <BR>> > > > modparam("auth_db", "db_url", "sql://ser:heslo@192.168.2.16/ser") <BR>> > > > <BR
>> > > > # Uncomment if you are using auth module <BR>> > > > <BR>> > > > # <BR>> > > > <BR>> > > > modparam("auth_db", "calculate_ha1", yes) <BR>> > > > <BR>> > > > # <BR>> > > > <BR>> > > > # If you set "calculate_ha1" parameter to yes (which true in this <BR>> > > > config), <BR>> > > > <BR>> > > > # uncomment also the following parameter) <BR>> > > > <BR>> > > > # <BR>> > > > <BR>> > > > modparam("auth_db", "password_column", "password") <BR>> > > > ; <BR>> > > > <BR>> > > > <BR>> > > > # -- rr params -- <BR>> > > > <BR>> > > > # add value to ;lr param to make some broken UAs happy <BR>> > > > <BR>> > > > modparam("rr", "enable_full_lr", 1) <BR>> > > > <BR>> > > >
<BR>> > > > <BR>> > > > # ------------------------- request routing logic ------------------- <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > # main routing logic <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > route{ <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > # initial sanity checks -- messages with <BR>> > > > <BR>> > > > # max_forwards==0, or excessively long requests <BR>> > > > <BR>> > > > if (!mf_process_maxfwd_header("10")) { <BR>> > > > <BR>> > > > sl_send_reply("483","Too Many Hops"); <BR>> > > > <BR>> > > > break; <BR>> > > > <BR>> > > > }; <BR>> > > > <BR>> > > > if ( msg:len > max_len ) { <BR>> > > > <BR>> > > > sl_send_reply
("513", "Message too big"); <BR>> > > > < BR>> > break; <BR>> > > > <BR>> > > > }; <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > # we record-route all messages -- to make sure that <BR>> > > > <BR>> > > > # subsequent messages will go through our proxy; that's <BR>> > > > <BR>> > > > # particularly good if upstream and downstream entities <BR>> > > > <BR>> > > > # use different transport protocol <BR>> > > > <BR>> > > > record_route(); <BR>> > > > <BR>> > > > # loose-route processing <BR>> > > > <BR>> > > > if (loose_route()) { <BR>> > > > <BR>> > > > t_relay(); <BR>> > > > <BR>> > > > break; <BR>> > > > <BR>> > > > }; <BR>> > > > <BR>> > > >
<BR>> > > > <BR>> > > > # if the request is for other domain use UsrLoc <BR>> > > > <BR>> > > > # (in case, it does not work, use the following command <BR>> > > > <BR>> > > > # with proper names and addresses in it) <BR>> > > > <BR>> > > > # if (uri==myself) { <BR>> > > > <BR>> > > > if (uri=~"^sip :(.+@)?(192\.168\.2\.16)([:;\?].*)?$") { <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > if (method=="REGISTER") { <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > # Uncomment this if you want to use digest authentication <BR>> > > > <BR>> > > > if (!www_authorize("", "subscriber")) { <BR>> > > > <BR>> > > > www_challenge("", "0"); <BR>> > > > <BR>> > > > break; <BR>> > > > <BR>> >
; > > }; <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > save("location"); <BR>> > > > <BR>> > > > break; <BR>> > > > <BR>> > > > }; <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > # native SIP destinations are handled using our USRLOC <BR>> > > > DB <BR>> > > > <BR>> > > > if (!lookup("location")) { <BR>> > > > <BR>> > > > sl_send_reply("404", "Not Found"); <BR>> > > > <BR>> > > > break; <BR>> > > > <BR>> > > > }; <BR>> > > > <BR>> > > > }; <BR>> > > > <BR>> > > > # forward to current uri now; use stateful forwarding; that <BR>> > > > <BR>> > > > # works reliably even if we forward from TCP to UDP <BR>> > > > <BR>> > > > if (!
t_relay()) { <BR>> > > > <BR>> > > > sl_reply_error(); <BR>> > > > <BR>> > > > }; <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > } <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > <BR>> > > > -- <BR>> > > > <BR>> > > > ___________________________________________________________ <BR>> > > > Sign-up for Ads Free at Mail.com <BR>> > > > [1]http://www.mail.com/?sr=signup <BR>> > > > <BR>> > > > References <BR>> > > > <BR>> > > > 1. <BR>> > http://mail01.mail.com/scripts/payment/adtracking.cgi?bannercode=adsfreejump01 <BR>> > <BR>> > > <BR>> > > > _______________________________________________ <BR>> > > > Serusers mailing list <BR>> > > > Serusers@ipte
l.org <BR>> > > > http://lists.iptel.org/mailman/listinfo/serusers <BR>> > > <BR>> > <BR>> > <BR>> > -- <BR>> > <BR>> > ___________________________________________________________ <BR>> > Sign-up for Ads Free at Mail.com <BR>> > http://www.mail.com/?sr=signup <BR>> > <HTTP: adtracking.cgi?bannercode="adsfreejump01" payment scripts mail01.mail.com><BR>> > <BR>> > <BR>> > ------------------------------------------------------------------------ <BR>> > <BR>> > _______________________________________________ <BR>> > Serusers mailing list <BR>> > serusers@lists.iptel.org <BR>> > http://lists.iptel.org/mailman/listinfo/serusers <BR></P><BR>
--
<p>___________________________________________________________<br>Sign-up for Ads Free at Mail.com<br>
<a href="http://mail01.mail.com/scripts/payment/adtracking.cgi?bannercode=adsfreejump01" target="_blank">http://www.mail.com/?sr=signup</a></p>