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.