Hi,
I succeeded in sending radius start/stop packets to my Radius server.
But I saw a problem when the hanging up party is different from the calling party.
In the following radius start/stop pair 200000900568888885 <mailto:200000900568888885@sip.test.net> calls 200000900569871112 but 200000900569871112 is hanging up. So the BYE message is sent from 200000900569871112.
How can I solve this problem so that calling party is same for both radius start stop messages ?
Thu Jun 1 16:29:11 2006
Acct-Session-Id = "c73bf2494104ba79ZTdhMWJjNTYwYmMyM2E1ZjFmZWZhMDAyYWVjYzNmNjM."
Gric-Timezone = 1714959921
Ascend-PRI-Number-Type = 577334379
Ascend-Route-IP = 1936289850
Gric-Roaming-Server-Id = "INVITE"
Ascend-Calling-Subadddress = "sip:200000900569871112@192.168.1.23:16634;rinstance=388dfcffc2868d87;transport=udp"
Gric-Request-Type = 1664561715
Ascend-Route-IPX = 577334379
Ascend-Callback-Delay = 3277318212
Acct-Status-Type = Start
Service-Type = 15
User-Name = "200000900568888885(a)sip.test.net"
NAS-Port = 5060
Acct-Delay-Time = 0
NAS-IP-Address = 193.243.202.99
Timestamp = 1149168551
Thu Jun 1 16:29:13 2006
Acct-Session-Id = "c73bf2494104ba79ZTdhMWJjNTYwYmMyM2E1ZjFmZWZhMDAyYWVjYzNmNjM."
Gric-Timezone = 1664561715
Ascend-PRI-Number-Type = 577334379
Ascend-Route-IP = 1936289850
Gric-Roaming-Server-Id = "BYE"
Ascend-Calling-Subadddress = "sip:200000900568888885@192.168.1.28:16934"
Gric-Request-Type = 1714959921
Ascend-Route-IPX = 577334379
Ascend-Callback-Delay = 1432970919
Acct-Status-Type = Stop
Service-Type = 15
User-Name = "200000900569871112(a)sip.test.net"
NAS-Port = 5060
Acct-Delay-Time = 0
NAS-IP-Address = 193.243.202.99
Timestamp = 1149168553
Regards,
ilker
________________________________
From: sip [mailto:sip@arcdiv.com]
Sent: Thursday, June 01, 2006 1:10 AM
To: İlker Aktuna (Koç.net); serusers(a)iptel.org
Subject: RE: [Serusers] Radius accounting howto
The purpose of the module is to take care of that all for you. I'm afraid I don't use the acc_radius module as I don't honestly see the point in separating out each and every logging function into separate modules (talk about backward thinking). I still use the older acc module compiled with radius support.
The code block I sent you is all that's necessary for the logging of start/stop requests.
N.
[UTF-8?]On Wed, 31 May 2006 19:47:50 +0300, İlker Aktuna \(Koç.net\) wrote
> I tried that configuration. I get no errors but also no radius packet is created/sent.
> after setting the flag by "setflag()" command , do I have to enter another command to send the accounting packet for that marked message ?
>
> Thanks,
> ilker
>
>
________________________________
From: serusers-bounces(a)lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of İlker Aktuna (Koç.net)
> Sent: Wednesday, May 31, 2006 5:26 PM
> To: sip; serusers(a)iptel.org
> Subject: RE: [Serusers] Radius accounting howto
>
>
> Thanks for that information. But, how does Ser know to send start or stop message to radius ?
>
> Thanks,
> ilker
>
>
________________________________
From: sip [mailto:sip@arcdiv.com]
> Sent: Wednesday, May 31, 2006 2:13 PM
> To: İlker Aktuna (Koç.net); serusers(a)iptel.org
> Subject: RE: [Serusers] Radius accounting howto
>
>
> These are essentially log flags.
>
> In order to log an INVITE or a BYE to the radius server (assuming your log_flag param was set to 1), you'd do something like:
>
> if((method=="INVITE" && !has_totag()) || method=="BYE")
> {
> setflag(1);
> };
>
> I stick that BEFORE the loose_route section of my config, as if I don't, it doesn't seem to catch things correctly. I've yet to debug why. The reason I put the extra !has_totag() in there is for my accounting, so I don't end up logging reINVITES from the remote side.
>
> Basically, the parameter for log_flag determines which flag you set in order to log the packet to the radius server.
>
> N.
>
> [UTF-8?]On Wed, 31 May 2006 10:48:42 +0300, İlker Aktuna \(Koç.net\) wrote
> > Hi,
> >
> > Thanks for your reply. I saw that in the source and changed according to them. But I still can't see any radius packets created/sent by Ser when a call is made.
> > What should I add to the configuration to send start/stop packets ?
> >
> > Regards,
> > ilker
> >
> > -----Original Message-----
> > From: serusers-bounces(a)lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of sip
> > Sent: Tuesday, May 30, 2006 8:28 PM
> > To: serusers(a)iptel.org
> > Subject: Re: [Serusers] Radius accounting howto
> >
> > Those params are valid for the old acc module compiled with radius support.
> > The acc_radius module I think uses log_flag and log_missed_flag (according to the source).
> >
> > N.
> >
> > On Tue, 30 May 2006 17:54:40 +0300, Ýlker Aktuna (Koç.net) wrote
> > > Hi everyone,
> > >
> > > I am trying to use acc_radius module with presence CVS sources.
> > > I compiled the radiusclient library and compiled ser with acc_radius module.
> > >
> > > Then I added following lines to the config:
> > >
> > > loadmodule "/root/ser/lib/ser/modules/acc_radius.so"
> > > modparam("acc_radius", "radius_config",
> > "/usr/local/etc/radiusclient-ng/radiusclient.conf")
> > > modparam("acc_radius", "service_type", 15) modparam("acc_radius",
> > > "radius_flag", 1) modparam("acc_radius", "radius_missed_flag", 3)
> > > modparam("acc_radius", "report_ack", 0)
> > >
> > >
> > > But when I try to start ser, it doesn't accept 2 parameters:
> > > modparam("acc_radius", "radius_flag", 1) modparam("acc_radius",
> > > "radius_missed_flag", 3)
> > >
> > > What should be the correct syntax for these parameters ? are they required ?
> > >
> > > And what else should I add to the configuration to send radius-start
> > > and
> > radius-stop messages to the radius server ?
> > >
> > > Thanks,
> > > ilker
> > >
> > >
> > >
> > >
>
>
<http://387555.sigclick.mailinfo.com/sigclick/02090704/07004E09/08054C03/111…>
_____________________________________________________________________________________________________________________________________________
Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa, icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however, sender cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
_____________________________________________________________________________________________________________________________________________
When I type "http://192.168.0.154/serweb/admin/index.php"
in the browser, the login page can successfully be opened.
But after I fill "admin(a)192.68.0.154" and "heslo" into the
username and password fields, and then click "login" button,
nothing happened.
The contents of the serlog is :
Jun 01 15:52:19 serweb [debug] User login: values from login form: username: admin(a)192.168.0.154, password: heslo
Jun 01 15:52:19 serweb [debug] User login: checking password of user with username: admin, domain: 192.168.0.154
Jun 01 15:52:19 serweb [debug] User login: authentication succeeded, uuid: d0318b851be50131032f0f73dfa3fb2b
Jun 01 15:52:19 serweb [debug] User login: redirecting to page: users.php
The respective software version are:
serweb-0.9.4, ser-0.9.6, FC5, php-5.1.2-5, mysql-5.0.18-2.1
I have updated these config files:
1. ser.cfg
fifo="/tmp/ser_fifo"
fifo_mode=0666
2. httpd.conf
Alias /serweb "/usr/local/www/serweb/html"
3. php.ini
- short_open_tag = on
register_globals = On
4. config.php
$config->enable_loging = true;
$config->log_level ="PEAR_LOG_DEBUG|PEAR_LOG_INFO|PEAR_LOG_EMERG|PEAR_LOG_ALERT|PEAR_LOG_CRIT|PEAR_LOG_ERR|PEAR_LOG_WARNING|PEAR_LOG_NOTICE";
5.config_data_layer.php
$config->data_sql->host[$i]['host']="192.168.0.154";
Any idea about the problem?
Thanks,
Jason
Thank you so much ! Just one last question. How do I fixed the
environment variables by default ? Why can't I just declare it in
openser.cfg instead of environment variable ?
Thanks again!
Regards,
Sam
-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
Sent: Thursday, June 01, 2006 4:20 PM
To: Sam Lee
Cc: users(a)openser.org
Subject: Re: [Users] Access Denied error
Hi Sam,
default are openserro/openserro for DB access. If you configured (at
install time) different user or password, you may use the environment
variables RO_USER/RO_PW to set different values.
regards,
bogdan
Sam Lee wrote:
> Can anyone tell me why i have this problem when typing in the
> following command ?
>
> root@ccm9:/home/test <mailto:root@ccm9:/home/test># openserctl avp
> list Dumping AVPs
>
> ERROR 1045 (28000): Access denied for user 'openserro'@'localhost'
> <mailto:%27openserro%27@%27localhost%27> (using password: YES)
> root@ccm9:/home/test <mailto:root@ccm9:/home/test>#
>
> Its obviously a userid / password error. But how do i specify what
> password to use for this user openserro ?
> I've changed the default password.
>
> Can someone assist ?
>
> Regards
> Sam
>
>-----------------------------------------------------------------------
>-
>
>_______________________________________________
>Users mailing list
>Users(a)openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>
I've tried it, but it doesn't seem to work. I get this error message:
Starting openser: openser/etc/init.d/openser: line 63: start-stop-daemon:
command not found
My scripting sucks, because I can't see what's wrong with it...
Ty Manthey
-----Original Message-----
From: Daniel-Constantin Mierla [mailto:daniel@voice-system.ro]
Sent: Friday, May 19, 2006 9:37
To: Ty Manthey
Cc: users(a)openser.org
Subject: Re: [Users] /etc/init.d doesn't work
Hello,
On 05/19/06 01:32, Ty Manthey wrote:
> I just did a removal of 0.9.5 and installed 1.0.1 for RH from RPM. My
> problem is that the /etc/init.d doesn't work.
> I get errors for lines 63, 69, 105 : -start-stop-daemon command not found.
> This is a debian command? Should this also work for RH?
> Docs also say sample /etc/init.d config file should be at
> /usr/local/src/openser-1.0.1/sip-server/etc/openser.init ,but
/usr/local/src
> is empty. whereis openser only returns a config file and a folder with
> modules.
> I searched the internet but can't find a posting of a working script, just
> references to the script.
>
that is an issue in the rpm package. Somehow I used the wrong init.d
script when building it. Please use the following script to replace the
existing one:
http://openser.cvs.sourceforge.net/openser/sip-server/packaging/rpm/openser.
init?view=markup
Cheers,
Daniel
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
Hello,
I'm asking how to configure a server mail with SER.
I would test sending mail over SER between two MSN clients but this doesn't
wok!
Thanks in advance!
Cheers,
Rekik Refka
Hi,
The output of 'ldd' command on my installation is given below:
ldd mysql.so
libmysqlclient.so.12 => /usr/lib/libmysqlclient.so.12 (0x40023000)
libz.so.1 => /usr/lib/libz.so.1 (0x4005b000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x4006c000)
libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0x4019f000)
libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0x401cb000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x401df000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
In my installation, it is linking to libmysqlclient.so.12 instead of libmysqlclient.so.14 in your installation. i.e the only difference I am finding b/w mine and yours.
Regards,
Benjamin.
_____
From: Greger V. Teigre [mailto:greger@teigre.com]
Sent: Thursday, June 01, 2006 11:40 AM
To: George, Benjamin
Cc: serusers(a)iptel.org
Subject: Re: [Serusers] mysql configuration issue
Have you linked against the right libraries?
This is for 0.9.x on CentOS 4:
[greger@siprouter modules]$ ldd mysql.so
libmysqlclient.so.14 => /usr/lib/mysql/libmysqlclient.so.14 (0x00111000)
libz.so.1 => /usr/lib/libz.so.1 (0x002aa000)
libc.so.6 => /lib/tls/libc.so.6 (0x00c94000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x006a6000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00376000)
libm.so.6 => /lib/tls/libm.so.6 (0x00530000)
libssl.so.4 => /lib/libssl.so.4 (0x00c0a000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x00e29000)
/lib/ld-linux.so.2 (0x00987000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00baa000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x0022a000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00faa000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x003fc000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00a5e000)
libdl.so.2 => /lib/libdl.so.2 (0x0028f000)
[greger@siprouter modules]$ rpm -q mysql
mysql-4.1.12-3.RHEL4.1
Benjamin.George(a)t-systems.com <mailto:Benjamin.George@t-systems.com> wrote:
Hi All,
Thanks Adam for providing the link.
But as mentioned by zhangshuai, I am also getting the same error after doing those procedures. Error messages are pasted below:
stateless - initializing
0(0) Maxfwd module- initializing
textops - initializing
root@ubuntu:/usr/local/sbin # 0(0) register_udomain(): Invalid table version (use ser_mysql.sh reinstall)
0(0) domain_fixup(): Error while registering domain
ERROR: error -1 while trying to fix configuration
It will be great somebody gives some pointer to resolve this issue.
Regards,
Benjamin.
-----Original Message-----
From: serusers-bounces(a)lists.iptel.org <mailto:serusers-bounces@lists.iptel.org> [mailto:serusers-bounces@lists.iptel.org <mailto:serusers-bounces@lists.iptel.org> ] On Behalf Of zhangshuai
Sent: Thursday, June 01, 2006 6:57 AM
To: serusers
Subject: Re: Re: [Serusers] mysql configuration issue
Dear All,
I use mysql-4.1.15 and encountered the same error. After I did as the webpage said, I got another error: "invalid table version".
I compiled the source code from cvs:
cvs -d :pserver:anonymous@cvs.berlios.de:/cvsroot/ser checkout sip_router
Is it the latest stable version?
Thanks for your answers.
Benjamin.George(a)t-systems.com <mailto:Benjamin.George@t-systems.com> wrote:
*root@ubuntu:/usr/local/sbin # 0(0) new_connection(): Client does not
support authentication protocol requested by server; consider upgrading
MySQL client*
http://dev.mysql.com/doc/refman/5.0/en/old-client.html <http://dev.mysql.com/doc/refman/5.0/en/old-client.html>
Regards
Adam
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org <mailto:Serusers@lists.iptel.org>
http://lists.iptel.org/mailman/listinfo/serusers <http://lists.iptel.org/mailman/listinfo/serusers>
= = = = = = = = = = = = = = = = = = = =
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org <mailto:Serusers@lists.iptel.org>
http://lists.iptel.org/mailman/listinfo/serusers <http://lists.iptel.org/mailman/listinfo/serusers>
Can anyone tell me why i have this problem when typing in the following
command ?
root@ccm9:/home/test <mailto:root@ccm9:/home/test> # openserctl avp list
Dumping AVPs
ERROR 1045 (28000): Access denied for user 'openserro'@'localhost'
<mailto:'openserro'@'localhost'> (using password: YES)
root@ccm9:/home/test <mailto:root@ccm9:/home/test> #
Its obviously a userid / password error. But how do i specify what
password to use for this user openserro ?
I've changed the default password.
Can someone assist ?
Regards
Sam
Anyone to help in this case ? I've changed the readonly user for openser
and i'm not sure how to point openser to use the different password
instead of the default one.
Please help !
________________________________
From: users-bounces(a)openser.org [mailto:users-bounces@openser.org] On
Behalf Of Sam Lee
Sent: Thursday, June 01, 2006 12:04 PM
To: users(a)openser.org
Subject: [Users] Access Denied error
Can anyone tell me why i have this problem when typing in the following
command ?
root@ccm9:/home/test <mailto:root@ccm9:/home/test> # openserctl avp list
Dumping AVPs
ERROR 1045 (28000): Access denied for user 'openserro'@'localhost'
<mailto:'openserro'@'localhost'> (using password: YES)
root@ccm9:/home/test <mailto:root@ccm9:/home/test> #
Its obviously a userid / password error. But how do i specify what
password to use for this user openserro ?
I've changed the default password.
Can someone assist ?
Regards
Sam
Hi,
regarding my previous E-mail I suppose that it might be an indexes problem in
the table structure.
I have defined both columns "auth_user" and "id" as primary keys because I want
to associate up to 4 AVPs to an "auth_user" with different "id"s. But when I
insert a second (different) "id" to the same "auth-user" into the table I get a
mysql-error #1062 - Duplicate entry for key 1.
Therefore I will now clarify the right way of defining primary keys :-) .
regards
Franz
I have problems with serctl domain add (show) functions. Script inserts
domain into mysql table, but I'm getting the following errors:
500 command 'domain_dump' not available
500 command 'domain_reload' not available
Do you have solution for that?
Regards,
Mindaugas