[OpenSER-Devel] [ openser-Bugs-1876311 ] OpenSER Message of Death?
SourceForge.net
noreply at sourceforge.net
Mon Jan 21 12:05:54 UTC 2008
Bugs item #1876311, was opened at 2008-01-21 09:03
Message generated for change (Comment added) made by henningw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1876311&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Helmut Kuper (hekuper)
Assigned to: Nobody/Anonymous (nobody)
Summary: OpenSER Message of Death?
Initial Comment:
I found that when u send this SIP-Message:
BYE sip:80.228.245.138:5070 SIP/2.0
Via: SIP/2.0/UDP 212.6.95.88:1028;branch=z9hG4bK-7rhl6qnns4ej;rport
Route: <sip:212.6.123.118;lr=on;ftag=7w4sllx8cc>
Route:
<sip:212.6.123.118:5090;lr;ftag=7w4sllx8cc;vsf=ZlRqaD8wOzEbMTUlTiwzCnRNJ2F0eDBzMTZ0HVdlUg-->
Route: <sip:Gk-int at 80.228.245.176:5050;lr>
From: "HK SoftSwitch" <sip:v101 at sip0.en.ewetel.de>;tag=7w4sllx8cc
To: <sip:12345 at sip0.en.ewetel.de;user=phone>;tag=0082-00000054-0103i0
Call-ID: 3c26c9bec396-loo61fn1yu42
CSeq: 3 BYE
Max-Forwards: 70
Contact: <sip:v101 at 212.6.95.88:1028;line=nopsgn9d>;flow-id=1
User-Agent: snom370/7.1.30
RTP-RxStat:
Total_Rx_Pkts=120,Rx_Pkts=120,Rx_Pkts_Lost=0,Remote_Rx_Pkts_Lost=0
RTP-TxStat: Total_Tx_Pkts=2263,Tx_Pkts=2263,Remote_Tx_Pkts=160
Content-Length: 0
to an openser with this config:
#
# $Id: openser.cfg,v 1.6.2.1 2006/07/17 15:51:03 klaus_darilion Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
debug=4 # debug level (cmd line: -dddddddddd)
fork=no
log_stderror=1 # (cmd line: -E)
check_via=yes # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
listen=212.6.123.118
port=5060
children=1
user="ruth"
group="voip"
# ------------------ module loading ----------------------------------
mpath="/home/hk/openser/lib/openser/modules/"
# Uncomment this if you want to use SQL database
loadmodule "tm.so"
loadmodule "sl.so"
loadmodule "rr.so"
loadmodule "uri.so"
# ----------------- AVP aliase (zum einfacheren Lesen) ---------------
# ------------------------- request routing logic -------------------
# main routing logic
route{
~ t_relay();
}
openser will stop working, consuming all CPU-Power.
regards
Helmut
----------------------------------------------------------------------
>Comment By: Henning Westerholt (henningw)
Date: 2008-01-21 12:05
Message:
Logged In: YES
user_id=337916
Originator: NO
Hi Helmut,
i've tried to reproduce this bug on my machine. This config and sip
message (of course with adapted IP and user) works for me. I've tried
several permutations of IP and CFGs, unfortunally without any trace to the
bug you described. I get this debug message:
Jan 21 13:02:03 [1172] DBG:core:parse_msg: SIP Request:
Jan 21 13:02:03 [1172] DBG:core:parse_msg: method: <BYE>
Jan 21 13:02:03 [1172] DBG:core:parse_msg: uri:
<sip:80.228.245.138:5070>
Jan 21 13:02:03 [1172] DBG:core:parse_msg: version: <SIP/2.0>
Jan 21 13:02:03 [1172] DBG:core:parse_headers: flags=2
Jan 21 13:02:03 [1172] DBG:core:parse_via_param: found param type 232,
<branch> = <z9hG4bK-7rhl6qnns4ej>; state=6
Jan 21 13:02:03 [1172] DBG:core:parse_via_param: found param type 235,
<rport> = <n/a>; state=17
Jan 21 13:02:03 [1172] DBG:core:parse_via: end of header reached, state=5
Jan 21 13:02:03 [1172] DBG:core:parse_headers: via found, flags=2
Jan 21 13:02:03 [1172] DBG:core:parse_headers: this is the first via
Jan 21 13:02:03 [1172] DBG:core:receive_msg: After parse_msg...
Jan 21 13:02:03 [1172] DBG:core:receive_msg: preparing to run routing
scripts...
Jan 21 13:02:03 [1172] DBG:tm:t_newtran: transaction on
entrance=0xffffffff
Jan 21 13:02:03 [1172] DBG:core:parse_headers: flags=ffffffffffffffff
Jan 21 13:02:03 [1172] DBG:core:parse_to_param: tag=0082-00000054-0103i0
Jan 21 13:02:03 [1172] DBG:core:parse_to: end of header reached, state=29
Jan 21 13:02:03 [1172] DBG:core:parse_to: display={},
ruri={sip:12345 at sip0.en.ewetel.de;user=phone}
Jan 21 13:02:03 [1172] DBG:core:get_hdr_field: <To> [66];
uri=[sip:12345 at sip0.en.ewetel.de;user=phone]
Jan 21 13:02:03 [1172] DBG:core:get_hdr_field: to body
[<sip:12345 at sip0.en.ewetel.de;user=phone>]
Jan 21 13:02:03 [1172] DBG:core:get_hdr_field: cseq <CSeq>: <3> <BYE>
Jan 21 13:02:03 [1172] DBG:core:get_hdr_field: content_length=0
Jan 21 13:02:03 [1172] ERROR:tm:t_newtran: EoH not parsed
Jan 21 13:02:03 [1172] DBG:core:destroy_avp_list: destroying list (nil)
Jan 21 13:02:03 [1172] DBG:core:receive_msg: cleaning up
Could you please try again on your machine, and compare the debug output
that is reported? You could also try to attach with 'strace' to the server
process and look where its hangs.
Cheers,
Henning
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1876311&group_id=139143
More information about the Devel
mailing list