Yes, that was my problem! Thank you very mutch!
Are you involved in the SHIP (http://voip.sh.cvut.cz/about.shtml)
project? (because of your emailaddress). I read that you are using Vocal
as voice mail server. Do you have an installation guide how to setup
such a system with vocal and ser?
regards,
Klaus
> -----Original Message-----
> From: Jan Janak [mailto:J.Janak@sh.cvut.cz]
> Sent: Friday, January 17, 2003 1:14 PM
> To: Klaus Darilion
> Cc: serusers(a)lists.iptel.org
> Subject: Re: [Serusers] Password problem with ser and mysql
>
>
> Hello,
>
> auth is not the only module that uses database. If you have
> enabled support for database in usrloc (by modparam("usrloc",
> "db_mode", 1) or modparam("usrloc", "db_mode", 2) then you
> have to change usrloc's password as well. Try to use the
> following: modparam("usrloc", "db_url",
> "sql://ser:klaus@localhost/ser")
>
> regards, Jan.cd
>
> On 17-01 11:56, Klaus Darilion wrote:
> > Hello Jan!
> >
> > Comments inline.
> > > default username and password for auth module is
> > > serro:47serro11, if you are able to login as ser:heslo, then
> > > username and password can be changed.
> >
> > > If you change your password in mysql, you must change it for
> > > ser@localhost For example: grant ALL on ser.* to
> > > ser@localhost identified by 'klaus';
> >
> > I changed it for localhost, but it won't work.
> >
> > > If you use something like grant ALL on ser.* to ser
> > > identified by 'klaus'; then the server will be unable to
> > > login to the database.
> > >
> > > Try also the following:
> > > mysql -h localhost -u ser -p ser
> >
> > I changed the password of ser@localhost to 'klaus'. I can
> connect to
> > mysql with mysql -h localhost -u ser -p ser
> > and password 'klaus'. I changed the password in ser.cfg to 'klaus'
> > modparam("auth", "db_url", "sql://ser:klaus@localhost/ser")
> > , but still the ser server can't start:
> > : connect_db(): Access denied for user: 'ser@localhost' (Using
> > password: YES)
> >
> >
> > I still think there must be a bug somewhere, so that ser tries to
> > connect with the 'heslo' password.
> >
> > regards,
> > Klaus
> >
> > > This will prompt for password, if you are unable to login
> > > with your password, ser will be unable to login as well
> > > (probably because you changed password for ser and not for
> > > ser@localhost)
> > >
> > > regards, Jan.
> > >
> > > On 16-01 18:34, Klaus Darilion wrote:
> > > > Hello!
> > > >
> > > > I have sucessfully installed the ser server (0.8.10 from
> > > rpms) with an
> > > > mysql database. When I use the standard password for the user
> > > > "ser"
> > > > everything works fine. But if I change the password from
> > > "heslo" to a
> > > > new one, for example "klaus" instead of "heslo" (of
> course in the
> > > > mysql-database und in the config file) the ser server
> can not start
> > > > up.
> > > >
> > > > Following are some different configurations and my suggestions
> > > > what
> > > > could be the problem.
> > > >
> > > > ser.cfg: modparam("auth", "db_url",
> > > > "sql://ser:heslo@localhost/ser")
> > > > mySQL-root-password: XXXXX
> > > > mySQL-ser-password: heslo
> > > > ---> works fine
> > > >
> > > > ser.cfg: modparam("auth", "db_url",
> > > > "sql://ser:klaus@localhost/ser")
> > > > mySQL-root-password: XXXXX
> > > > mySQL-ser-password: klaus
> > > > ---> doesn't work: connect_db(): Access denied for user:
> > > > ---> 'ser@localhost'
> > > > (Using password: YES)
> > > > should work, so I tried another user
> > > >
> > > > ser.cfg: modparam("auth", "db_url",
> > > "sql://root:XXXXX@localhost/ser")
> > > > mySQL-root-password: XXXXX
> > > > mySQL-ser-password: heslo
> > > > ---> works fine
> > > >
> > > > ser.cfg: modparam("auth", "db_url",
> > > "sql://root:XXXXX@localhost/ser")
> > > > mySQL-root-password: XXXXX
> > > > mySQL-ser-password: klaus
> > > > ---> doesn't work: connect_db(): Access denied for user:
> > > > ---> 'ser@localhost'
> > > > (Using password: YES)
> > > > very strange, because I told ser to connect as root. Is ser
> > > using the
> > > > default user/password instead of the configured one?
> > > >
> > > > ser.cfg: modparam("auth", "db_url",
> > > "sql://root:YYYYY@localhost/ser")
> > > > mySQL-root-password: XXXXX
> > > > mySQL-ser-password: heslo
> > > > ---> doesn't work: connect_db(): Access denied for user:
> > > > 'root@localhost' (Using password: YES)
> > > > of course it doesn't work, wrong password. So ser cares
> about the
> > > > settings in ser.cfg
> > > >
> > > > So my suggestion is that ser connects several times to the
> > > > database
> > > > whereas one time it uses the configured user/password and
> > > another time
> > > > it uses the default user/password - maybe a bug in the auth
> > > > module?
> > > >
> > > > Or does somebody of you changed the password successfuly?
> > > >
> > > > It would be nice if you can help me.
> > > >
> > > > Thanks,
> > > > Klaus
> > > >
> > > > My system is:
> > > > Linux version 2.4.18-14 (bhcompile(a)astest.test.redhat.com)
> > > (gcc version
> > > > 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Wed Sep 4
> > > 12:13:11 EDT 2002
> > > > MySQL 3.23.52
> > > > ser-0.8.10-2.i386.rpm
> > > > ser-mysql-0.8.10-2.i386.rpm
> > > > _______________________________________________
> > > > 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
> >
>
At 01:59 PM 1/17/2003, Klaus Darilion wrote:
>Yes, that was my problem! Thank you very mutch!
>
>Are you involved in the SHIP (http://voip.sh.cvut.cz/about.shtml)
>project? (because of your emailaddress).
Jan is.
>I read that you are using Vocal
>as voice mail server. Do you have an installation guide how to setup
>such a system with vocal and ser?
I tried to deploy the vocal voicemail a while ago and it did not
meet me expectations. We are working on our own now.
-Jiri
Hello Jan!
Comments inline.
> default username and password for auth module is
> serro:47serro11, if you are able to login as ser:heslo, then
> username and password can be changed.
> If you change your password in mysql, you must change it for
> ser@localhost For example: grant ALL on ser.* to
> ser@localhost identified by 'klaus';
I changed it for localhost, but it won't work.
> If you use something like grant ALL on ser.* to ser
> identified by 'klaus'; then the server will be unable to
> login to the database.
>
> Try also the following:
> mysql -h localhost -u ser -p ser
I changed the password of ser@localhost to 'klaus'. I can connect to
mysql with
mysql -h localhost -u ser -p ser
and password 'klaus'. I changed the password in ser.cfg to 'klaus'
modparam("auth", "db_url", "sql://ser:klaus@localhost/ser")
, but still the ser server can't start:
: connect_db(): Access denied for user: 'ser@localhost' (Using
password: YES)
I still think there must be a bug somewhere, so that ser tries to
connect with the 'heslo' password.
regards,
Klaus
> This will prompt for password, if you are unable to login
> with your password, ser will be unable to login as well
> (probably because you changed password for ser and not for
> ser@localhost)
>
> regards, Jan.
>
> On 16-01 18:34, Klaus Darilion wrote:
> > Hello!
> >
> > I have sucessfully installed the ser server (0.8.10 from
> rpms) with an
> > mysql database. When I use the standard password for the user "ser"
> > everything works fine. But if I change the password from
> "heslo" to a
> > new one, for example "klaus" instead of "heslo" (of course in the
> > mysql-database und in the config file) the ser server can not start
> > up.
> >
> > Following are some different configurations and my suggestions what
> > could be the problem.
> >
> > ser.cfg: modparam("auth", "db_url", "sql://ser:heslo@localhost/ser")
> > mySQL-root-password: XXXXX
> > mySQL-ser-password: heslo
> > ---> works fine
> >
> > ser.cfg: modparam("auth", "db_url", "sql://ser:klaus@localhost/ser")
> > mySQL-root-password: XXXXX
> > mySQL-ser-password: klaus
> > ---> doesn't work: connect_db(): Access denied for user:
> > ---> 'ser@localhost'
> > (Using password: YES)
> > should work, so I tried another user
> >
> > ser.cfg: modparam("auth", "db_url",
> "sql://root:XXXXX@localhost/ser")
> > mySQL-root-password: XXXXX
> > mySQL-ser-password: heslo
> > ---> works fine
> >
> > ser.cfg: modparam("auth", "db_url",
> "sql://root:XXXXX@localhost/ser")
> > mySQL-root-password: XXXXX
> > mySQL-ser-password: klaus
> > ---> doesn't work: connect_db(): Access denied for user:
> > ---> 'ser@localhost'
> > (Using password: YES)
> > very strange, because I told ser to connect as root. Is ser
> using the
> > default user/password instead of the configured one?
> >
> > ser.cfg: modparam("auth", "db_url",
> "sql://root:YYYYY@localhost/ser")
> > mySQL-root-password: XXXXX
> > mySQL-ser-password: heslo
> > ---> doesn't work: connect_db(): Access denied for user:
> > 'root@localhost' (Using password: YES)
> > of course it doesn't work, wrong password. So ser cares about the
> > settings in ser.cfg
> >
> > So my suggestion is that ser connects several times to the database
> > whereas one time it uses the configured user/password and
> another time
> > it uses the default user/password - maybe a bug in the auth module?
> >
> > Or does somebody of you changed the password successfuly?
> >
> > It would be nice if you can help me.
> >
> > Thanks,
> > Klaus
> >
> > My system is:
> > Linux version 2.4.18-14 (bhcompile(a)astest.test.redhat.com)
> (gcc version
> > 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Wed Sep 4
> 12:13:11 EDT 2002
> > MySQL 3.23.52
> > ser-0.8.10-2.i386.rpm
> > ser-mysql-0.8.10-2.i386.rpm
> > _______________________________________________
> > Serusers mailing list
> > serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
>
Hello!
I have sucessfully installed the ser server (0.8.10 from rpms) with an
mysql database. When I use the standard password for the user "ser"
everything works fine. But if I change the password from "heslo" to a
new one, for example "klaus" instead of "heslo" (of course in the
mysql-database und in the config file) the ser server can not start up.
Following are some different configurations and my suggestions what
could be the problem.
ser.cfg: modparam("auth", "db_url", "sql://ser:heslo@localhost/ser")
mySQL-root-password: XXXXX
mySQL-ser-password: heslo
---> works fine
ser.cfg: modparam("auth", "db_url", "sql://ser:klaus@localhost/ser")
mySQL-root-password: XXXXX
mySQL-ser-password: klaus
---> doesn't work: connect_db(): Access denied for user: 'ser@localhost'
(Using password: YES)
should work, so I tried another user
ser.cfg: modparam("auth", "db_url", "sql://root:XXXXX@localhost/ser")
mySQL-root-password: XXXXX
mySQL-ser-password: heslo
---> works fine
ser.cfg: modparam("auth", "db_url", "sql://root:XXXXX@localhost/ser")
mySQL-root-password: XXXXX
mySQL-ser-password: klaus
---> doesn't work: connect_db(): Access denied for user: 'ser@localhost'
(Using password: YES)
very strange, because I told ser to connect as root. Is ser using the
default user/password instead of the configured one?
ser.cfg: modparam("auth", "db_url", "sql://root:YYYYY@localhost/ser")
mySQL-root-password: XXXXX
mySQL-ser-password: heslo
---> doesn't work: connect_db(): Access denied for user:
'root@localhost' (Using password: YES)
of course it doesn't work, wrong password. So ser cares about the
settings in ser.cfg
So my suggestion is that ser connects several times to the database
whereas one time it uses the configured user/password and another time
it uses the default user/password - maybe a bug in the auth module?
Or does somebody of you changed the password successfuly?
It would be nice if you can help me.
Thanks,
Klaus
My system is:
Linux version 2.4.18-14 (bhcompile(a)astest.test.redhat.com) (gcc version
3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 Wed Sep 4 12:13:11 EDT 2002
MySQL 3.23.52
ser-0.8.10-2.i386.rpm
ser-mysql-0.8.10-2.i386.rpm
Hi,
I have installed ser and was amazed how easy it was to install (we have
previously experimented with sipd, which finally runs ...).
I have run through the archives and also looked at all the
documentation, but some things still don't work.
I use kphone 2.11 as client, but have tried sipc on a solaris box to the
same extend. I am running kphone and ser 0.8.10 on redhat 8. MySQL is
3.23.52.
I have set the domain/realm things to cs.stir.ac.uk and restarted ser.
I have then set up a user using "serctl add srm test srm(a)cs.stir.ac.uk".
Now, on serweb in user_interface/index I cannot login with this user.
In kphone, I cannot register (it works ok on the columbia server):
----kphone says------------------------------------------
SipTransaction: Retransmit 1 (4000)
SipClient: Sending: 15:09:37.098
--------------------------------
REGISTER sip:cs.stir.ac.uk SIP/2.0
Via: SIP/2.0/UDP 139.153.254.196:5062
CSeq: 488 REGISTER
To: "Stephan" <sip:srm@cs.stir.ac.uk>
Expires: 900
From: "Stephan" <sip:srm@cs.stir.ac.uk>
Call-ID: 1902284369(a)139.153.254.196
Content-Length: 0
User-Agent: KPhone/2.11
Event: registration
Allow-Events: presence
Contact: "root"
<sip:root@139.153.254.196:5062;transport=udp>;methods="INVITE, MESSAGE,
INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK"
SipClient: Receiving message...
SipClient: Received: 15:09:39.724
---------------------------------
SIP/2.0 478 Unresolveable destination (478/TM)
Via: SIP/2.0/UDP 139.153.254.196:5062
CSeq: 488 REGISTER
To: "Stephan"
<sip:srm@cs.stir.ac.uk>;tag=0a96755a1d32d0360b3e454593e5079b-9b73
From: "Stephan" <sip:srm@cs.stir.ac.uk>
Call-ID: 1902284369(a)139.153.254.196
Server: Sip EXpress router (0.8.10 (i386/linux))
Content-Length: 0
Warning: 392 139.153.254.196:5060 "Noisy feedback tells: pid=5138
req_src_ip=139.153.254.196 in_uri=sip:cs.stir.ac.uk
out_uri=sip:cs.stir.ac.uk via_cnt==1"
--- end kphone -----------------------------------------------------
ser does answer, the Replied locally counter in serctl moni reflects
this ok.
what is wrong?
do you need any other files?
In case you need more detail, where exactly is the server log??
by the way, I have tried this with auth turned on and off in ser.cfg.
and without persistence. always the same ...
thanks
S
--
Dr Stephan Reiff-Marganiec
Research Fellow
Department of Computing Science; University of Stirling
email: srm(a)cs.stir.ac.uk tel: 01786 46 7448
--
The University of Stirling is a university established in Scotland by
charter at Stirling, FK9 4LA. Privileged/Confidential Information may
be contained in this message. If you are not the addressee indicated
in this message (or responsible for delivery of the message to such
person), you may not disclose, copy or deliver this message to anyone
and any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. In such case, you should destroy this
message and kindly notify the sender by reply email. Please advise
immediately if you or your employer do not consent to Internet email
for messages of this kind. Opinions, conclusions and other
information in this message that do not relate to the official
business of the University of Stirling shall be understood as neither
given nor endorsed by it.
hi all,
i've downloaded the ser package from you and it is
working fine with msn.
but as u said i tried for authentication... it is not
working properly...
i've done -
a.uncommented the lines required for
authentication...
b.changed iptel.org to localhost in www_* (2
places)
c.created mysql tables
d.did'nt made any changes in mysql tables
e.tried to authenticate using admin/heslo and
signinname as admin@<myipaddress>
f.restarted SER :( again asking for username/pass
pl. give ur comments
thanks in advance..
best regards
sunil
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
I have a Linux box at home acting as a masquerading/NAT gateway for a few
Windows PCs, and have installed SER on there in order to use MS Messenger to
talk to people outside.
SER appears to be working in that I can get Messenger up on two PCs, connect
to SER and set up a voice connection between the two PCs. However, I cannot
connect to people offsite.
Relevant IPChains entries are
target prot opt source destination ports
ACCEPT udp ----l- anywhere anywhere any ->
5060
ACCEPT udp ------ anywhere anywhere any ->
7070:7080
I have made no changes to the default SIP configuration; it is working as
installed by the rpm package ser-0.8.10-1.i386.rpm. A browse through the
mailing list archive and through the admin guide doesn't show anything
obvious. No errors are reported to /etc/messages or /etc/syslog and serctl
moni does not show anything that looks relevant.
Does anyone have any suggestions?
--
Dr. Craig Graham, Software Engineer
Advanced Analysis and Integration Limited, UK. http://www.aail.co.uk/
Folks,
My nathelper module will need to tweak body of the messages, therefore
it will be third module after im and sms that needs body-related
functions. IMO it would probably make a lot of sense to move those
functions into core parser, so that modules will not have to import im
module just to use one or two utility functions.
Please let me know what do you think.
Thanks!
-Maxim
We have a group of people who run their own SIP servers (some are
SER, some are not) and we are going to be sharing a PSTN gateway (Cisco
box).
I need to rewrite the identities for the users of our gateway into
something that can be presented to the PSTN gateway for billing
purposes. We don't want to do that mapping on the gateway itself, for
various reasons.
How do people handle this situation? Is it wise to put all functionality
for user handling and incoming call handling and forwarding to another
place in the same SER server?
--Michael
Hi there,
In a REGISTER case there is a HeaderField AUTHORIZATION. The usual
encryption algorithm is "MD5".
Is it possible to REGISTER without any encryption?
Please give a statement if I understood everything right or correct me:
Digest Username => not encrypted;
realm =>not encrypted;
URI =>not encrypted;
Nonce => encrypted => is Password?
Response => encrypted => what´s that?
Thanks!
P.S.: I sniffered the network traffic when I registerd,established a
VoIP-Connection and ended my call. Etherreal, the snifferprogramm, does
understand SIP and SDP so I could easy protocol and understand what was
going on.
Joe_chen wrote:
>hi,bogdan
> Merry christmas!
> Thank you for giving me the jcpl server last time. i have run the jcpl server with ser , but i want to extend or improve some functions,so i need the source code of jcpl server. Can you give me the jcpl server's source codes? if you can ,please send it to my mailbox.
>
First, sorry for the delay, but I was on vacation! Merry Christmas a A
Happy New Year to you also!
It's possible for us to send you the sources, but, as I already told
you, this java version of the intrpreter will not be maintain or develop
any more. We started a C version that will be ready maximum in 4 month -
an interpreter as a modul of SER.
If you still want the java sources ( under GPL), let me know, and I will
send them!
Regards,
Bogdan
PS: for the future, please CC all your emails to "serusers(a)lists.iptel.org"!
>Thanks!
> Regards,Joe_chen.
>
>
>
>
hi,
i have compliled and loaded the sms module, then i linked my mobile phone (motorola v998) with my computer on com1 port. when i run ser in debug mode ,the output informations are:
..
0(1515) DEBUG:modem_process: openning modem
0(1515) INFO:initmodem: init modem Motorola on /dev/ttyS0.
0(1515) INFO:initmodem: Checking if Modem is registered to the network
0(1515) NOTICE:initmodem: Waiting 2 sec. before retrying
0(1515) NOTICE:initmodem: Waiting 2 sec. before retrying
0(1515) NOTICE:initmodem: Waiting 2 sec. before retrying
0(1515) NOTICE:initmodem: Waiting 2 sec. before retrying
...
the trouble is just like my modem device(motorola v998) doesn't work with my computer. do i need install the modem device drivers ? but i can't find the drivers, and my ser server is running on linux OS,if there are drivers for linux ?
the second problem is how i can send sms message to ser, is there another UA supported sending sms?
thanks!
reguards,Joe_chen
Hello,
I'm trying to set up radius accounting and has already compiled radius_acc.so, but I'm not shure how to configure it on ser.cfg.
What parameters can I use? Is there any document or config example with radius accounting?
Thanks and regards,
Claudio
Hello
I am using SER in a test environment as a proxy server.
I would like it to add additional fields in the SDP of an INVITE message
for some
test needs. (e.g. add 'a=sendonly').
Is it possible ?
If not possible, do you think it would be difficult to add a function
addSdp(<string>) that would append a given string to the SDP of the
current message and alter the 'content_length' header field ?
I do not see in the 'sip_msg' structure any pointer to the body part of the
message ; only pointers to header fields.
Thanks for you help
--
David Rio
Alcatel CIT - Rennes
ASD France
33 2 99 87 47 18
Using multiple domains in one server is pretty hard.
The schema even fights with me. I can't have both "graff" in the
"isc.org" domain and "graff" in the "flame.org" domain, for instance,
at least with the same user name. I think the unique field there
should be a <user, domain> tuple. Additionally, all tables should
probably grow a domain column, and lookup() would take that as an
argument (defaulting to the host-portion of the URI, probably)
That also makes things easier on routing rules, and on aliasing, and
on user interfaces, at least IMHO.
Are there any plans to make this sort of thing much easier? If not, I
may decide to hack on it a bit and see what I come up with.
Of course, I'd also like to replace the scripting language with
embedded Perl, but... :)
--Michael
Hello,
I wanted to configure ser so that only registered user are allowed to make calls. I have set up digest authentication but still unregistered users can make calls. I wonder if I'm missing something on my config file (as attached below).
Could someone please tell me what am I doing wrong, or provide me some configuration example on solving this issue?
Thanks and regards,
Claudio
###########
ser.conf
###########
route{
# Do strict routing if pre-loaded route headers present
rewriteFromRoute();
if (uri==myself) {
if (method=="REGISTER") {
if (!www_authorize("<my_ip>", "subscriber")) {
www_challenge("<my_ip>", "0");
break;
};
if (method=="INVITE" & !check_from()) {
sl_send_reply("403","Forbidden");
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,
I downloaded SER yesterday and I am trying to
run it as a UAS.
I am using the sample configuration uas.cfg.
I modified it so that on receiving an INVITE
I send a 200 OK. Now the problem is when I
use the t_reply command to send the 200 OK,
it doesn't add any SDP part to it.
Is there anyway an SDP can be added to the
200 OK response to the INVITE.
Appreciate any help
Viji
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
Is anybody aware of any SIP ALG developed or being developed for linux/freebsd?
Jaime
PS: If nobody is looking at the FCP client side for SER, I would like to
contribute in my spare time. Please let me know where should I start and may be
I could give it a try.
Jiri Kuthan <jiri(a)iptel.org> on 08/01/2003 21:39:20
To: Jaime GILL/EN/HTLUK@HTLUK
serusers(a)lists.iptel.org
cc:
Subject: Re: [Serusers] FCP support in SER
This piece of work is stalling for some reasons.
First, the gentlemen who was supposed to integrate an FCP
client silently stepped away from this assignment. FCP
server on linux is working.
The other problem with FCP is there are no real standards.
I was expecting the Midcom WG in the IETF to come up with one.
Instead, it spent two years with doing things whose use
I very strongly doubt.
If there is any volunteer on this mailing list who would
wish to complete or create the FCP client module, we will be
glad to provide guidance.
Users willing to traverse NATs may consider STUN/UPnP or ALGs
as an alternative solution. Users willing to traverse firewalls
may need to use an ALG or VPN technology. Unfortunately, NAT/FWs
break too many things and there is no one-size-fits-it-all
solution addressing all scenarios.
-Jiri
At 06:14 PM 1/8/2003, jaime.gill(a)orange.co.uk wrote:
>Hi,
>
>I am wondering if this is the right place to ask, but here it goes.
>
>Is the SER software going to incorporate the client side of FCP (Firewall
>Control Protcol) as a module at some point?
>
>Regards,
>
>Jaime
>
>
>
>*******************************************************************************
>Important.
>Confidentiality: This communication is intended for the above-named person and
>may be confidential and/or legally privileged. Any opinions expressed in this
>communication are not necessarily those of the company. If it has come to you
>in error you must take no action based on it, nor must you copy or show it to
>anyone; please delete/destroy and inform the sender immediately.
>
>Monitoring/Viruses
>Orange may monitor all incoming and outgoing emails in line with current
>legislation. Although we have taken steps to ensure that this email and
>attachments are free from any virus, we advise that in keeping with good
>computing practice the recipient should ensure they are actually virus free.
>
>Orange PCS Limited is a subsidiary of Orange SA and is registered in England No
>2178917, with its address at St James Court, Great Park Road, Almondsbury Park,
>Bradley Stoke, Bristol BS32 4QJ.
>*******************************************************************************
>
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
*******************************************************************************
Important.
Confidentiality: This communication is intended for the above-named person and
may be confidential and/or legally privileged. Any opinions expressed in this
communication are not necessarily those of the company. If it has come to you
in error you must take no action based on it, nor must you copy or show it to
anyone; please delete/destroy and inform the sender immediately.
Monitoring/Viruses
Orange may monitor all incoming and outgoing emails in line with current
legislation. Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.
Orange PCS Limited is a subsidiary of Orange SA and is registered in England No
2178917, with its address at St James Court, Great Park Road, Almondsbury Park,
Bradley Stoke, Bristol BS32 4QJ.
*******************************************************************************
Hello,
I'm trying to compile the radius_acc modude but have run into the following error:
######
make[1]: Entering directory `/home/cthorell/ser-0.8.10/modules/radius_acc'
gcc -fPIC -DPIC -O9 -funroll-loops -Wcast-align -Wall -m486 -malign-loops=4 -DNAME='"ser"' -DVERSION='"0.8.10"' -DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 2.95"' -D__CPU_i386 -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DDNS_IP_HACK -DUSE_IPV6 -DDBG_QM_MALLOC -DFAST_LOCK -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -c acc.c -o acc.o
acc.c:38: radiusclient.h: File not found
make[1]: *** [acc.o] Error 1
make[1]: Leaving directory `/home/cthorell/ser-0.8.10/modules/radius_acc'
######
I can't find radiusclient.h either on ser-0.8.10 or freeradius-0.8.1 directories. Where can I find this file?
Thanks,
Claudio
I got SER up and running with a whopping total of three "domains"
being served on the same server. It was mostly painless, if missing some
features I'd like to have seen (more on that in later messages.)
What open source products are people using for voice mail, voice menu
prompts (press 1 for sales, press 2 for the executative restroom) and
for conference calls (which include PSTN calls as well as IP phones)?
--Michael
Hi,
Are there any plans to add SIP Symmetric Response support
(http://www.iptel.org/info/players/ietf/firewall/nat/draft-ietf-sip-symmetri…)
into SER, so that it would be possible to use compliant UAs behind NATs
with SER being on a public IP? The idea is simple: when the SIP packet
is received from UA, the server checks if an empty `rport' parameter
is present in the first Via field, and if yes then compares IP:PORT in
the first Via header with the actual IP:PORT this request came from,
and adds `received' and `rport' parameters into the header if either
doesn't match before forwarding request further.
Then, when replying or forwarding the request, the server checks if
any of received or rport is present and uses it instead of the
UA-provided values in corresponding Via header.
Please let me know if there are work in progress on this, so that
I will not have to reinvent the wheel.
Thanks!
-Maxim
Hi,
I am wondering if this is the right place to ask, but here it goes.
Is the SER software going to incorporate the client side of FCP (Firewall
Control Protcol) as a module at some point?
Regards,
Jaime
*******************************************************************************
Important.
Confidentiality: This communication is intended for the above-named person and
may be confidential and/or legally privileged. Any opinions expressed in this
communication are not necessarily those of the company. If it has come to you
in error you must take no action based on it, nor must you copy or show it to
anyone; please delete/destroy and inform the sender immediately.
Monitoring/Viruses
Orange may monitor all incoming and outgoing emails in line with current
legislation. Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.
Orange PCS Limited is a subsidiary of Orange SA and is registered in England No
2178917, with its address at St James Court, Great Park Road, Almondsbury Park,
Bradley Stoke, Bristol BS32 4QJ.
*******************************************************************************
hi,
i have met the same problem with acc. i can get the invite message for accounting,but i can't get the bye message, i also capture the udp packages on ser server, i use MSN for UA, i find the sip messeges like: invite,100 trying,180 ringing ,200 ok(for invite),but when i hangup, there are not bye message, it's like sending bye message from UA to UA directly,while not going throug ser server,so there is not BYE message for accounting, is it true?
how to get the bye message for accounting? please help.
my ser.cfg is like:
..
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/acc.so"
#loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/print.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"
..
modparam("acc", "db_url","sql://ser:heslo@localhost/ser")
modparam("acc","report_ack",1)
modparam("acc","log_level",1)
modparam("acc", "acc_flag", 1 )
modparam("acc", "missed_flag", 3 )
# -- tm params --
modparam("tm", "fr_timer", 10 )
modparam("tm", "fr_inv_timer", 20 )
modparam("tm", "wt_timer", 10 )
..
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("192.168.139.125", "subscriber")) {
# www_challenge("192.168.139.125", "0");
# break;
# };
save("location");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
# set for accounting (the same value as in acc_flag!)
if (method=="INVITE" || method=="BYE"){
setflag(1);
# ... and also report on missed calls ... note that reporting
# on missed calls is mutually exclusive with silent C timer
#
setflag(3);
};
# forward to current uri now
if (!t_relay()) {
sl_reply_error();
};
}
thanks!
Dear Sirs,
Our company is currently evaluating several freely available SIP
proxy/registrars to extend our VoIP billing engine, which currently
only supports H323, to support SIP as well. We found SER to be one of
the best for our needs: speed, documentation, flexibility - everything
is great. Hovewer, since our billing engine uses Radius for AAA, we need
to get Radius modules working. Unfortunately, we can't compile radius
modules with virgin radiusclient 0.3.2 as suggested in documentation - it
seems that some SIP-specific changes need to be applied to radiusclient
headers, see the following log:
gcc -fPIC -DPIC -pipe -O -mpreferred-stack-boundary=2 -march=pentium2 -funroll-loops -Wcast-align -Wall -minline-all-stringops -malign-double -falign-loops -DNAME='"ser"' -DVERSION='"0.8.10"' -DARCH='"i386"' -DOS='"freebsd"' -DCOMPILER='"gcc 3.2"' -D__CPU_i386 -DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DDNS_IP_HACK -DUSE_IPV6 -DDBG_QM_MALLOC -DFAST_LOCK -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_SOCKADDR_SA_LEN -I/usr/local/include -c acc.c -o acc.o
acc.c: In function `radius_log_reply':
acc.c:125: `PW_SIP_METHOD' undeclared (first use in this function)
acc.c:125: (Each undeclared identifier is reported only once
acc.c:125: for each function it appears in.)
acc.c:136: `PW_SIP_RESPONSE_CODE' undeclared (first use in this function)
acc.c:156: `PW_SIP_FROM_TAG' undeclared (first use in this function)
acc.c:189: `PW_SIP_TO_TAG' undeclared (first use in this function)
acc.c:213: `PW_SIP_CSEQ' undeclared (first use in this function)
acc.c:288: `PW_SIP_TRANSLATED_REQ_URI' undeclared (first use in this function)
acc.c: In function `radius_log_ack':
acc.c:434: `PW_SIP_METHOD' undeclared (first use in this function)
acc.c:442: `PW_SIP_RESPONSE_CODE' undeclared (first use in this function)
acc.c:461: `PW_SIP_FROM_TAG' undeclared (first use in this function)
acc.c:491: `PW_SIP_TO_TAG' undeclared (first use in this function)
acc.c:514: `PW_SIP_CSEQ' undeclared (first use in this function)
acc.c:588: `PW_SIP_TRANSLATED_REQ_URI' undeclared (first use in this function)
acc.c: In function `rad_acc_request':
acc.c:733: `PW_SIP_METHOD' undeclared (first use in this function)
acc.c:744: `PW_SIP_RESPONSE_CODE' undeclared (first use in this function)
acc.c:764: `PW_SIP_FROM_TAG' undeclared (first use in this function)
acc.c:797: `PW_SIP_TO_TAG' undeclared (first use in this function)
acc.c:821: `PW_SIP_CSEQ' undeclared (first use in this function)
acc.c:904: `PW_SIP_TRANSLATED_REQ_URI' undeclared (first use in this function)
Would you be so kind to provide us with your changes for radiusclient or
point out where that modified version can be downloaded?
Thank you in advance!
On a separate note I would like to ask you to let me know if there is
any progress on pre-paid module discussed on this list recently. Since we
will also need this functionality, perhaps we can team-up to implement it.
Sincerely,
Maxim Sobolev
PortaOne Ltd
I really hate answering my own question :-)
> } else if(method=="BYE") {
> setflag(1);
> forward(uri:host, uri:port);
I changed this to t_relay() and then I get the BYE
ACC output in the syslog file. This explains something else
(I think). Sometimes the BYE would work, sometimes it would
not make it all the way to the other device (either the PSTN gateway or the
UA). That is probably because forward() simply bounces the
packet via UDP and the UDP can fail ??? t_relay() retries??
Does this make sense?
---greg
>
>Hi,
>
>I am trying to create a basic script for routing calls to and from
>the PSTN. I have experimented with many scripts over the last month,
>this included script is an example. I can use a UA on my
>laptop called 'estara' and REGISTER with my ser sip server.
>I can make a phone call (INVITE) to the PSTN. I can hang up the call
>from either end (BYE) and everything seems to work well.
>
>I am trying to get accounting working. I see the call acceptance
>record in my syslog file:
>
>Jan 7 00:21:09 build ser[3507]: ACC: transaction answered: method=INVITE, i-uri=sip:92143357976@build.august.net, o-uri=sip:2143357976@64.90.42.16:5060, call_id= 847b3d22-131d-46b0-abcb-dc8e6a9f32b5(a)192.168.100.100, from= greg <sip:1107@build.august.net>;tag=3a7b9c52, code=200
>
>However, I can't get the 'BYE' event to record the transaction to the
>syslog file. The 'BYE' event is bouncing through my SIP server.
>Can someone give me a hint?
>
>Thank you,
>---greg
>Greg Fausak
>
>Included file----example.cfg----------------------------------------
>debug=1 # 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"
>
>loadmodule "/usr/local/lib/ser/modules/sl.so"
>loadmodule "/usr/local/lib/ser/modules/tm.so"
>loadmodule "/usr/local/lib/ser/modules/acc.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"
>modparam("acc", "log_level", 1)
>modparam("acc", "acc_flag", 1 )
>
>route{
> # filter too old messages
> if (!mf_process_maxfwd_header("10")) {
> log("LOG: Too many hops\n");
> sl_send_reply("483","Too Many Hops");
> break;
> };
> if (len_gt( max_len )) {
> sl_send_reply("513", "Wow -- Message too large");
> break;
> };
>
> /* ********* RR ********************************** */
>
> /* Do strict routing if route headers present */
> rewriteFromRoute();
> /* record-route INVITEs -- all subsequent requests must visit us */
> if (method=="INVITE") {
> addRecordRoute();
> } else if (method=="REGISTER") {
> log("here is a register");
> save("location");
> break;
> };
>
> # now check if it really is a PSTN destination which should be handled
> # by our gateway; if not, and the request is an invitation, drop it --
> # we cannot terminate it in PSTN; relay non-INVITE requests -- it may
> # be for example BYEs sent by gateway to call originator
> if (!uri=~"sip:9[2-9][0-9]{9}@.*") {
> if (method=="INVITE") {
> sl_send_reply("403", "Call cannot be served here");
> } else if(method=="BYE") {
> setflag(1);
> forward(uri:host, uri:port);
> } else {
> forward(uri:host, uri:port);
> };
> break;
> };
>
> # account completed transactions via syslog
> setflag(1);
>
> strip(1);
>
>
> rewritehostport("64.90.42.16:5060");
>
> # forward the request now
> if (!t_relay()) {
> sl_reply_error();
> break;
> };
>}
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
hi,
i have a problem about qm_malloc.
my ser has been running correctly before sevral days. but on the day before yesterday it doesn't work suddenly, in the debug mode, the output informations are:
..
0(1114) find_export: found <~db_insert> in module mysql [/usr/local/lib/ser/modules/mysql.so]
0(1114) find_export: found <~db_delete> in module mysql [/usr/local/lib/ser/modules/mysql.so]
0(1114) find_export: found <~db_update> in module mysql [/usr/local/lib/ser/modules/mysql.so]
0(1114) qm_malloc(0x80adf80, 24) called from dbase.c: db_init(266)
0(1114) qm_malloc(0x80adf80, 24) returns address 0x80b43d0 on 0 -th hit
0(1114) qm_malloc(0x80adf80, 30) called from dbase.c: connect_db(69)
0(1114) qm_malloc(0x80adf80, 32) returns address 0x80b4418 on 0 -th hit
0(1114) qm_malloc(0x80adf80, 544) called from dbase.c: connect_db(89)
0(1114) qm_malloc(0x80adf80, 544) returns address 0x80b4468 on 0 -th hit
0(1114) qm_free(0x80adf80, 0x80b4418), called from dbase.c: connect_db(106)
0(1114) qm_free: freeing block alloc'ed from dbase.c: connect_db(69)
0(1114) mod_init(): Database connection opened successfuly
Maxfwd module- initializing
rr - initializing
0(1114) TM - initializing...
0(1114) DEBUG: register_fifo_cmd: new command (t_uac) registered
0(1114) DEBUG: register_fifo_cmd: new command (t_uac_from) registered
0(1114) DEBUG: register_fifo_cmd: new command (t_hash) registered
0(1114) qm_malloc(0x4212f000, 1572864) called from h_table.c: init_hash_table(276)
0(1114) qm_malloc(0x4212f000, 1572864) returns address 0x421354b8 on 0 -th hit
0(1114) DEBUG: lock_initialize: lock initialization started
0(1114) qm_malloc(0x4212f000, 16) called from lock.c: lock_initialize(169)
0(1114) qm_malloc(0x4212f000, 16) returns address 0x422b54e8 on 0 -th hit
0(1114) qm_malloc(0x4212f000, 448) called from timer.c: tm_init_timers(484)
0(1114) qm_malloc(0x4212f000, 448) returns address 0x422b5528 on 0 -th hit
0(1114) qm_malloc(0x4212f000, 40) called from t_stats.c: init_tm_stats(110)
0(1114) qm_malloc(0x4212f000, 40) returns address 0x422b5718 on 0 -th hit
0(1114) qm_malloc(0x4212f000, 12) called from t_stats.c: init_tm_stats(118)
0(1114) qm_malloc(0x4212f000, 12) returns address 0x422b5770 on 0 -th hit
..
stateless - initializing
0(1114) qm_malloc(0x4212f000, 320) called from sl_stats.c: init_sl_stats(128)
0(1114) qm_malloc(0x4212f000, 320) returns address 0x422b5824 on 0 -th hit
0(1114) DEBUG: register_fifo_cmd: new command (sl_stats) registered
0(1114) DEBUG: MD5 calculated: d907c037823644515dfe0ede38ca9976
0(1114) qm_malloc(0x4212f000, 4) called from sl_funcs.c: sl_startup(65)
0(1114) qm_malloc(0x4212f000, 4) returns address 0x422b5994 on 0 -th hit
mysql - initializing
0(1114) qm_malloc(0x4212f000, 396) called from main.c: main(1363)
0(1114) qm_malloc(0x4212f000, 396) returns address 0x422b59c8 on 0 -th hit
0(0) fixing /usr/local/lib/ser/modules/maxfwd.so mf_process_maxfwd_header
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply
0(0) fixing /usr/local/lib/ser/modules/rr.so rewriteFromRoute
0(0) fixing /usr/local/lib/ser/modules/registrar.so save
0(0) qm_malloc(0x4212f000, 16) called from dlist.c: new_dlist(87)
0(0) qm_malloc(0x4212f000, 16) returns address 0x422b5b84 on 0 -th hit
...
0(0) qm_malloc(0x80adf80, 96) called from db_row.c: convert_row(49)
0(0) qm_malloc(0x80adf80, 96) returns address 0x80b47cc on 0 -th hit
0(0) qm_malloc(0x80adf80, 96) called from db_row.c: convert_row(49)
0(0) qm_malloc(0x80adf80, 96) returns address 0x80b485c on 0 -th hit
Segmentation fault
it seems that ser can't allocate memory by qm_malloc function. what's wrong with it?
i have tried to reinstall my linux8.0 OS, but the problem is still existed.
please help me!
thanks!
regards,Joe_chen
Hi,
I am trying to create a basic script for routing calls to and from
the PSTN. I have experimented with many scripts over the last month,
this included script is an example. I can use a UA on my
laptop called 'estara' and REGISTER with my ser sip server.
I can make a phone call (INVITE) to the PSTN. I can hang up the call
from either end (BYE) and everything seems to work well.
I am trying to get accounting working. I see the call acceptance
record in my syslog file:
Jan 7 00:21:09 build ser[3507]: ACC: transaction answered: method=INVITE, i-uri=sip:92143357976@build.august.net, o-uri=sip:2143357976@64.90.42.16:5060, call_id= 847b3d22-131d-46b0-abcb-dc8e6a9f32b5(a)192.168.100.100, from= greg <sip:1107@build.august.net>;tag=3a7b9c52, code=200
However, I can't get the 'BYE' event to record the transaction to the
syslog file. The 'BYE' event is bouncing through my SIP server.
Can someone give me a hint?
Thank you,
---greg
Greg Fausak
Included file----example.cfg----------------------------------------
debug=1 # 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"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/acc.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"
modparam("acc", "log_level", 1)
modparam("acc", "acc_flag", 1 )
route{
# filter too old messages
if (!mf_process_maxfwd_header("10")) {
log("LOG: Too many hops\n");
sl_send_reply("483","Too Many Hops");
break;
};
if (len_gt( max_len )) {
sl_send_reply("513", "Wow -- Message too large");
break;
};
/* ********* RR ********************************** */
/* Do strict routing if route headers present */
rewriteFromRoute();
/* record-route INVITEs -- all subsequent requests must visit us */
if (method=="INVITE") {
addRecordRoute();
} else if (method=="REGISTER") {
log("here is a register");
save("location");
break;
};
# now check if it really is a PSTN destination which should be handled
# by our gateway; if not, and the request is an invitation, drop it --
# we cannot terminate it in PSTN; relay non-INVITE requests -- it may
# be for example BYEs sent by gateway to call originator
if (!uri=~"sip:9[2-9][0-9]{9}@.*") {
if (method=="INVITE") {
sl_send_reply("403", "Call cannot be served here");
} else if(method=="BYE") {
setflag(1);
forward(uri:host, uri:port);
} else {
forward(uri:host, uri:port);
};
break;
};
# account completed transactions via syslog
setflag(1);
strip(1);
rewritehostport("64.90.42.16:5060");
# forward the request now
if (!t_relay()) {
sl_reply_error();
break;
};
}
Hi All,
I am newbie of this field, thanks everyone help me.
I am interesting in B2BUA, however, except some brief defination in 3261, I could not find any further defination or how to implement about B2BUA, I noticed that SER could be implemented as a B2BUA, where can I find some implementation? or where can I get any description?
Koalas
I just setup an account on iptel.org (joejoe(a)iptel.org)
and I connected it to it fine with Messenger which leads me to believe
that I have done something wrong with my ser installation.
thanks,
-joe
Hi,
I've got ser installed and running (0.8.10 on Linux 2.4.18-18.8.0) I
attempt to connect to it with MS "Windows Messenger" version
4.7.0104 on WindowsXP, but it never connected and I don't see
anything in the logfile showing even an attempt to connect.
Just to make sure that I didn't have any firewall rules blocking
access, I wrote a little script to connect to port 5060 on the sip
server and send it "Asdf\n", that appeared to work fine, as this
appeared in my log:
Jan 6 10:57:39 dell1 /usr/local/sbin/ser[14077]: ERROR: parse_first_line: message too short: 5
Jan 6 10:57:39 dell1 /usr/local/sbin/ser[14077]: ERROR:parse_first_line: bad message
Jan 6 10:57:39 dell1 /usr/local/sbin/ser[14077]: ERROR: parse_msg: message=<Asdf >
Jan 6 10:57:39 dell1 /usr/local/sbin/ser[14077]: ERROR: receive_msg: parse_msg failed
So it appears that packets can get to the sip server fine from the
machine that runs the Messenger client.
I also ran serctl moni and didn't see any different output when I
tried to connect with Messenger, i.e. there is no indication that a
connection attempt is even made.
Is there another IM client I can try connecting with? Any other
tricks to know about Messenger other than what I found at:
http://www.iptel.org/ietf55/use_msn.html
BTW, this is using the mysql module and I created a user with serctl
Jan 6 10:53:50 dell1 ser: ser startup succeeded
Jan 6 10:53:50 dell1 /usr/local/sbin/ser[14068]: mod_init(): Database connection opened successfuly
Jan 6 10:53:50 dell1 /usr/local/sbin/ser[14068]: INFO: udp_init: SO_RCVBUF is initially 65535
Jan 6 10:53:50 dell1 /usr/local/sbin/ser[14068]: INFO: udp_init: SO_RCVBUF is finally 131070
Jan 6 10:53:50 dell1 /usr/local/sbin/ser[14068]: INFO: udp_init: SO_RCVBUF is initially 65535
Jan 6 10:53:50 dell1 /usr/local/sbin/ser[14068]: INFO: udp_init: SO_RCVBUF is finally 131070
Jan 6 10:53:50 dell1 /usr/local/sbin/ser[14080]: INFO: fifo process starting: 14080
Jan 6 10:53:50 dell1 /usr/local/sbin/ser[14080]: SER: open_uac_fifo: fifo server up at /tmp/ser_fifo...
thanks,
-joe
I'm seeing the following errors in syslog when I place a call to one
particular URI in my system. There are 5 devices registered to receive
calls for this URI. Is this a problem? Is there a limit to how many
telephone sets can have the same number appearance?
Jan 3 12:15:44 sip /usr/sbin/ser[9845]: lookup(): Error while appending a branch
Jan 3 12:15:44 sip /usr/sbin/ser[9845]: USRLOC DB lookup not found...
Jan 3 12:15:52 sip /usr/sbin/ser[9846]: ERROR: append_branch: max nr of branches
exceeded
1) use [serusers]
2) really do use [serusers]
3) I mean it really -- please, use [serusers] and not
[sip-implementors]
Thank you :-) ([sip-implementors] is for discussing of sip
developers' issues and is not related to any specific implementation)
--
As for your problem -- please, look first at your log files. It is
otherwise difficult to guess why ser does not start or stops.
See http://www.iptel.org/ser/doc/seruser-html/x156.html
for more guidelines on error reporting. We will be glad to review your
issue as soon as you submit more detailed information.
Thank you,
-Jiri
At 08:46 PM 1/4/2003, Erik Lagerway wrote:
>I have tried to connect with several SIP clients to our SER and this is
>the message sent to the server by the client, ngrep on the server shows
>the same message:
>
>U 206.12.30.135:1053 -> 65.39.143.170:5060
> REGISTER sip:xten.net SIP/2.0..Via: SIP/2.0/UDP
>206.12.30.135:5060..From: s
> ip:xlags@xten.net..To: sip:xlags@xten.net..Contact:
>sip:xlags@206.12.30.135
> :5060..Call-ID:
>31f2da21-b0d8-41b4-a047-6058b9997f1f@206.12.30.135..CSeq: 4
> 56557 REGISTER..Content-Length: 0..Expires: 3600....
>
>When I run "serctl ps" it do not see any running processes. I get the
>same result when I use "ps -aux". It's like the server isn't running or
>something yet I am not getting an error, just black space.
>
>When I do /etc/rc.d/init.d/ser restart, I get this:
>
>[root@localhost /]# /etc/rc.d/init.d/ser restart
>Stopping ser: /etc/rc.d/init.d/ser: line 201: kill: (17491) - No such
>process
>/etc/rc.d/init.d/ser: line 201: kill: (17490) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (17489) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (17488) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (17482) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (17481) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (17480) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (17479) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (17478) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (17477) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (2533) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (2516) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (2515) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (2514) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (2513) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (2511) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (2510) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (2509) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (2508) - No such process
>/etc/rc.d/init.d/ser: line 201: kill: (2507) - No such process
> [ OK ]
>Starting ser: [ OK ]
>
>After restarting I have to add my SIP _DOMAIN again, then I get the same
>results as stated above.
>
>My SIP_DOMAIN is xten.net, my realm is the same. The SIP server address
>is ser.xten.net. Registered users: xlags(a)xten.net pwd: 484827,
>mark(a)xten.net pwd: 484827
>
>Could someone help me with this, I would really like to get this working
>:)
>
>erik(a)xten.com
>Msn id: elagerway(a)hotmail.com
>
>
>
>_______________________________________________
>Sip-implementors mailing list
>Sip-implementors(a)cs.columbia.edu
>http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
--
Jiri Kuthan http://iptel.org/~jiri/
Hi,
I just installed ser from cvs and when I ran it I got:
% /usr/local/sbin/ser -f /usr/local/etc/ser/ser.cfg
ERROR: bad config file (1 errors)
So I turned on debugging in the ser.cfg file and saw:
% /usr/local/sbin/ser -f /usr/local/etc/ser/ser.cfg
0(22488) loading module /usr/local/lib/ser/modules/sl.so
0(22488) loading module /usr/local/lib/ser/modules/tm.so
0(22488) loading module /usr/local/lib/ser/modules/rr.so
0(22488) loading module /usr/local/lib/ser/modules/maxfwd.so
0(22488) loading module /usr/local/lib/ser/modules/usrloc.so
0(22488) loading module /usr/local/lib/ser/modules/registrar.so
0(22488) find_param_export: found <db_mode> in module usrloc [/usr/local/lib/ser/modules/\
usrloc.so]
0(22488) find_export: found <mf_process_maxfwd_header> in module maxfwd_module [/usr/loca\
l/lib/ser/modules/maxfwd.so]
0(22488) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modul\
es/sl.so]
0(22488) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modul\
es/sl.so]
0(22488) find_export: <rewriteFromRoute> not found
0(22488) parse error (80,19-20): unknown command, missing loadmodule?
[...]
So I commented out the rewriteFromRoute(); line and the server started
up fine.
Any ideas why it doesn't like that line?
This is on Linux 2.4.18-18.0
thanks,
-joe
Set in your shell prior to calling the serctl utility.
E.g., in Bourne shell, you call
export SIP_DOMAIN="foo.bar.com"
serctl
-Jiri
p.s. Questions about SER better belong to the SER mailing list,
which is at serusers(a)lists.iptel.org.
At 01:49 AM 1/4/2003, Erik Lagerway wrote:
>When I try to use serctl, I am getting error "You need to set environment variable SIP_DOMAIN (e.g. to 'foobar.com') first"
>
>Where do I add this?
>
><mailto:erik@xten.com>erik(a)xten.com
Greetings,
I have been tying to use serweb but I can only log in when I create the accont via web. If I create the account with serclt script or directly on mysql I get a bad username or password message. Here is my subscriber table from ser database:
*************************** 1. row ***************************
phplib_id: 65e397cda0aa8e3202ea22cbd350e4e9
USER_ID: admin
PASSWORD: heslo
FIRST_NAME: Initial
LAST_NAME: Admin
PHONE: 123
EMAIL_ADDRESS: root@localhost
DATETIME_CREATED: 2002-09-04 19:37:45
DATETIME_MODIFIED: 0000-00-00 00:00:00
confirmation:
flag: o
SendNotification:
Greeting:
HA1: 0239482f19d262f3953186a725a6f53b
REALM: test
ha1b: a84e8abaa7e83d1b45c75ab15b90c320
perms: admin
allow_find: 0
timezone: NULL
*************************** 2. row ***************************
phplib_id: 1cacf04895f8c906e066394971c1fea7
USER_ID: 8000
PASSWORD: 8000
FIRST_NAME: Claudio
LAST_NAME: Thorell
PHONE: 5000
EMAIL_ADDRESS: cthorell(a)telenova.net
DATETIME_CREATED: 2002-11-12 13:51:51
DATETIME_MODIFIED: 2002-11-12 13:56:36
confirmation: 58876cbf8da193de82e698609e8315b8
flag: o
SendNotification:
Greeting:
HA1: eb11db67a97e04cd305dfe3be37b7544
REALM: test
ha1b: e95944eab3a00d3c8a8dedfabbf242e0
perms: NULL
allow_find: 0
timezone: America/Sao_Paulo
*************************** 3. row ***************************
phplib_id: d6cbcbc069e583adbd055b9dd761a0c0
USER_ID: 8888
PASSWORD: 8888
FIRST_NAME:
LAST_NAME:
PHONE:
EMAIL_ADDRESS: cthorell(a)telenova.net
DATETIME_CREATED: 2002-11-16 10:52:59
DATETIME_MODIFIED: 0000-00-00 00:00:00
confirmation:
flag: o
SendNotification:
Greeting:
HA1: d6cbcbc069e583adbd055b9dd761a0c0
REALM: test
ha1b: 84b7a2e042b2cbebf345e59a5d559ebe
perms: NULL
allow_find: 0
timezone: NULL
**************************************************************
I can only log in with account 8000 (wich was created on the web) .
How can I setup other accounts to log on serweb?
Thanks,
Claudio
Hi,
I have a fixed IP assigned from comcast.net as 68.34.193.70, dns reverse
resolve is pcp667462pcs.indpnd01.mo.comcast.net. On this address I'm running
a freeBSD server with named. I've registered my domain as cavtech.com, and
set this server as it's primary DNS. My DNS resolves cavtech.com as
68.34.193.70, as well as it's hostname of ctimain. I've added a CNAME in the
DNS pointing ser.cavtech.com to ctimain. I've also added the _SIP:_UDP SRV
entry to point to port 5060.
I've added the following to the ser.cfg:
alias="ctimain.cavtech.com"
alias="cavtech.com"
alias="ser.cavtech.com"
I've set up MySQL and ser starts normally.
My goal is to have windows messenger authenticate with my server as an
additional communication server.
My question deals with the www_authorize call. Do I put in the reverse dns
hostname from comcast.net or do I put in "cavtech.com". Likewise when I set
up WM, do I put in "cavtech.com" or "ctimain.cavtech.com" or
"ser.cavtech.com" or the actual revdns hostname? I understand that the realm
column in the MySQL subscriber base must match whatever host name is
correct.
I have an additional sipsak problem but I'll wait for the answer to this to
see if that problem persists.
Thanks.
The file is part of operating system, rather than serweb.
Linux distributions I'm familiar with maintain the file
in question at /usr/share/zoneinfo/zone.tab
-Jiri
ps Please, better post your future questions about ser and serweb to
serusers(a)lists.iptel.org. [sip-implementors] is good primarily for question
about use and building SIP rather than specific implementations.
At 09:52 PM 12/23/2002, Erik Lagerway wrote:
>I am looking for the file zone.tab, does anyone know where I can find it?
>
>I can't find it anywhere in serWeb CVS...
>
><mailto:erik@xten.com>erik(a)xten.com
Hi all,
I'm trying to use the SIP-Jabber GW, but I'm having trouble understanding the documentation. I've installed SER, Jabberd, MySQL and have them all up and running (although this has gone a bit too smoothly, which leads me to think I must have missed out something...). It's all running on Redhat 7.3 on the same machine. The network is a 10.x.x.x network, and DNS is not being used.
I have MSN Messenger 4.7 as the SIMPLE client and Rival3 as the jabber client. What do I do to have these two IM clients talk to each other? What commands do I have to enter?
Thanks,
Usama
_____
Usama Mansoor,
France Telecom R&D UK Ltd.
Chiswick Park,
Building 3,
566 Chiswick High Road,
London,
W4 SYA
Tel.: +44 20 8849 5858
Email: <mailto:usama.mansoor@rd.francetelecom.fr> usama.mansoor(a)rd.francetelecom.fr
"This e-mail, and any files transmitted with it, is intended only for the use of the person/s or entity to whom it is addressed. If you are not the intended recipient (or authorised to receive information for the intended recipient) you must not use, disclose, copy, print or rely on this e-mail. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and delete all copies of this e-mail. Thank you."
OK, thanks, that did the trick.
I added the 'ser' username and password to the 'db_url' parameter, changed '127.0.0.1' to 'localhost', and now it works :)
Thanks again
- Usama
OK, I've tried running the script as root (and it prompts me for the password) but the permissions still don't get set. So I then log in manually to the mysql database and set the permissions using 'GRANT' to be the same as mentioned in the faq. Unfortunately I still get the following error message:
Dec 12 10:20:25 localhost /usr/sbin/ser[14700]: connect_db(): Access denied for user: 'user(a)localhost.localdomain' (Using password: YES)
Dec 12 10:20:26 localhost /usr/sbin/ser[14700]: db_init(): Error while trying to connect database
Dec 12 10:20:26 localhost /usr/sbin/ser[14700]: init_modules(): Error while initializing module jabber
I'm not sure what else to try. Any suggestions would be much appreciated.
- Usama
-----Original Message-----
From: Dan Austin [mailto:Dan_Austin@Phoenix.com]
Sent: Friday, December 06, 2002 5:41 PM
To: serusers(a)lists.iptel.org
Subject: RE: RE: [Serusers] SER/SERWeb Howto...
Are you running the script as root? Before upgrading MySQL I did use the grant command,
and managed to get the correct permissions installed. I ran into other problems with the
client libraries, so I did a complete upgrade.
After upgrading the ser_mysql.sh script did everyting it should have and I did not need to
make any changes.
I'm also fairly new to MySQL, but from your error message, it looks like you are running
the script from an account that does not have permissions inside the database.
As root if you run mysql, does it prompt for a password? From your select statement, I
would not expect it to. If it allows you to logon to the database, you can try to assign the
default permissions manually.
Dan
<snip>
Yep, I can log in to mysql using both 'ser' and 'serro' user names.
Where in the ser config file should these user name and password be set?
- Usama
-----Original Message-----
From: Jiri Kuthan [mailto:jiri@iptel.org]
Sent: Thursday, December 12, 2002 11:46 AM
To: MANSOOR Usama FTRD/DMR/LON; serusers(a)lists.iptel.org
Subject: RE: RE: [Serusers] SER/SERWeb Howto...
At 11:38 AM 12/12/2002, MANSOOR Usama FTRD/DMR/LON wrote:
>OK, I've tried running the script as root (and it prompts me for the
password) but the permissions still don't get set.
You might have read my previous email and learned that the issue
had not been probably caused by insufficient rights.
Is it possible that you did not set your username/password
in ser configuration properly? Can you login with this
username/password pairs using the mysql tool? I would
really start with such trivial checks.
-Jiri
At 11:38 AM 12/12/2002, MANSOOR Usama FTRD/DMR/LON wrote:
>OK, I've tried running the script as root (and it prompts me for the password) but the permissions still don't get set.
You might have read my previous email and learned that the issue
had not been probably caused by insufficient rights.
Is it possible that you did not set your username/password
in ser configuration properly? Can you login with this
username/password pairs using the mysql tool? I would
really start with such trivial checks.
-Jiri
Hello,
>>Hi all!
>>
>>I'm new to SER, and already I have a question regarding the SER to Jabber: If I setup the jabber.so module to interface to a jabber server for IM, what's the recommended way to monitor the presence status of the SIP IM client?
>>
The presence support is not implemented yet in the public release of
Jabber module. I hope this week (there are still 2 days ... :-) ) the
new version will be available.
>>For example, if a user with MSN Messenger registers with SER, and I set a rule that at registration the jab_go_online call will be made so this user is available on the jabber server, how do I monitor the Messenger user's presence? I mean, they're not subscribed to, so the Messenger client doesn't send presence updates to SER, and hence to the jabber server.
>>
>>Then, of course, if I do subscribe from SER, who maintains the state?
>>
The upcoming Presence Agent for SER (a new module) will manage all the
presence states for users. The Jabber module will use PA to notify SIP
user about presence state of a Jabber user when that SIP user subscribes
for Jabber user's presence.
Best regards,
Daniel
>>
>>Hmmmm....
>>
>>Any help or examples would be terrific!
>>
>>Thanks!
>>- Chris
>>
>>Chris Dingman
>>dingman(a)avaya.com
>>
>>_______________________________________________
>>Serusers mailing list
>>serusers(a)lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>
>--
>Jiri Kuthan http://iptel.org/~jiri/
>
>
>
Hi all!
I'm new to SER, and already I have a question regarding the SER to
Jabber: If I setup the jabber.so module to interface to a jabber
server for IM, what's the recommended way to monitor the presence
status of the SIP IM client?
For example, if a user with MSN Messenger registers with SER, and I set
a rule that at registration the jab_go_online call will be made so this
user is available on the jabber server, how do I monitor the Messenger
user's presence? I mean, they're not subscribed to, so the Messenger
client doesn't send presence updates to SER, and hence to the jabber
server.
Then, of course, if I do subscribe from SER, who maintains the state?
Hmmmm....
Any help or examples would be terrific!
Thanks!
- Chris
Chris Dingman
dingman(a)avaya.com
serusershi,
i have some problems with cpl and cpl-c modules.
first: in cpl module,what's the Java CPL Interpreter Server, is it another server for interpret cpl? where can i get Java CPL Interpreter Server?
second:in cpl-c module ,i can't find the function for processing the sip_message and cpl,
just like the executeCPLForSIPMessage fuction in cpl module ?
three: with cpl or cpl-c module ,how to realize the cpl function with ser? i have compiled
the both modules and loaded with ser.
thanks!
regards,Joe_chen
I have found the log() function aids in debugging (obviously).
Are there any low level string productions so I can pass more
information to log? For instance, it would be great to:
log("in route[1] with uri ".uri." and method ".method);
Can anything be passed to log() besides a static string?
---greg
Greg Fausak
August.Net Services, LLC
greg(a)august.net
I am constantly seeing this warning:
Warning: 392 216.87.128.67:5060 "Noisy feedback tells: pid=3961 req_src_ip=216.87.128.68 in_uri=sip:216.87.128.67 out_uri=sip:216.87.128.67 via_cnt==1".
What does it mean???
---greg