7270 and asterisk registration problems

donnib

Neuer User
Mitglied seit
29 Okt 2009
Beiträge
9
Punkte für Reaktionen
0
Punkte
0
Hi,
I tried to search thru the forum and translate to find a solution for the problem i have. I hope that somebody can help me.

I have an internal Asterisk server which i want to register to with the fritzbox. It does register but then after a while it looses registration. Is this a known problem ? Can this be solved somehow ? I guess it´s a problem with how the fritz tries to get to the asterisk server thru WAN and not thru LAN but i hope that you guys can explain this.

btw i am using Firmware version 54.04.67

donnib
 
No one have experienced these problems i explained ?

I would really appreciate some help.
 
donnib, users here are quite ready to help, but they don't like to guess. The description of your environment is deficient, to say the least, and frankly doesn't allow for an answer to your problems.

I would suggest you create yourself a signature like most users of this forum have. But at least let us know in which network runs your asterisk (and on what ...) and the same for your fritzbox. Otherwise, I'm afraid, you will have to wait much longer for an answer.

Oh - and welcome to this forum! Maybe you would also like to tell us your language, we have quite a number of multilingual users on this board and you might even get a reply in your mother-tongue!

Cheers
Chris
 
Hi Chris,
True true so let´s start from the beginning.

I have a FreePBX server which is running fine. This server is on my local network with the ip 192.168.1.10. I have a Fritz!Box 7270 European model (annex a) which i am using as an extension 2337. My Fritz has the ip 192.168.1.1 and is also beeing used as a router for my ADSL connection.

Let me mention that before getting the Fritz i was using a Sipura SIP adaptor on the same extension and it worked perfect on the same server for more than a year. I made no changes to the server(freepbx) when i got the Fritz!Box.

The Fritz is connecting to the server with the local ip 192.168.1.10. After a reboot of the Fritz the fritz connects to the server and works, both incomming and outgoing calls works fine. After a while the connection to the Freepbx gives a 401 Unauthorized.

It seems to me from the asterisk logs that the Fritz!Box is trying to register to the asterisk with the external WAN ip and not the internal ip but then i don't understand why it works after a reboot.

Hopes this gives more information about the problem i am experiencing.

My native language is Danish or Romanian
 
Here is two examples. First one is when registering works after a reboot.

I have replaced my external IP with X.X.X.X just so you know when that appears.

Code:
pbx*CLI> 
<--- SIP read from 192.168.1.1:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP X.X.X.X:5060;rport;branch=z9hG4bK6606A27E64C5106E
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 REGISTER
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0


<------------->
--- (14 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 192.168.1.1 : 5060 (NAT)

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bK6606A27E64C5106E;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]:5064>
Content-Length: 0


<------------>

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bK6606A27E64C5106E;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>;tag=as4d80c2ec
Call-ID: [email protected]
CSeq: 1 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="7cad675b"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: REGISTER)

<--- SIP read from 192.168.1.1:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP X.X.X.X:5060;rport;branch=z9hG4bK6606A27E64C5106E
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 REGISTER
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0


<------------->
--- (14 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 192.168.1.1 : 5060 (NAT)

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bK6606A27E64C5106E;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]:5064>
Content-Length: 0


<------------>

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bK6606A27E64C5106E;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>;tag=as4d80c2ec
Call-ID: [email protected]
CSeq: 1 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="7cad675b"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: REGISTER)
pbx*CLI> 
<--- SIP read from 192.168.1.1:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP X.X.X.X:5060;rport;branch=z9hG4bK96B1050140E7E641
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 2 REGISTER
Authorization: Digest username="2337", realm="asterisk", nonce="7cad675b", uri="sip:192.168.1.10", response="69df0426bcc1a53df5329a116c5f9f05", algorithm=MD5
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0


<------------->
--- (15 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 192.168.1.1 : 5060 (NAT)

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bK96B1050140E7E641;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 2 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]:5064>
Content-Length: 0


<------------>

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bK96B1050140E7E641;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>;tag=as4d80c2ec
Call-ID: [email protected]
CSeq: 2 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 0
Date: Sun, 08 Nov 2009 20:03:51 GMT
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: REGISTER)

<--- SIP read from 192.168.1.1:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP X.X.X.X:5060;rport;branch=z9hG4bK96B1050140E7E641
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 2 REGISTER
Authorization: Digest username="2337", realm="asterisk", nonce="7cad675b", uri="sip:192.168.1.10", response="69df0426bcc1a53df5329a116c5f9f05", algorithm=MD5
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0


<------------->
--- (15 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 192.168.1.1 : 5060 (NAT)

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bK96B1050140E7E641;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 2 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]:5064>
Content-Length: 0


<------------>

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bK96B1050140E7E641;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>;tag=as4d80c2ec
Call-ID: [email protected]
CSeq: 2 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 0
Date: Sun, 08 Nov 2009 20:03:51 GMT
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: REGISTER)
pbx*CLI> 
<--- SIP read from 192.168.1.1:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;rport;branch=z9hG4bKD56518830B05B962
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 3 REGISTER
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>
Authorization: Digest username="2337", realm="asterisk", nonce="7cad675b", uri="sip:192.168.1.10", response="69df0426bcc1a53df5329a116c5f9f05", algorithm=MD5
Expires: 1800
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0


<------------->
--- (17 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 192.168.1.1 : 5060 (NAT)

<--- Transmitting (no NAT) to 192.168.1.1:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bKD56518830B05B962;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 3 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]:5064>
Content-Length: 0


<------------>
Reliably Transmitting (no NAT) to 192.168.1.1:5060:
OPTIONS sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB SIP/2.0
Via: SIP/2.0/UDP 192.168.1.10:5064;branch=z9hG4bK3bb20498;rport
From: "Unknown" <sip:[email protected]:5064>;tag=as3f1b945a
To: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>
Contact: <sip:[email protected]:5064>
Call-ID: [email protected]
CSeq: 102 OPTIONS
User-Agent: asterisk
Max-Forwards: 70
Date: Sun, 08 Nov 2009 20:03:51 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0


---
    -- Registered SIP '2337' at 192.168.1.1 port 5060 expires 1800

<--- Transmitting (no NAT) to 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bKD56518830B05B962;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>;tag=as4d80c2ec
Call-ID: [email protected]
CSeq: 3 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 1800
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;expires=1800
Date: Sun, 08 Nov 2009 20:03:51 GMT
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: REGISTER)

<--- SIP read from 192.168.1.1:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;rport;branch=z9hG4bKD56518830B05B962
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 3 REGISTER
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>
Authorization: Digest username="2337", realm="asterisk", nonce="7cad675b", uri="sip:192.168.1.10", response="69df0426bcc1a53df5329a116c5f9f05", algorithm=MD5
Expires: 1800
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0


<------------->
--- (17 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 192.168.1.1 : 5060 (NAT)

<--- Transmitting (no NAT) to 192.168.1.1:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bKD56518830B05B962;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 3 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]:5064>
Content-Length: 0


<------------>

<--- Transmitting (no NAT) to 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bKD56518830B05B962;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=2104319763
To: <sip:[email protected]>;tag=as4d80c2ec
Call-ID: [email protected]
CSeq: 3 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 1800
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;expires=1800
Date: Sun, 08 Nov 2009 20:03:51 GMT
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: REGISTER)
Reliably Transmitting (no NAT) to 192.168.1.1:5060:
NOTIFY sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB SIP/2.0
Via: SIP/2.0/UDP 192.168.1.10:5064;branch=z9hG4bK39b8c819;rport
From: "Unknown" <sip:[email protected]>;tag=as1784ebe7
To: <sip:sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;tag=6803745
Contact: <sip:[email protected]:5064>
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: asterisk
Max-Forwards: 70
Event: message-summary
Content-Type: application/simple-message-summary
Subscription-State: active
Content-Length: 88

Messages-Waiting: yes
Message-Account: sip:*[email protected]
Voice-Message: 4/1 (0/0)

---
pbx*CLI> 
<--- SIP read from 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.10:5064;branch=z9hG4bK3bb20498;rport=5064
From: "Unknown" <sip:[email protected]:5064>;tag=as3f1b945a
To: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;tag=9C0D50EC5F3B90B6
Call-ID: [email protected]
CSeq: 102 OPTIONS
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length:   379

v=0
o=user 4803438 4803438 IN IP4 192.168.1.1
s=call
c=IN IP4 192.168.1.1
t=0 0
m=audio 7078 RTP/AVP 8 0 2 102 100 99 97 18 101
a=sendrecv
a=rtpmap:2 G726-32/8000
a=rtpmap:102 G726-32/8000
a=rtpmap:100 G726-40/8000
a=rtpmap:99 G726-24/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=rtcp:7079

<------------->
--- (15 headers 17 lines) ---

<--- SIP read from 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.10:5064;branch=z9hG4bK3bb20498;rport=5064
From: "Unknown" <sip:[email protected]:5064>;tag=as3f1b945a
To: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;tag=9C0D50EC5F3B90B6
Call-ID: [email protected]
CSeq: 102 OPTIONS
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length:   379

v=0
o=user 4803438 4803438 IN IP4 192.168.1.1
s=call
c=IN IP4 192.168.1.1
t=0 0
m=audio 7078 RTP/AVP 8 0 2 102 100 99 97 18 101
a=sendrecv
a=rtpmap:2 G726-32/8000
a=rtpmap:102 G726-32/8000
a=rtpmap:100 G726-40/8000
a=rtpmap:99 G726-24/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=rtcp:7079

<------------->
--- (15 headers 17 lines) ---
Really destroying SIP dialog '[email protected]' Method: OPTIONS

<--- SIP read from 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.10:5064;branch=z9hG4bK3bb20498;rport=5064
From: "Unknown" <sip:[email protected]:5064>;tag=as3f1b945a
To: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;tag=9C0D50EC5F3B90B6
Call-ID: [email protected]
CSeq: 102 OPTIONS
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length:   379

v=0
o=user 4803438 4803438 IN IP4 192.168.1.1
s=call
c=IN IP4 192.168.1.1
t=0 0
m=audio 7078 RTP/AVP 8 0 2 102 100 99 97 18 101
a=sendrecv
a=rtpmap:2 G726-32/8000
a=rtpmap:102 G726-32/8000
a=rtpmap:100 G726-40/8000
a=rtpmap:99 G726-24/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=rtcp:7079

<------------->
--- (15 headers 17 lines) ---

<--- SIP read from 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.10:5064;branch=z9hG4bK3bb20498;rport=5064
From: "Unknown" <sip:[email protected]:5064>;tag=as3f1b945a
To: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;tag=9C0D50EC5F3B90B6
Call-ID: [email protected]
CSeq: 102 OPTIONS
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length:   379

v=0
o=user 4803438 4803438 IN IP4 192.168.1.1
s=call
c=IN IP4 192.168.1.1
t=0 0
m=audio 7078 RTP/AVP 8 0 2 102 100 99 97 18 101
a=sendrecv
a=rtpmap:2 G726-32/8000
a=rtpmap:102 G726-32/8000
a=rtpmap:100 G726-40/8000
a=rtpmap:99 G726-24/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=rtcp:7079

<------------->
--- (15 headers 17 lines) ---

<--- SIP read from 192.168.1.1:5060 --->
SUBSCRIBE sip:[email protected]:5064 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;rport;branch=z9hG4bK0799E4D7061AF4D4
From: <sip:[email protected]>;tag=1817654257
To: <sip:[email protected]:5064>
Call-ID: [email protected]
CSeq: 4 SUBSCRIBE
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>
Event: message-summary
Expires: 3600
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Allow: NOTIFY
Accept: application/simple-message-summary
Content-Length: 0


<------------->
--- (14 headers 0 lines) ---
Creating new subscription
Sending to 192.168.1.1 : 5060 (NAT)
Found peer '2337'
Looking for 2337 in from-internal (domain 192.168.1.10)
Really destroying SIP dialog '[email protected]' Method: SUBSCRIBE
Scheduling destruction of SIP dialog '[email protected]' in 3610000 ms (Method: SUBSCRIBE)

<--- Transmitting (no NAT) to 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK0799E4D7061AF4D4;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=1817654257
To: <sip:[email protected]:5064>;tag=as573b2b9c
Call-ID: [email protected]
CSeq: 4 SUBSCRIBE
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 3600
Contact: <sip:[email protected]:5064>;expires=3600
Content-Length: 0


<------------>

<--- SIP read from 192.168.1.1:5060 --->
SUBSCRIBE sip:[email protected]:5064 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;rport;branch=z9hG4bK0799E4D7061AF4D4
From: <sip:[email protected]>;tag=1817654257
To: <sip:[email protected]:5064>
Call-ID: [email protected]
CSeq: 4 SUBSCRIBE
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>
Event: message-summary
Expires: 3600
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Allow: NOTIFY
Accept: application/simple-message-summary
Content-Length: 0


<------------->
--- (14 headers 0 lines) ---
Ignoring this SUBSCRIBE request
Found peer '2337'
Looking for 2337 in from-internal (domain 192.168.1.10)
Scheduling destruction of SIP dialog '[email protected]' in 3610000 ms (Method: SUBSCRIBE)

<--- Transmitting (no NAT) to 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK0799E4D7061AF4D4;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=1817654257
To: <sip:[email protected]:5064>;tag=as573b2b9c
Call-ID: [email protected]
CSeq: 4 SUBSCRIBE
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 3600
Contact: <sip:[email protected]:5064>;expires=3600
Content-Length: 0


<------------>

<--- SIP read from 192.168.1.1:5060 --->
SIP/2.0 481 Call Leg/Transaction Does Not Exist
Via: SIP/2.0/UDP 192.168.1.10:5064;branch=z9hG4bK39b8c819;rport=5064
From: "Unknown" <sip:[email protected]>;tag=as1784ebe7
To: <sip:sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;tag=6803745
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Content-Length: 0


<------------->
--- (8 headers 0 lines) ---

<--- SIP read from 192.168.1.1:5060 --->
SIP/2.0 481 Call Leg/Transaction Does Not Exist
Via: SIP/2.0/UDP 192.168.1.10:5064;branch=z9hG4bK39b8c819;rport=5064
From: "Unknown" <sip:[email protected]>;tag=as1784ebe7
To: <sip:sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;tag=6803745
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Content-Length: 0


<------------->
--- (8 headers 0 lines) ---

<--- SIP read from 192.168.1.1:5060 --->
SIP/2.0 481 Call Leg/Transaction Does Not Exist
Via: SIP/2.0/UDP 192.168.1.10:5064;branch=z9hG4bK39b8c819;rport=5064
From: "Unknown" <sip:[email protected]>;tag=as1784ebe7
To: <sip:sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;tag=6803745
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Content-Length: 0


<------------->
--- (8 headers 0 lines) ---

<--- SIP read from 192.168.1.1:5060 --->
SIP/2.0 481 Call Leg/Transaction Does Not Exist
Via: SIP/2.0/UDP 192.168.1.10:5064;branch=z9hG4bK39b8c819;rport=5064
From: "Unknown" <sip:[email protected]>;tag=as1784ebe7
To: <sip:sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;tag=6803745
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.67 (Dec 17 2008)
Content-Length: 0


<------------->
--- (8 headers 0 lines) ---
pbx*CLI> sip set debug off
SIP Debugging Disabled

Here is the log from asterisk were it fails the registration.

Code:
pbx*CLI> 
<--- SIP read from 192.168.1.1:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP X.X.X.X:5060;rport;branch=z9hG4bKCF796DF26D0D1676
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 REGISTER
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Sep 14 2009)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0


<------------->
--- (14 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 192.168.1.1 : 5060 (NAT)

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bKCF796DF26D0D1676;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]:5064>
Content-Length: 0


<------------>

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bKCF796DF26D0D1676;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>;tag=as5e7e68d2
Call-ID: [email protected]
CSeq: 1 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4c7bc77f"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: REGISTER)

<--- SIP read from 192.168.1.1:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP X.X.X.X:5060;rport;branch=z9hG4bKCF796DF26D0D1676
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 REGISTER
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Sep 14 2009)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0


<------------->
--- (14 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 192.168.1.1 : 5060 (NAT)

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bKCF796DF26D0D1676;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]:5064>
Content-Length: 0


<------------>

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bKCF796DF26D0D1676;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>;tag=as5e7e68d2
Call-ID: [email protected]
CSeq: 1 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4c7bc77f"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: REGISTER)
pbx*CLI> 
<--- SIP read from 192.168.1.1:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP X.X.X.X:5060;rport;branch=z9hG4bKA906D7DA47575293
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 2 REGISTER
Authorization: Digest username="2337", realm="asterisk", nonce="4c7bc77f", uri="sip:192.168.1.10", response="fb8fbeeeddeceeeb414aebb18c813d85", algorithm=MD5
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Sep 14 2009)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0


<------------->
--- (15 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 192.168.1.1 : 5060 (NAT)

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bKA906D7DA47575293;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 2 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]:5064>
Content-Length: 0


<------------>

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bKA906D7DA47575293;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>;tag=as5e7e68d2
Call-ID: [email protected]
CSeq: 2 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 1610
Contact: <sip:[email protected]:5064>;expires=1610
Date: Tue, 03 Nov 2009 20:52:31 GMT
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: REGISTER)

<--- SIP read from 192.168.1.1:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP X.X.X.X:5060;rport;branch=z9hG4bKA906D7DA47575293
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 2 REGISTER
Authorization: Digest username="2337", realm="asterisk", nonce="4c7bc77f", uri="sip:192.168.1.10", response="fb8fbeeeddeceeeb414aebb18c813d85", algorithm=MD5
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Sep 14 2009)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0


<------------->
--- (15 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 192.168.1.1 : 5060 (NAT)

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bKA906D7DA47575293;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 2 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]:5064>
Content-Length: 0


<------------>

<--- Transmitting (no NAT) to X.X.X.X:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP X.X.X.X:5060;branch=z9hG4bKA906D7DA47575293;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>;tag=as5e7e68d2
Call-ID: [email protected]
CSeq: 2 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 1610
Contact: <sip:[email protected]:5064>;expires=1610
Date: Tue, 03 Nov 2009 20:52:31 GMT
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: REGISTER)
pbx*CLI> 
<--- SIP read from 192.168.1.1:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;rport;branch=z9hG4bK67CFE67426C8E034
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 3 REGISTER
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>
Authorization: Digest username="2337", realm="asterisk", nonce="4c7bc77f", uri="sip:192.168.1.10", response="fb8fbeeeddeceeeb414aebb18c813d85", algorithm=MD5
Expires: 1800
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Sep 14 2009)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0


<------------->
--- (17 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 192.168.1.1 : 5060 (NAT)

<--- Transmitting (no NAT) to 192.168.1.1:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK67CFE67426C8E034;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 3 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]:5064>
Content-Length: 0


<------------>
pbx*CLI> 
<--- Transmitting (no NAT) to 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK67CFE67426C8E034;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>;tag=as5e7e68d2
Call-ID: [email protected]
CSeq: 3 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 1800
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;expires=1800
Date: Tue, 03 Nov 2009 20:52:31 GMT
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: REGISTER)
pbx*CLI> 
<--- SIP read from 192.168.1.1:5060 --->
REGISTER sip:192.168.1.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;rport;branch=z9hG4bK67CFE67426C8E034
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 3 REGISTER
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>
Authorization: Digest username="2337", realm="asterisk", nonce="4c7bc77f", uri="sip:192.168.1.10", response="fb8fbeeeddeceeeb414aebb18c813d85", algorithm=MD5
Expires: 1800
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Sep 14 2009)
Supported: 100rel,replaces
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0


<------------->
--- (17 headers 0 lines) ---
Using latest REGISTER request as basis request
Sending to 192.168.1.1 : 5060 (NAT)
pbx*CLI> 
<--- Transmitting (no NAT) to 192.168.1.1:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK67CFE67426C8E034;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 3 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:[email protected]:5064>
Content-Length: 0


<------------>
pbx*CLI> 
<--- Transmitting (no NAT) to 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK67CFE67426C8E034;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=3818940946
To: <sip:[email protected]>;tag=as5e7e68d2
Call-ID: [email protected]
CSeq: 3 REGISTER
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 1800
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;expires=1800
Date: Tue, 03 Nov 2009 20:52:31 GMT
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: REGISTER)
pbx*CLI> 
<--- SIP read from 192.168.1.1:5060 --->
SUBSCRIBE sip:[email protected]:5064 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;rport;branch=z9hG4bK1D3C4D6943847F3A
From: <sip:[email protected]>;tag=1885445596
To: <sip:[email protected]:5064>
Call-ID: [email protected]
CSeq: 4 SUBSCRIBE
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>
Event: message-summary
Expires: 3600
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Sep 14 2009)
Allow: NOTIFY
Accept: application/simple-message-summary
Content-Length: 0


<------------->
--- (14 headers 0 lines) ---
Creating new subscription
Sending to 192.168.1.1 : 5060 (NAT)
Found peer '2337'
Looking for 2337 in from-internal (domain 192.168.1.10)
Scheduling destruction of SIP dialog '[email protected]' in 3610000 ms (Method: SUBSCRIBE)

<--- Transmitting (no NAT) to 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK1D3C4D6943847F3A;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=1885445596
To: <sip:[email protected]:5064>;tag=as6073ebb3
Call-ID: [email protected]
CSeq: 4 SUBSCRIBE
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 3600
Contact: <sip:[email protected]:5064>;expires=3600
Content-Length: 0


<------------>
Reliably Transmitting (no NAT) to 192.168.1.1:5060:
NOTIFY sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB SIP/2.0
Via: SIP/2.0/UDP 192.168.1.10:5064;branch=z9hG4bK7b501703;rport
From: "Unknown" <sip:[email protected]>;tag=as6073ebb3
To: <sip:sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;tag=1885445596
Contact: <sip:[email protected]:5064>
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: asterisk
Max-Forwards: 70
Event: message-summary
Content-Type: application/simple-message-summary
Subscription-State: active
Content-Length: 88

Messages-Waiting: yes
Message-Account: sip:*[email protected]
Voice-Message: 3/1 (0/0)

---

<--- SIP read from 192.168.1.1:5060 --->
SUBSCRIBE sip:[email protected]:5064 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;rport;branch=z9hG4bK1D3C4D6943847F3A
From: <sip:[email protected]>;tag=1885445596
To: <sip:[email protected]:5064>
Call-ID: [email protected]
CSeq: 4 SUBSCRIBE
Contact: <sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>
Event: message-summary
Expires: 3600
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Sep 14 2009)
Allow: NOTIFY
Accept: application/simple-message-summary
Content-Length: 0


<------------->
--- (14 headers 0 lines) ---
Ignoring this SUBSCRIBE request
Found peer '2337'
Looking for 2337 in from-internal (domain 192.168.1.10)
Scheduling destruction of SIP dialog '[email protected]' in 3610000 ms (Method: SUBSCRIBE)

<--- Transmitting (no NAT) to 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK1D3C4D6943847F3A;received=192.168.1.1;rport=5060
From: <sip:[email protected]>;tag=1885445596
To: <sip:[email protected]:5064>;tag=1885445596
Call-ID: [email protected]
CSeq: 4 SUBSCRIBE
User-Agent: asterisk
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Expires: 3600
Contact: <sip:[email protected]:5064>;expires=3600
Content-Length: 0


<------------>
pbx*CLI> 
<--- SIP read from 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.10:5064;branch=z9hG4bK7b501703;rport=5064
From: "Unknown" <sip:[email protected]>;tag=as6073ebb3
To: <sip:sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;tag=1885445596
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Sep 14 2009)
Content-Length: 0


<------------->
--- (8 headers 0 lines) ---

<--- SIP read from 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.10:5064;branch=z9hG4bK7b501703;rport=5064
From: "Unknown" <sip:[email protected]>;tag=as6073ebb3
To: <sip:sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;tag=1885445596
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Sep 14 2009)
Content-Length: 0


<------------->
--- (8 headers 0 lines) ---
pbx*CLI> 
<--- SIP read from 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.10:5064;branch=z9hG4bK7b501703;rport=5064
From: "Unknown" <sip:[email protected]>;tag=as6073ebb3
To: <sip:sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;tag=1885445596
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Sep 14 2009)
Content-Length: 0


<------------->
--- (8 headers 0 lines) ---

<--- SIP read from 192.168.1.1:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.10:5064;branch=z9hG4bK7b501703;rport=5064
From: "Unknown" <sip:[email protected]>;tag=as6073ebb3
To: <sip:sip:[email protected];uniq=59A111F54C1A04C7F9F14CFDE22CB>;tag=1885445596
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.76 (Sep 14 2009)
Content-Length: 0


<------------->
--- (8 headers 0 lines) ---
pbx*CLI> sip set debug off
SIP Debugging Disabled
pbx*CLI>
 
donnib, thanks, that's already pretty good as info. I'm not really an expert on the matter and still hope that someone else in this forum comes to assistance.

My first reflex would be to think of a NAT problem. I don't think the fritzbox has a NAT setting, but have you tried in the sip.conf to set nat = yes ? I haven't used freepbx yet, are you allowed to edit the asterisk confs yourself or you have to do it through the interface?

Might be useful to post your sip.conf, at least the general and the fritzbox contexts. Sorry not to be of more assistance ...

Cheers
Chris
 
Thanks for your post.

I have tried enabling NAT on the extension and it still fails. :(

/donnib
 
Since nobody cares to respons is it because i described the problem in English or am i the only one running a Asterisk server internal and want to connect to it ?
 
@donnib: I didn't see your post before. I'm running some FritzBoxes (7270) and even more Asterisk's ;-) and never faced any problems. So I'm sure this can be solved. Please post you sip.conf.

On my Asterisk-Server (running on the 7270 itself) my sip.conf looks like this:

Code:
[general]
context=from-extern
bindport=5061
externhost=xxx.xxx.xx
srvlookup=no
language=de
canreinvite=no

register => XXXXXXXXXXX:[email protected]/NNNNNNNNNN

[1000]
context=from-intern
callerid=Mini <0>
host=dynamic
nat=no
qualify=yes
type=friend
secret=XXXXXX
I register the 7270s like this:

Code:
Provider    other Provider
Number     1000
Username  1000
Password   XXXXX
Registrar   192.168.178.1:5061
Proxy        (none)
STUN        (none)
That's basically it. It doesn't matter if this registration comes from the same FritzBox or the second one with a different IP. (All in the lokal network). This setup runs absolutely stable.

Good luck

Udo
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.