Hello,
I have identified the problem.
When i use the following digest then it is giving me the error message saying "auth: No User-Password or CHAP-Password attribute in the request"
digest file content is:
-----
User-Name = "test", Digest-Response = "631d6d73147add2f9e437f59bbc3aeb7",
Digest-Realm = "testrealm", Digest-Nonce = "1234abcd" ,
Digest-Method = "INVITE", Digest-URI = "sip:5555551212@example.com",
Digest-Algorithm = "MD5", Digest-User-Name = "test"
-----
if change the field "Digest-Nonce" to "User-Password" then it is authenticating, I think there is some problem in dictionary, but it is working fine with out mysql option ( if i use users file insted mysql).
Any one got idea where could be the problem
thanks in advance
jeeth
On Sun, 04 Apr 2004 Jithender Reddy A wrote :
>
>Hello Everyone.
>
>I am trying to configure my SER with freeradius and i followed the document which is available at iptel.org.doc and everything works fine. Now i want to port freeradius to mysql and i have made changces according the tips provided at http://www.frontios.com/freeradius.html , after that freeradius has stated the problems it is working fine with radtest but it is giving problem when i try to run radclient with digest option. here i am giving the radius dump
>
>I have given the following entry in radroupcheck table.
>
>dynamic Auth-Type := Digest
>
>table raddcheck values:
>jeeth Password == jeeth
>
>
>I dont know where i am doing mistake.
>
>Hope some one might have come across this, Please send some tips on configuring SER , freeradius with mysql support.
>
>Thanks in advance
>----------------------
>rad_recv: Access-Request packet from host 127.0.0.1:32903, id=78, length=141
> User-Name = "jeeth@localhost"
> Digest-Response = "631d6d73147add2f9e437f59bbc3aeb7"
> Digest-Attributes = "\001\013testrealm"
> Digest-Attributes = "\002\007jeeth"
> Digest-Attributes = "\003\010INVITE"
> Digest-Attributes = "\004\025sip:jeeth@localhost"
> Digest-Attributes = "\006\005MD5"
> Digest-Attributes = "\n\006test"
>modcall: entering group authorize for request 25
> modcall[authorize]: module "preprocess" returns ok for request 25
> modcall[authorize]: module "chap" returns noop for request 25
> modcall[authorize]: module "mschap" returns noop for request 25
> rlm_realm: Looking up realm "localhost" for User-Name = "jeeth@localhost"
> rlm_realm: Found realm "DEFAULT"
> rlm_realm: Adding Stripped-User-Name = "jeeth"
> rlm_realm: Proxying request from user jeeth to realm DEFAULT
> rlm_realm: Adding Realm = "DEFAULT"
> rlm_realm: Authentication realm is LOCAL.
> modcall[authorize]: module "suffix" returns noop for request 25
>radius_xlat: 'jeeth'
>rlm_sql (sql): sql_set_user escaped user --> 'jeeth'
>radius_xlat: 'SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username = 'jeeth' ORDER BY id'
>rlm_sql (sql): Reserving sql socket id: 4
>radius_xlat: 'SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op FROM radgroupcheck,usergroup WHERE usergroup.Username = 'jeeth' AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id'
>radius_xlat: 'SELECT id,UserName,Attribute,Value,op FROM radreply WHERE Username = 'jeeth' ORDER BY id'
>radius_xlat: 'SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op FROM radgroupreply,usergroup WHERE usergroup.Username = 'jeeth' AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id'
>rlm_sql (sql): Released sql socket id: 4
> modcall[authorize]: module "sql" returns ok for request 25
>modcall: group authorize returns ok for request 25
>auth: type Local
>auth: No User-Password or CHAP-Password attribute in the request
>auth: Failed to validate the user.
>------
>
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
Has anyone tested the compatability of SER with the Mediant 2000 VoP Media
Gateway ?
http://www.audiocodes.com/Main_ID138_1.html
Thanks
Peter Boot
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.650 / Virus Database: 416 - Release Date: 4/4/2004
Hi!
I have a trouble using aliases. When adding an alias, either through
SERAdmin or from commandline with for instance:
serctl alias add 7777 sip:eter@voip.et2605.com
sip:eter@voip.et2605.com
200 Added to table
('7777','sip:eter@voip.et2605.com') to 'aliases'
This looks normal, and the alias gets added to the running ser, but not
saved in MySQL database.
This have been working before, and I have not been able to find out, why
it stopped working.
Regards,
Chris
Hi,
I have ser working fine with all other products with authentication. I have
problem with MSN messenger. It is sending request to ser more than about 15
times but ser is not registering. SER is even not responds with any type of
error message.
Can somebody help me please?
Thanks,
Fahriz Aqeel Ansari
Hi friends,
we recently added an isdn card to our asterisk/ser server.
to keep track of outbound calls I have set up a radius server, I
would like to log every pstn call.
Problem is that I get start logged, but no call end.
this is ser.cfg part of the trick
if (method=="INVITE") {
if (uri==myself) {
if (uri=~"sip:0[0-9]+@"){
setflag(1);
acc_rad_request("Some comment");
record_route();
rewritehostport("sip.mydomain.com:5090");
t_relay_to_udp("127.0.0.1", "5090");
break;
}; #fine if uri sip:0
as you can see there is an asterisk listening on port 5090 (same
machine) that strips the leading 0 from every call and then forward to
the pstn ....
I suppose maybe t_relay_to_udp is not the right forward type ... do I
have to append brach or something like ?
Tnx for any help !
--
Best regards,
Alessio mailto:afoc@interconnessioni.it
Hello-
I am trying to implement a SER configuration where I only have PSTN
connectivity via another SIP proxy which I must log into as a user
agent. Is there any way that SER can act as a UA in this situation so I
can register with the remote server (passing authentication
credentials, etc.) then maintain the connection to provide for both
outbound and inbound calls as necessary from the users on my system?
Regards,
-Steve
I am attempting to NAT a SNOM 200 IP phone behind a Dlink ethernet router.
Unfortunately, I am having trouble with the config in ser.cfg.
I have tried several different options and apparently do not understand what
each of the nathelper exported functions are doing exactly. The
documentation I have found the web is misleading (I am probably not looking
in the correct place). If anyone has this setup working and could send me a
sample config I would greatly appreciate the help.
The normal way to start/sop ser is: using a startup script
/etc/init.d/ser start
or
/etc/init.d/ser stop
There are several tools which can be used to monitor ser and if ser
fails, they can restart ser. e.g. you can use 'mon'.
regards,
klaus
PS: cc to the mailinglist
John LI wrote:
> Hi Klaus,
>
> Is there any daemon which will keep the ser server living?
>
> BTW, what is the normal way to start and stop.
>
> Thanks
>
> John
>
> ----- Original Message -----
> From: "Klaus Darilion" <klaus.mailinglists(a)pernau.at>
> To: "John LI" <john(a)signalc.com>
> Cc: "Jan Janak" <jan(a)iptel.org>; "Jiri Kuthan" <jiri(a)iptel.org>; "Serusers"
> <serusers(a)lists.iptel.org>
> Sent: Friday, April 02, 2004 1:23 AM
> Subject: Re: [Serusers] CDR Issue
>
>
>
>>I guess you haven't installed all the mysql libraries, maybe some
>>php_mysql stuff is missing.
>>
>>$ php -v
>>will give you your version!
>>
>>
>>klaus
>>
>>John LI wrote:
>>
>>
>>>Hi Klaus,
>>>
>>>I have tried to install the serweb on to the system, and after i try to
>
> go
>
>>>to the http://localhost/installed-folder/html/admin/index.php, I got the
>>>error message:
>>>Fatal error: Call to undefined function: mysql_pconnect() in
>>>/var/www/html/serweb_2004-01-04/phplib/db_mysql.inc on line 73
>>>
>>>It is becuase I need to install the PHP4 on the server, and if it is so,
>
> how
>
>>>can I to make sure the PHP4 I installed on the server support the Mysql
>>>feature?
>>>
>>>Thanks for your help.
>>>
>>>John
>>>
>>>----- Original Message -----
>>>From: "Klaus Darilion" <klaus.mailinglists(a)pernau.at>
>>>To: "John LI" <john(a)signalc.com>
>>>Cc: "Jan Janak" <jan(a)iptel.org>; "Jiri Kuthan" <jiri(a)iptel.org>;
>
> "Serusers"
>
>>><serusers(a)lists.iptel.org>
>>>Sent: Wednesday, March 31, 2004 5:54 AM
>>>Subject: Re: [Serusers] CDR Issue
>>>
>>>
>>>
>>>
>>>>missed_calls can be filled also by the acc module -> see the parameters
>>>>in the README file of the acc module.
>>>>
>>>>Klaus
>>>>
>>>>John LI wrote:
>>>>
>>>>
>>>>>Hi Jan,
>>>>>
>>>>>Thanks for you response, after I set the DB flag in the ser.cfg, all
>
> the
>
>>>>>action could be writen to the acc table. thanks for you help.
>>>>>
>>>>>In the ser db there is a bunch of tables there, I am now only using the
>>>
>>>acc
>>>
>>>
>>>>>, subscriber, location tables, I would like to know how to write the
>>>>>information into the missed_call table, active_action table etc.
>>>>>
>>>>>Thanks
>>>>>
>>>>>John
>>>>>
>>>>>----- Original Message -----
>>>>>From: "Jan Janak" <jan(a)iptel.org>
>>>>>To: "John LI" <john(a)signalc.com>
>>>>>Cc: "Klaus Darilion" <klaus.mailinglists(a)pernau.at>; "Jiri Kuthan"
>>>>><jiri(a)iptel.org>; "Serusers" <serusers(a)lists.iptel.org>
>>>>>Sent: Wednesday, March 31, 2004 5:20 AM
>>>>>Subject: Re: [Serusers] CDR Issue
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>On 30-03 11:52, John LI wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hi Jan,
>>>>>>>
>>>>>>>I get the tar ball from the Iptel, and untar it, and I untar the tar
>>>>>
>>>>>ball in
>>>>>
>>>>>
>>>>>
>>>>>>>the /home/alan/, then I changed the Makefile in
>>>>>>>/home/alan/ser-0.8.12/modules/acc, I wonder if it is the correct file
>>>>>
>>>>>you
>>>>>
>>>>>
>>>>>
>>>>>>>mentioned like sip_router/modules/acc/Makefile?
>>>>>>
>>>>>> Yes.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>The other issue is when you talk recomplie the Module, dose that mean
>>>>>>>recompile the acc.so module itself or recomplie the whole ser?
>
> Becuase
>
>>>>>when
>>>>>
>>>>>
>>>>>
>>>>>>>I tried to run the make in the /home/alan/ser-0.8.12/modules/acc,
>
> the
>
>>>>>>>system asked me to complie the the source in the main ser directory.
>>>>>>
>>>>>>I would recommend to recompile the whole ser.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>The third issue is , if I just want the database accounting, no need
>>>
>>>for
>>>
>>>
>>>>>>>Radius Accounting, should I still uncomment the line concerened with
>>>>>
>>>>>Radius
>>>>>
>>>>>
>>>>>
>>>>>>>accounting, can I just uncomment line concerned with the database
>>>>>>>accounting?
>>>>>>
>>>>>>Uncomment just database related lines if you want database accounting
>>>>>>only.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>The fourth issue is, I have load the acc.so in in the ser.cfg, it
>>>>>
>>>>>supposed
>>>>>
>>>>>
>>>>>
>>>>>>>to use the syslog to write the cdr in the Syslog file, is that right?
>>>>>
>>>>>which
>>>>>
>>>>>
>>>>>
>>>>>>>file I should looking for the CDR information.
>>>>>>
>>>>>>/var/log/messages or /var/log/daemon.log (depending on the
>>>>>>distribution).
>>>>>>
>>>>>> Jan.
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>
>
>