[Asterisk-Users] SIP client registration ignored by Asterisk

Chris Johnson Chris at chersoft.co.uk
Tue Nov 30 03:08:04 MST 2004


I have an xlite client registering with asterisk. The client is on a
separate subnet routed via a site to site VPN tunnel to the subnet
hosting the * server, with no active firewall between the subnets.

With one IP address (192.168.3.56) set on the client the * box ignores
the SIP REGISTER request. 

Ethereal logs on both sides of the link show the REGISTER packets
arriving at the * box, but no response. With the problem IP address the
client can PING, SSH and Telnet to the * manager port successfully and
can connect to the web service on the * box.

Changing the IP address (192.168.3.99) of the client immediately lets
the Registration complete successfully.

The problem has persisted through several reboots and through a
stop/start of the Ethernet interface.

Verbose asterisk output (level 50) and sip debug shows no activity
whilst the packets are ignored, and a search of /var/logs/asterisk files
gives nothing to indicate a problem

Debug output from the xlite client (below) illustrates the problem and
the immediate connection upon changing client IP address.

I have reviewed previous postings but cannot find any pointer to the
root cause of this.

Does anyone have any previous similar experience or thoughts as to the
possible cause?

Xlite output:
SEND TIME: 145834312
SEND >> 192.168.2.10:5060
REGISTER sip:asterisk.chersoft.local SIP/2.0
Via: SIP/2.0/UDP
192.168.3.56:5060;rport;branch=z9hG4bK07FE6665CB4D4E649D564DDF78ACBAA9
From: ChrisJ <sip:406 at asterisk.chersoft.local>;tag=742343849
To: ChrisJ <sip:406 at asterisk.chersoft.local>
Contact: "ChrisJ" <sip:406 at 192.168.3.56:5060>
Call-ID: 8A6467DB5CCF45DD84291E7BDFED15AC at asterisk.chersoft.local
CSeq: 60736 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1103m
Content-Length: 0


SEND TIME: 145837562
SEND >> 192.168.2.10:5060
REGISTER sip:asterisk.chersoft.local SIP/2.0
Via: SIP/2.0/UDP
192.168.3.56:5060;rport;branch=z9hG4bK07FE6665CB4D4E649D564DDF78ACBAA9
From: ChrisJ <sip:406 at asterisk.chersoft.local>;tag=742343849
To: ChrisJ <sip:406 at asterisk.chersoft.local>
Contact: "ChrisJ" <sip:406 at 192.168.3.56:5060>
Call-ID: 8A6467DB5CCF45DD84291E7BDFED15AC at asterisk.chersoft.local
CSeq: 60736 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1103m
Content-Length: 0


SEND TIME: 145843812
SEND >> 192.168.2.10:5060
REGISTER sip:asterisk.chersoft.local SIP/2.0
Via: SIP/2.0/UDP
192.168.3.56:5060;rport;branch=z9hG4bK07FE6665CB4D4E649D564DDF78ACBAA9
From: ChrisJ <sip:406 at asterisk.chersoft.local>;tag=742343849
To: ChrisJ <sip:406 at asterisk.chersoft.local>
Contact: "ChrisJ" <sip:406 at 192.168.3.56:5060>
Call-ID: 8A6467DB5CCF45DD84291E7BDFED15AC at asterisk.chersoft.local
CSeq: 60736 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1103m
Content-Length: 0

Attempting SIP protocol listen on: 192.168.3.99:5060

Established SIP protocol listen on: 192.168.3.99:5060

SIP: 192.168.3.99:5060
RTP: 192.168.3.99:8000
NAT: 111.222.333.444

Discovered Blocked Firewall


SEND TIME: 145913312
SEND >> 192.168.2.10:5060
REGISTER sip:asterisk.chersoft.local SIP/2.0
Via: SIP/2.0/UDP
192.168.3.99:5060;rport;branch=z9hG4bK37A5C1D916484A8392C38E75BA948677
From: ChrisJ <sip:406 at asterisk.chersoft.local>;tag=742343849
To: ChrisJ <sip:406 at asterisk.chersoft.local>
Contact: "ChrisJ" <sip:406 at 192.168.3.99:5060>
Call-ID: 8A6467DB5CCF45DD84291E7BDFED15AC at asterisk.chersoft.local
CSeq: 60737 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1103m
Content-Length: 0


RECEIVE TIME: 145913390
RECEIVE << 192.168.2.10:5060
SIP/2.0 100 Trying
Via: SIP/2.0/UDP
192.168.3.99:5060;branch=z9hG4bK37A5C1D916484A8392C38E75BA948677
From: ChrisJ <sip:406 at asterisk.chersoft.local>;tag=742343849
To: ChrisJ <sip:406 at asterisk.chersoft.local>;tag=as4c6fbb1b
Call-ID: 8A6467DB5CCF45DD84291E7BDFED15AC at asterisk.chersoft.local
CSeq: 60737 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:406 at 192.168.2.10>
Content-Length: 0


RECEIVE TIME: 145913406
RECEIVE << 192.168.2.10:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP
192.168.3.99:5060;branch=z9hG4bK37A5C1D916484A8392C38E75BA948677
From: ChrisJ <sip:406 at asterisk.chersoft.local>;tag=742343849
To: ChrisJ <sip:406 at asterisk.chersoft.local>;tag=as4c6fbb1b
Call-ID: 8A6467DB5CCF45DD84291E7BDFED15AC at asterisk.chersoft.local
CSeq: 60737 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Expires: 1800
Contact: <sip:406 at 192.168.3.99:5060>;expires=1800
Date: Tue, 30 Nov 2004 09:35:15 GMT
Content-Length: 0


RECEIVE TIME: 145919703
RECEIVE << 192.168.2.10:5060
NOTIFY sip:406 at 192.168.3.99:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.10:5060;branch=z9hG4bK13ebbee2
From: "asterisk" <sip:asterisk at 192.168.2.10>;tag=as2041a68b
To: <sip:406 at 192.168.3.99:5060>
Contact: <sip:asterisk at 192.168.2.10>
Call-ID: 72a10a511056eea84cbb776543398b97 at 192.168.2.10
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 36

Messages-Waiting: no
Voicemail: 0/2

SEND TIME: 145919718
SEND >> 192.168.2.10:5060
SIP/2.0 200 Ok
Via: SIP/2.0/UDP 192.168.2.10:5060;branch=z9hG4bK13ebbee2
From: "asterisk" <sip:asterisk at 192.168.2.10>;tag=as2041a68b
To: <sip:406 at 192.168.3.99:5060>;tag=2331908490
Contact: <sip:406 at 192.168.3.99:5060>
Call-ID: 72a10a511056eea84cbb776543398b97 at 192.168.2.10
CSeq: 102 NOTIFY
Server: X-Lite release 1103m
Content-Length: 0

Chris Johnson
CherSoft Ltd




More information about the asterisk-users mailing list