The Response Reason Phrase is missing in status line, see RFC 3261 section
7.2.
Hope this helps.
--
Muhammad Shahzad Shafi
Tel: +49 176 99 83 10 85
On Fri, May 31, 2024 at 2:57 PM Ghulam Mustafa via sr-users <
sr-users(a)lists.kamailio.org> wrote:
Hello Kamailio Community,
I'm encountering a parsing error in Kamailio when receiving a SIP 607
"Unwanted" response. The relevant log entries are:
May 31 12:32:09 k-proxy1 /usr/sbin/kamailio[320898]: ERROR: <core>
[core/receive.c:378]: receive_msg(): core parsing of SIP message failed
(36.53.xx.xx:5060/1)
May 31 12:32:10 k-proxy1 /usr/sbin/kamailio[320895]: ERROR: <core>
[core/parser/parse_fline.c:272]: parse_first_line(): parse_first_line: bad
message (offset: 11)
May 31 12:32:10 k-proxy1 /usr/sbin/kamailio[320895]: ERROR: <core>
[core/parser/msg_parser.c:790]: parse_msg(): ERROR: parse_msg: message=<SIP/2.0
607#015#012Via: SIP/2.0/UDP
134.195.195.40:5060;branch=z9hG4bKc87a.ed6403ae1529f36b65171bf964604be0.0;i=2#015#012Via:
SIP/2.0/UDP
127.0.0.8;branch=z9hG4bKsr-Sz6QPbTDsrqSQc7ys87Ds87VP37Ds87YG870sXCWo1G6ujo6oXzisr0isX7Dsr0isXCSZXcFujwtH.KOH.QqGXs09XNtw.dEJ5GhvjhauNHzwFIzl5c9wbfNG3oaHkl3#015#012From:
"15516756486" <sip:15516756486@10.x.x.10>;tag=KXtSBZ1at71Hc#015#012To:
<sip:99904441743709685@36.53.xx.xx;transport=udp>;tag=sbcsipuas_1_C35684_20240531083209909_sbc06#015#012Call-ID:
a40d965d-99ec-123d-6f92-ecf4bbd64f6c#015#012Contact:
<sip:36.53.xx.xx:5060>#015#012CSeq: 84025572 INVITE#015#012Server:
sbc_5#015#012Content-Length: 0#015#012#015#012>
And the actual SIP message is
U 36.53.xx.xx:5060 -> 10.x.x.30:5060 #850
SIP/2.0 607.
Via: SIP/2.0/UDP 134.195.195.40:5060
;branch=z9hG4bKbdbd.95060a558d66b77d258b8d0799be4cf0.0;i=2.
Via: SIP/2.0/UDP 127.0.0.8
;branch=z9hG4bKsr-Sz6QPbTDsrqSQc7ys87Ds87VP37Ds87YG870sXCWo1G6ujo6oXzisr0isX7Dsr0isXCSZXcFujwtH.KOH.QqGXs09XNtw.dEJ5GhvjhauNHzwFCaHXyLA3G.SjwaAmdn.
From: "13xxxxxxxxxx" <sip:13xxxxxxxxxx@10.x.x.10>;tag=pFFatBpUc75BH.
To: <sip:441xxxxxxxxx@36.53.xx.xx
;transport=udp>;tag=sbcsipuas_1_C56639_20240531081932874_sbc04.
Call-ID: e0d2f5fa-99ea-123d-6f92-ecf4bbd64f6c.
Contact: <sip:36.53.xx.xx:5060>.
CSeq: 84025194 INVITE.
Server: sbc_5.
Content-Length: 0.
Any insights or suggestions would be greatly appreciated.
Thank you!
Mustafa
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to
the sender!
Edit mailing list options or unsubscribe: