My experience is the following:
Line 109 in t_msgbuilder.c:
len += USER_AGENT_LEN + CRLF_LEN;
==> ser crashes when I send the special invite!
*len += USER_AGENT_LEN + CRLF_LEN;
==> ser doesn't crash but logs this in /val/log/messages:
Feb 6 15:48:24 obelix /usr/local/sbin/ser[6985]: ERROR:
t_build_and_send_CANCEL: cannot allocate memory
hope my explanation is a little bit clearer now:
i also downloaded
ftp://ftp.berlios.de/pub/ser/0.8.10/src/ser-0.8.10_src.tar.gz
and this tarball contains: *len += USER_AGENT_LEN + CRLF_LEN;
regards,
klaus
> -----Original Message-----
> From: Jan Janak [mailto:J.Janak@sh.cvut.cz]
> Sent: Thursday, February 06, 2003 4:19 PM
> To: Klaus Darilion
> Cc: serusers(a)lists.iptel.org
> Subject: Re: [Serusers] ser crashes
>
>
> Hello,
>
> On 06-02 16:02, Klaus Darilion wrote:
> > Thank you, the path to the modules was the problem!
> >
> > Now ser runs also as self compiled version and doesnt
> crash. I didn't
> > had to change the source because the source code available
> to download
> > is already corrected. To proof your guess I inserted the
> error again (
> > len+=) and than it crashes again.
>
> ser-0.8.10_src.tar.gz has this bug too.
>
> > Conclusion: with the source code version from 0.8.10 ser
> doesn't crash
> > anymore. Nevertheless, /var/log/messages shows an error
> message when I
> > send my special invite:
> >
> > Feb 6 15:48:24 obelix /usr/local/sbin/ser[6985]: ERROR:
> > t_build_and_send_CANCEL: cannot allocate memory
>
> That's the bug I told you about, AFAIK it is caused by the missing
> dereference operator in t_msgbuilder.c. See my previous email for
> description how to fix it. (rewrite len+= to *len+=, recompile and
> reinstall).
>
> regards, Jan.
>
>
Looking at log files may help you to discover the issue. It is very likely
that the module paths are different for the compiled than for the installed
modules.
-jiri
At 03:19 PM 2/6/2003, Klaus Darilion wrote:
>Hello!
>
>I have problems running the self compiled ser version (without any
>sourcecode changes).
>
>I uninstalled the rpms ("rpm -e ser-mysql" and "rpm -e ser" - I use the
>mysql authentication). Then I compiled ser with "make all" without
>errors. I installed ser with "make install". Then I tried to start ser
>with:
># /usr/local/sbin/ser -f /etc/ser/ser.cfg
>ERROR: bad config file (25 errors)
>
>Why does my config file doesn't work anymore (it worked with the rpm
>version)?
Hi,
Thanks for the Reply.
I am using the SER server with the default configuration.
Infact I have not installed the SQL database also.
I am using the SER 0.8.10 verison.
With Linux 7.3 as OS.
I registered with the following SIP URI to SER server from two different machines.
sip:anuradha@there.com
sip:LittleGuy@there.com
It registered Successfully.
But When I sent an INVITE request from sip:anuradha@there.com
to LittleGuy(a)there.com it gives the server error.
Thanks
Geetha
---------- Original Message ----------------------------------
From: Jiri Kuthan <serusers(a)lists.iptel.org>
Date: Wed, 05 Feb 2003 19:13:48 +0100
>Please send a complete description of the case:
>full network dumps, your configuration file, your
>logs and information about version of ser and OS
>you are using.
>
>Thank you,
>
>-Jiri
>
>At 02:02 PM 2/5/2003, Geetha Shree wrote:
>>Hi,
>>
>>I am new to SIP.
>>I have installed the SER server and my REGISTER method is working ok.
>>But when I send the INVITE method I am getting the following error from SER server.
>>
>>The invite packet which has been sent by me is:
>>
>>INVITE sip:anuradha@there.com SIP/2.0
>>From: <sip:LittleGuy@there.com>;tag=1044365919410
>>To: <sip:anuradha@there.com >
>>Via: SIP/2.0/UDP 192.168.1.9:5060;branch=z9hG4bK1159de0c6cca18f9131c8ff342527668
>>CSeq: 1 INVITE
>>Call-Id: a1371c790546f9a2df76be1f59f6a7dc(a)192.168.1.9
>>Contact: <sip:192.168.1.9:5060;transport=UDP>
>>Content-Length: 0
>>
>>192.168.1.9 is my SER server's address
>>
>>The response got from the SER server is:
>>
>>SIP/2.0 500 I'm terribly sorry, server error occured (1/SL)
>>From: <sip:LittleGuy@there.com>;tag=1044365919410
>>To: <sip:anuradha@there.com>;tag=d907c037823644515dfe0ede38ca9976.3592
>>Via: SIP/2.0/UDP 192.168.1.9:5060;branch=z9hG4bK1159de0c6cca18f9131c8ff342527668;received=192.168.1.21
>>CSeq: 1 INVITE
>>Call-Id: a1371c790546f9a2df76be1f59f6a7dc(a)192.168.1.9
>>Server: Sip EXpress router (0.8.10 (i386/linux))
>>Content-Length: 0
>>Warning: 392 192.168.1.9:5060 "Noisy feedback tells: pid=1587 req_src_ip=192.168.1.21 in_uri=sip:LittleGuy@there.com out_uri=sip:LittleGuy@there.com via_cnt==1"
>>
>>Can you help on this please
>>
>>Thanks in advance
>>Geetha
>>_______________________________________________
>>Serusers mailing list
>>serusers(a)lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>
>
Folks,
we've been asked frequently questions "when will be the next release
out", "what new features can I be looking forward to", "will the next ser
release include a b2bua", etc. This update gives you answers to some
of these question, don't hesitate to ask me if you want to know more.
Also, on this opportunity I would like to thank wholeheartly to our
contributors -- they came up with many excellent ideas, running code
and their work has been a great encouragement to us.
New Features
------------
- presence agent and presence support in SIMPLE2Jabber gateway
- dynamic domain management (simplifies hosting multiple domains,
which was quite manual work till now)
- enum support
- nathelper module for getting over NATs with ATAs
- beta-version of voicemail
- 3261-alignment: support for TCP and loose-routing
- accounting improved, reporting to serweb's "missed calls"
now possible
There is many other tiny useful things: exec module was made more
comfortable, support for powerPC was introduced, CC-Diversion
support for talking to Cisco gateways, netbsd support, ser is now
64 bits clean, and generally lot of clean-ups were applied to keep
code-base sane in spite of all the new features. All bugs reported
so far have been fixed. User's guide documents more usage scenarios
with more examples.
Performance has been boosted too -- we achieved 5kCPS with a tuned
ser version for stateful forwarding without user location. Good for
dealing with many stress situations.
There are also many other things frequently asked for, which will
not be part of the next release. The most frequently asked one,
b2bua, for example. If you miss a feature urgently, implementing and
contributing it may be quicker than waiting until someone else
does that. We will be glad to provide guidance. Features that have
been asked until now and I have not forgotten are b2bua, FCP client,
SIP Address Translator.
When
----
I better don't tell you -- I would set your expectations and they
would lead to disappointment if it takes longer than hoped for
(which simply happens too often). I hope to have a pre-alpha,
testers-only release in course of February -- and we will invite
all impatient testers to use it.
SIP Accounts
------------
Don't forget -- you don't need to run your own server -- if all you
need is a SIP account, get one from iptel at
http://www.iptel.org/user/reg/index.php, of course ser-powered :-)
-Jiri on behalf of all who have contributed to SER advancement
--
Jiri Kuthan http://iptel.org/~jiri/
Hi,
I am new to SIP.
I have installed the SER server and my REGISTER method is working ok.
But when I send the INVITE method I am getting the following error from SER server.
The invite packet which has been sent by me is:
INVITE sip:anuradha@there.com SIP/2.0
From: <sip:LittleGuy@there.com>;tag=1044365919410
To: <sip:anuradha@there.com >
Via: SIP/2.0/UDP 192.168.1.9:5060;branch=z9hG4bK1159de0c6cca18f9131c8ff342527668
CSeq: 1 INVITE
Call-Id: a1371c790546f9a2df76be1f59f6a7dc(a)192.168.1.9
Contact: <sip:192.168.1.9:5060;transport=UDP>
Content-Length: 0
192.168.1.9 is my SER server's address
The response got from the SER server is:
SIP/2.0 500 I'm terribly sorry, server error occured (1/SL)
From: <sip:LittleGuy@there.com>;tag=1044365919410
To: <sip:anuradha@there.com>;tag=d907c037823644515dfe0ede38ca9976.3592
Via: SIP/2.0/UDP 192.168.1.9:5060;branch=z9hG4bK1159de0c6cca18f9131c8ff342527668;received=192.168.1.21
CSeq: 1 INVITE
Call-Id: a1371c790546f9a2df76be1f59f6a7dc(a)192.168.1.9
Server: Sip EXpress router (0.8.10 (i386/linux))
Content-Length: 0
Warning: 392 192.168.1.9:5060 "Noisy feedback tells: pid=1587 req_src_ip=192.168.1.21 in_uri=sip:LittleGuy@there.com out_uri=sip:LittleGuy@there.com via_cnt==1"
Can you help on this please
Thanks in advance
Geetha
Hi,
We have had a strange crash in the SER server we use. The load was not that big
- around 10 users being served at that time. All of a sudden, the server stops
responding and reports the following error in /var/log/messages:
Feb 4 14:41:35 sip kernel: Out of Memory: Killed process 3780 (ser).
Feb 4 14:54:52 sip kernel: Out of Memory: Killed process 3857 (ser).
Feb 4 14:58:08 sip last message repeated 10 times
Feb 4 15:02:17 sip kernel: Out of Memory: Killed process 3860 (ser).
Feb 4 15:13:32 sip last message repeated 66 times
[continues.....]
Has someone else met this before?
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.
*******************************************************************************