Hi All,
I was able to authenticate via radius using the file /etc/raddb/users
1001(a)my.domain.com Auth-Type := Digest, User-Password == "mypassword"
Reply-Message = "Authenticated"
Next thing I want to do is authenticate via radius using postgres, I've
already created the tables but I don't know what things i should on there.
Anyone can give me a hint? I would like to do accounting via
radius/postgres.
If there are any documents you know I can read kindly send it. Thank You.
Regards,
Nhadie
do you have ngrep installed, also to see if you are in the loop, see if
you LOG line is being displayed in /var/log/messages or wherever else
you are dumping ser's output
Colin Jordan wrote:
>It is my first time with this, so sorry for the stupid question. I run
>ngrep, it does not see it as a command. How can I see if I am falling into
>the loop?
>
>-----Original Message-----
>From: Iqbal [mailto:iqbal@gigo.co.uk]
>Sent: Wednesday, September 21, 2005 3:11 PM
>To: Colin Jordan
>Cc: 'Leonid Fainshtein'; serusers(a)lists.iptel.org
>Subject: Re: [Serusers] Handoff to PSTN
>
>Can u post a ngrep of the call, to see what is actually being sent to
>and from where.
>
>Also have you checked to see if you are actually falling into the loop,
>i.e the if statement is matching
>
>Iqbal
>
>Colin Jordan wrote:
>
>
>
>>Hi there
>>
>>Yes I have just tried it but still do not work.
>>
>>Best regards,
>>
>>Colin
>>
>>-----Original Message-----
>>From: Leonid Fainshtein [mailto:LFAIN@boscom.com]
>>Sent: Wednesday, September 21, 2005 3:27 PM
>>To: cjordan(a)econetwireless.com
>>Cc: serusers(a)lists.iptel.org
>>Subject: RE: [Serusers] Handoff to PSTN
>>
>>Hi Colin,
>>First of all, according to RFC3261 the pound sign can't be used in the
>>user name. Secondly, it may be considered by SER as start of the
>>comment.
>>Have you tried to put prefix 666 without '#'?
>>
>>Best regards,
>>Leonid Fainshtein
>>DISCLAIMER: The information in this message is confidential and is legally
>>privileged. It is intended solely for the addressee. Access to this message
>>
>>
>by
>
>
>>anyone else is unauthorized.If receiving in error please accept our
>>
>>
>apologies
>
>
>>and notify the sender immediately. You must also delete the original
>>message from your machine. If you are not the intended recipient, any use,
>>disclosure, copying, distribution or action taken in reliance of it, is
>>
>>
>prohibited
>
>
>>and maybe
>>unlawful.
>>
>>
>>
>>
>>_______________________________________________
>>Serusers mailing list
>>serusers(a)lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>>
>>.
>>
>>
>>
>>
>>
>DISCLAIMER: The information in this message is confidential and is legally
>privileged. It is intended solely for the addressee. Access to this message by
>anyone else is unauthorized.If receiving in error please accept our apologies
>and notify the sender immediately. You must also delete the original
>message from your machine. If you are not the intended recipient, any use,
>disclosure, copying, distribution or action taken in reliance of it, is prohibited
>and maybe
>unlawful.
>
>
>
>
>
>.
>
>
>
Hi Colin,
First of all, according to RFC3261 the pound sign can't be used in the
user name. Secondly, it may be considered by SER as start of the
comment.
Have you tried to put prefix 666 without '#'?
Best regards,
Leonid Fainshtein
I compiled the openser 0.9.5 with acc module, and radiusclient-ng 0.5.1 on freebsd 5.4. The compilation is fine, but when I configure the config file to load acc.so module, I see this error:
blah..blah..blah
WARNING: no fork mode and more than one listen address found(will use only the the first one)
0(28499) shm_mem_init: success
0(0) core dump limits set to 134596096
0(0) DEBUG: init_mod: acc
0(0) ACC - initializing
0(0) find_export: found <load_tm> in module tm [/home/dvalencia/usr/local/lib/openser/modules/tm.so]
Segmentation fault (core dumped)
Anybody can help me about this?
Thanks!
____________________
Diego Valencia
Network Support
PowerVT SA
Tel: 0351-4257748
Movil: 0351-155194286
Dear all,
I'm new to SER. I wish to use softphone X-lite on SER and radius in db_mode.
I have installed SER 0.8.14 (by tarball) and Mysql 3.23.54 in Redhat 9. Also, I have added some subscribers into DB "ser". After setting /usr/local/etc/ser/ser.cfg as the document "iptel.org SIP Express Router v0.11.0 -- Admin's Guide"(http://www.iptel.org/ser/doc/seruser/seruser.html#DEFAULTSCRIPT) guided, I could load the modules "auth" and "auth_db" and successfully log any subscriber that Mysql contains in X-lite.
And now, I want to load radius-related modules: "acc", "auth_radius", "group_radius", "uri_radius" in SER. But when I put only one line: "loadmodule "/usr/local/lib/ser/modules/auth_radius.so"" in ser.cfg and then run ser, there is an error reply: "ERROR: bad config file (1 errors)".
How come? How to load those modules properly?
Many thanks.
Shuai
http://www.godentek.biz
Okay everyone...I have an easy one for you.
I am trying to do a simple fail over from one ip to the other if I get a
4040 and it fails. Can one of you type the correct syntax for me.
Below is what I am trying to accomplish.
if (uri=~"sip:^1234567890.*@.*"){
prefix("1234");
rewritehostport("xxx.xxx.xxx.xxx:5060");
I need the hostport to be able to be rolled to another hostport ip if
this one comes back with a 404 or any other failure. Can on eof you
please help?
I have a big problem handing my call of to the PSTN, It give me a 404 error
(not connected). What can I do to fix this?
My handoff script looks like this:
if (uri=~"^sip:9[0-9] *(a)gaco.co.za") {
log ("Forwarding to PSTN\n");
prefix("666#");
t_relay_to_udp("217.15.11.87","5060");
break;
};
The PSTN interconnect description:
1) I need to send a prefix of 666# followed by full intl number without
leading 0's.
eg. 666#442071016211
2) The PSTN are connecting me to a Cisco SIP Proxy server, which uses
Tech-prefixes eg 123# to separate and authenticate the calls into different
domains.
What can I do to get it working?
DISCLAIMER: The information in this message is confidential and is legally
privileged. It is intended solely for the addressee. Access to this message by
anyone else is unauthorized.If receiving in error please accept our apologies
and notify the sender immediately. You must also delete the original
message from your machine. If you are not the intended recipient, any use,
disclosure, copying, distribution or action taken in reliance of it, is prohibited
and maybe
unlawful.
Dear all,
I am getting 404 User Not Found whenever i received a NOTIFY method.
Don't know what is wrong with it. All i did in the ser.cfg was a simple
lookup("location") but it seems that they cannot find the record in the
location table. I have check and confirm that the user location record
is in the table.
What is going on ? What are they suppose to compare or what is the
lookup suppose to do ? What i cannot understand is why are there no if
else to take in method==NOTIFY .
Please help.
Regards,
Sam
Hi all experts
I install ser in server linux 192.168.0.1 <http://192.168.0.1> fedora.
After start ser, i see in the console:
Warning:could not rev.resolve 192.168.0.1 <http://192.168.0.1>
So that when i send REGISTER to server SER.
SER always responds ICMP host unreachable.
What do you think?
Many thank for your help
Hi all,
I use ser.cfg defaul, and uncomment some line to support mysql.
After start ser, i use: /usr/sbin/serctl ps
i see in the console that:
stand-alone receiver @ 127.0.0.1:5060 <http://127.0.0.1:5060>
so that i always got ICMP host unreachable when i use SIP client
to send REGISTER.
How can i add IP server for ser?
Thank you