you are right, settings are a little bit confusing. So I streamlined them and changed them to
type=friend
insecure=very
nat=yes
username=SIP-ID
fromuser=SIP-ID
fromdomain=sipgate.de
secret=SIP-PW
host=217.10.79.9 --> sipgate.de
qualify=yes
canreinvite=no
dtmfmode=rfc2833
context=from-sipgate
unfortunatelly it did not help at all.
here again the entries found in the asterisk console, when I tried to make a call. for me it looks like only the extensions registered with the asterisk swerver, but can not see anything else. just one trunk activated, all other trunks deactivated. Call coming from external route.
<------------->
— (14 headers 0 lines) —
Really destroying SIP dialog ‘[email protected]’ Method: OPTIONS
<— SIP read from UDP:91.64.186.3:5060 —>
<------------->
<— SIP read from UDP:60.241.4.3:51400 —>
<------------->
<— SIP read from UDP:217.91.13.70:5061 —>
<------------->
<— SIP read from UDP:60.241.4.3:5060 —>
<------------->
<— SIP read from UDP:83.10.2.193:18501 —>
<------------->
<— SIP read from UDP:91.64.182.250:35992 —>
<------------->
<— SIP read from UDP:91.64.186.3:5060 —>
REGISTER sip:80.190.117.194 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.101:5060;branch=z9hG4bK640b98fd699f540d40c99bae6d34d229;rport
From: “Andreas Spremberg” sip:[email protected];tag=942438766
To: “Andreas Spremberg” sip:[email protected]
Call-ID: [email protected]_168_0_101
CSeq: 18727 REGISTER
Contact: sip:[email protected]:5060
Max-Forwards: 70
User-Agent: C470IP/022270000000
Expires: 180
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0
<------------->
— (12 headers 0 lines) —
Sending to 192.168.0.101 : 5060 (no NAT)
<— Transmitting (NAT) to 91.64.186.3:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.101:5060;branch=z9hG4bK640b98fd699f540d40c99bae6d34d229;received=91.64.186.3;rport=5060
From: “Andreas Spremberg” sip:[email protected];tag=942438766
To: “Andreas Spremberg” sip:[email protected];tag=as3df965d8
Call-ID: [email protected]_168_0_101
CSeq: 18727 REGISTER
Server: FPBX-2.9.0(1.6.2.17.3)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="63913950"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘[email protected]_168_0_101’ in 32000 ms (Method: REGISTER)
<— SIP read from UDP:91.64.186.3:5060 —>
REGISTER sip:80.190.117.194 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.101:5060;branch=z9hG4bK6fe6439d7bbf800dc4dc0285ce53d7ab;rport
From: “Andreas Spremberg” sip:[email protected];tag=942438766
To: “Andreas Spremberg” sip:[email protected]
Call-ID: [email protected]_168_0_101
CSeq: 18728 REGISTER
Contact: sip:[email protected]:5060
Authorization: Digest username=“10”, realm=“asterisk”, algorithm=MD5, uri=“sip:80.190.117.194”, nonce=“63913950”, response="f69cb4562b7911724cae34a608989a3f"
Max-Forwards: 70
User-Agent: C470IP/022270000000
Expires: 180
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0
<------------->
— (13 headers 0 lines) —
Sending to 91.64.186.3 : 5060 (NAT)
Reliably Transmitting (NAT) to 91.64.186.3:5060:
OPTIONS sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 80.190.117.194:5060;branch=z9hG4bK16c61b47;rport
Max-Forwards: 70
From: “Unknown” sip:[email protected];tag=as31ba3bda
To: sip:[email protected]:5060
Contact: sip:[email protected]
Call-ID: [email protected]
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.6.2.17.3)
Date: Sun, 08 May 2011 03:13:43 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
<— Transmitting (NAT) to 91.64.186.3:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.101:5060;branch=z9hG4bK6fe6439d7bbf800dc4dc0285ce53d7ab;received=91.64.186.3;rport=5060
From: “Andreas Spremberg” sip:[email protected];tag=942438766
To: “Andreas Spremberg” sip:[email protected];tag=as3df965d8
Call-ID: [email protected]_168_0_101
CSeq: 18728 REGISTER
Server: FPBX-2.9.0(1.6.2.17.3)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Expires: 180
Contact: sip:[email protected]:5060;expires=180
Date: Sun, 08 May 2011 03:13:43 GMT
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘[email protected]_168_0_101’ in 32000 ms (Method: REGISTER)
<— SIP read from UDP:91.64.186.3:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 80.190.117.194:5060;branch=z9hG4bK16c61b47;rport=5060
From: “Unknown” sip:[email protected];tag=as31ba3bda
To: sip:[email protected]:5060;tag=1955993965
Call-ID: [email protected]
CSeq: 102 OPTIONS
Contact: sip:[email protected]:5060
Supported: replaces
Allow-Events: message-summary, refer
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Accept: application/sdp,application/dtmf-relay,application/simple-message-summary,message/sipfrag
Accept-Encoding: identity
Accept-Language: en
Content-Length: 0
<------------->
— (14 headers 0 lines) —
Really destroying SIP dialog ‘[email protected]’ Method: OPTIONS
<— SIP read from UDP:60.241.4.3:51400 —>
REGISTER sip:80.190.117.194 SIP/2.0
Via: SIP/2.0/UDP 60.241.4.3:49164;branch=z9hG4bKedbb9c9a7b52fbfbdbd643c838b668db;rport
From: “Karsten Knorr” sip:[email protected];tag=2013248124
To: “Karsten Knorr” sip:[email protected]
Call-ID: [email protected]_0_0_11
CSeq: 2028 REGISTER
Contact: sip:[email protected]:49164
Max-Forwards: 70
User-Agent: S675IP/022270000000
Expires: 180
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0
<------------->
— (12 headers 0 lines) —
Sending to 60.241.4.3 : 49164 (no NAT)
<— Transmitting (NAT) to 60.241.4.3:51400 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 60.241.4.3:49164;branch=z9hG4bKedbb9c9a7b52fbfbdbd643c838b668db;received=60.241.4.3;rport=51400
From: “Karsten Knorr” sip:[email protected];tag=2013248124
To: “Karsten Knorr” sip:[email protected];tag=as3cb796e0
Call-ID: [email protected]_0_0_11
CSeq: 2028 REGISTER
Server: FPBX-2.9.0(1.6.2.17.3)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="65cffbb8"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘[email protected]_0_0_11’ in 32000 ms (Method: REGISTER)
<— SIP read from UDP:60.241.4.3:51400 —>
REGISTER sip:80.190.117.194 SIP/2.0
Via: SIP/2.0/UDP 60.241.4.3:49164;branch=z9hG4bK2a8fe1404cf48bd4e858eefc9a66595c;rport
From: “Karsten Knorr” sip:[email protected];tag=2013248124
To: “Karsten Knorr” sip:[email protected]
Call-ID: [email protected]_0_0_11
CSeq: 2029 REGISTER
Contact: sip:[email protected]:49164
Authorization: Digest username=“20”, realm=“asterisk”, algorithm=MD5, uri=“sip:80.190.117.194”, nonce=“65cffbb8”, response="d59c524e0abc71cf3b8081e0c254800b"
Max-Forwards: 70
User-Agent: S675IP/022270000000
Expires: 180
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0
<------------->
— (13 headers 0 lines) —
Sending to 60.241.4.3 : 51400 (NAT)
Reliably Transmitting (NAT) to 60.241.4.3:51400:
OPTIONS sip:[email protected]:49164 SIP/2.0
Via: SIP/2.0/UDP 80.190.117.194:5060;branch=z9hG4bK1f139e68;rport
Max-Forwards: 70
From: “Unknown” sip:[email protected];tag=as183bcffc
To: sip:[email protected]:49164
Contact: sip:[email protected]
Call-ID: [email protected]
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.6.2.17.3)
Date: Sun, 08 May 2011 03:13:45 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
<— Transmitting (NAT) to 60.241.4.3:51400 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 60.241.4.3:49164;branch=z9hG4bK2a8fe1404cf48bd4e858eefc9a66595c;received=60.241.4.3;rport=51400
From: “Karsten Knorr” sip:[email protected];tag=2013248124
To: “Karsten Knorr” sip:[email protected];tag=as3cb796e0
Call-ID: [email protected]_0_0_11
CSeq: 2029 REGISTER
Server: FPBX-2.9.0(1.6.2.17.3)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Expires: 180
Contact: sip:[email protected]:49164;expires=180
Date: Sun, 08 May 2011 03:13:45 GMT
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘[email protected]_0_0_11’ in 32000 ms (Method: REGISTER)
<— SIP read from UDP:60.241.4.3:51400 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 80.190.117.194:5060;branch=z9hG4bK1f139e68;rport=5060
From: “Unknown” sip:[email protected];tag=as183bcffc
To: sip:[email protected]:5060;tag=2709996533
Call-ID: [email protected]
CSeq: 102 OPTIONS
Contact: sip:[email protected]:5060
Supported: replaces
Allow-Events: message-summary, refer
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Accept: application/sdp,application/dtmf-relay,application/simple-message-summary,message/sipfrag
Accept-Encoding: identity
Accept-Language: en
Content-Length: 0
<------------->
— (14 headers 0 lines) —
Really destroying SIP dialog ‘[email protected]’ Method: OPTIONS
<— SIP read from UDP:60.241.4.3:5060 —>
REGISTER sip:80.190.117.194 SIP/2.0
Via: SIP/2.0/UDP 60.241.4.3:49158;branch=z9hG4bK5b022d64fb95e30f5bbfeeb41c874096;rport
From: “Sabine & Karsten privat” sip:[email protected];tag=3099221857
To: “Sabine & Karsten privat” sip:[email protected]
Call-ID: [email protected]_0_0_12
CSeq: 2027 REGISTER
Contact: sip:[email protected]:49158
Max-Forwards: 70
User-Agent: A580 IP/022270000000
Expires: 180
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0
<------------->
— (12 headers 0 lines) —
Sending to 60.241.4.3 : 49158 (no NAT)
<— Transmitting (NAT) to 60.241.4.3:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 60.241.4.3:49158;branch=z9hG4bK5b022d64fb95e30f5bbfeeb41c874096;received=60.241.4.3;rport=5060
From: “Sabine & Karsten privat” sip:[email protected];tag=3099221857
To: “Sabine & Karsten privat” sip:[email protected];tag=as549d224f
Call-ID: [email protected]_0_0_12
CSeq: 2027 REGISTER
Server: FPBX-2.9.0(1.6.2.17.3)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="5b8d36e8"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘[email protected]_0_0_12’ in 32000 ms (Method: REGISTER)
<— SIP read from UDP:60.241.4.3:5060 —>
REGISTER sip:80.190.117.194 SIP/2.0
Via: SIP/2.0/UDP 60.241.4.3:49158;branch=z9hG4bKcc1605ad350cadb06feca2661153a60d;rport
From: “Sabine & Karsten privat” sip:[email protected];tag=3099221857
To: “Sabine & Karsten privat” sip:[email protected]
Call-ID: [email protected]_0_0_12
CSeq: 2028 REGISTER
Contact: sip:[email protected]:49158
Authorization: Digest username=“11”, realm=“asterisk”, algorithm=MD5, uri=“sip:80.190.117.194”, nonce=“5b8d36e8”, response="07bfe2a6668fc5b794126d35ac51955c"
Max-Forwards: 70
User-Agent: A580 IP/022270000000
Expires: 180
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0
<------------->
— (13 headers 0 lines) —
Sending to 60.241.4.3 : 5060 (NAT)
Reliably Transmitting (NAT) to 60.241.4.3:5060:
OPTIONS sip:[email protected]:49158 SIP/2.0
Via: SIP/2.0/UDP 80.190.117.194:5060;branch=z9hG4bK09847687;rport
Max-Forwards: 70
From: “Unknown” sip:[email protected];tag=as3851e7be
To: sip:[email protected]:49158
Contact: sip:[email protected]
Call-ID: [email protected]
CSeq: 102 OPTIONS
User-Agent: FPBX-2.9.0(1.6.2.17.3)
Date: Sun, 08 May 2011 03:13:47 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0
<— Transmitting (NAT) to 60.241.4.3:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 60.241.4.3:49158;branch=z9hG4bKcc1605ad350cadb06feca2661153a60d;received=60.241.4.3;rport=5060
From: “Sabine & Karsten privat” sip:[email protected];tag=3099221857
To: “Sabine & Karsten privat” sip:[email protected];tag=as549d224f
Call-ID: [email protected]_0_0_12
CSeq: 2028 REGISTER
Server: FPBX-2.9.0(1.6.2.17.3)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Expires: 180
Contact: sip:[email protected]:49158;expires=180
Date: Sun, 08 May 2011 03:13:47 GMT
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘[email protected]_0_0_12’ in 32000 ms (Method: REGISTER)
<— SIP read from UDP:60.241.4.3:5060 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 80.190.117.194:5060;branch=z9hG4bK09847687;rport=5060
From: “Unknown” sip:[email protected];tag=as3851e7be
To: sip:[email protected]:5060;tag=1212070361
Call-ID: [email protected]
CSeq: 102 OPTIONS
Contact: sip:[email protected]:5060
Supported: replaces
Allow-Events: message-summary, refer
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Accept: application/sdp,application/dtmf-relay,application/simple-message-summary,message/sipfrag
Accept-Encoding: identity
Accept-Language: en
Content-Length: 0
<------------->
— (14 headers 0 lines) —
Really destroying SIP dialog ‘[email protected]0.117.194’ Method: OPTIONS
Really destroying SIP dialog ‘[email protected]_0_1_3’ Method: REGISTER
<— SIP read from UDP:217.91.13.70:5061 —>
<------------->
<— SIP read from UDP:83.10.2.193:18501 —>
<------------->
<— SIP read from UDP:91.64.182.250:35992 —>