[Serdev] REGISTAR failure

Martin Koenig martin.koenig at toplink.de
Mon Sep 26 09:42:11 UTC 2005


Hello all,

what's wrong with this REGISTER? I don't quite get why ser is complaining:

#
U 2005/09/26 11:37:08.833483 11.22.33.44:1025 -> 213.218.12.2:5060
REGISTER sip:toplink-voice.de SIP/2.0.
Via: SIP/2.0/UDP
11.22.33.44:1026;branch=z9hG4bKnp203315192-47bc5fb911.22.33.44;rport.
From: <sip:D1234561000 at toplink-voice.de>;tag=c1e5bce.
To: <sip:D1234561000 at toplink-voice.de>.
Call-ID: 386843163-46129fe7 at 386843166-46129fe4.
Contact:
<sip:D1090741000 at 11.22.33.44:1026;line=3ffa69fa12ba55ce>;expires=1200;q=.
Route: <sip:toplink-voice.de;lr>.
Expires: 1200.
CSeq: 34 REGISTER.
Content-Length: 0.
Authorization: Digest
username="D1234561000",realm="toplink-voice.de",uri="sip:11.22.33.44",nonce=
"4337c2706a037bc0a3aba51d58fa51cefa0b7171",qop="auth",nc="00000001",response
="1de064fc2f42d935e7eb24f287bcd386",cnonce="7bc54776be".
Max-Forwards: 70.
User-Agent: Nero SIPPS IP Phone Version 2.0.51.16.
.

#
U 2005/09/26 11:37:08.857745 213.218.12.2:5060 -> 11.22.33.44:1025
SIP/2.0 400 Bad Request.
Via: SIP/2.0/UDP
11.22.33.44:1026;branch=z9hG4bKnp203315192-47bc5fb911.22.33.44;rport=1025.
From: <sip:D1234561000 at toplink-voice.de>;tag=c1e5bce.
To:
<sip:D1234561000 at toplink-voice.de>;tag=16ac3fc2258766c821c391b58b08db64.7b0c
.
Call-ID: 386843163-46129fe7 at 386843166-46129fe4.
CSeq: 34 REGISTER.
P-Registrar-Error: Contact parse error.
Content-Length: 0.
.

Syslog says:

REGISTER sip:toplink-voice.de
From:       sip:D1234561000 at toplink-voice.de;tag=d31a43c
To:         sip:D1234561000 at toplink-voice.de;tag=<null>
Call-Id:    386843163-46129fe7 at 386843166-46129fe4
Contact:
<sip:D1090741000 at 11.22.33.44:1026;line=3ffa69fa12ba55ce>;expires=1200;q=
User-Agent: Nero SIPPS IP Phone Version 2.0.51.16
Src_IP:     11.22.33.44
parse_params(): Body missing
parse_contacts(): Error while parsing parameters
contact_parser(): Error while parsing contacts
parse_contact(): Error while parsing
error: mediaproxy/getContactURI(): cannot parse Contact header
NAT: NAT detected, rewriting Contact
parse_params(): Body missing
parse_contacts(): Error while parsing parameters
contact_parser(): Error while parsing contacts
parse_contact(): Error while parsing
parse_message(): Error while parsing Contact body

ser -V:

version: ser 0.9.4-rc3 (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK,
SHM_MEM, SHM_MMAP, PKG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
@(#) $Id: main.c,v 1.197.2.1 2005/07/25 16:56:24 andrei Exp $
main.c compiled on 16:19:44 Aug 25 2005 with gcc 3.2

Best regards,
Martin




More information about the Serdev mailing list