- Mitglied seit
- 31 Okt 2004
- Beiträge
- 90
- Punkte für Reaktionen
- 0
- Punkte
- 6
Hallo zusammen,
bei uns ist heute plötzlich keine ausgehende Verbindung über die Telekom mehr möglich. Es kommt die Meldung:
Ein Blick in die SIP DEBUG zeigt die Meldung SIP/2.0 403 Zugriff nicht erlaubt (45). Das bedeutet doch das der Telekom-Server den Asterisk aussperrt, oder verstehe ich das falsch?
Hier mal der komplette SIP DEBUG Output:
Meine sip.conf orientiert sich übrigens weitgehend an den Empfehlungen aus dem Forum. Bis heute hat das auch zu 95% gut funktioniert.
Hoffe ihr hab einen weiterführenden Tipp für mich?!
Gruß Valentin
bei uns ist heute plötzlich keine ausgehende Verbindung über die Telekom mehr möglich. Es kommt die Meldung:
Code:
WARNING[3716]: chan_sip.c:20245 handle_response_invite: Received response: "Forbidden" from '"0699999999" <sip:[email protected]>;tag=as628bfe42'
Ein Blick in die SIP DEBUG zeigt die Meldung SIP/2.0 403 Zugriff nicht erlaubt (45). Das bedeutet doch das der Telekom-Server den Asterisk aussperrt, oder verstehe ich das falsch?
Hier mal der komplette SIP DEBUG Output:
Code:
<--- Transmitting (NAT) to 10.0.2.125:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.0.2.125:5060;branch=z9hG4bK767839053;received=10.0.2.125;rport=5060
From: "Telefon Intern" <sip:[email protected]>;tag=90340890
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 301 INVITE
Server: Asterisk PBX 1.8.10.1~dfsg-1ubuntu1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:[email protected]:5060>
Content-Length: 0
<------------>
-- Executing [0693333333@telefon:1] Goto("SIP/125-00000017", "0049693333333,1") in new stack
-- Goto (telefon,0049693333333,1)
-- Executing [0049693333333@telefon:1] NoOp("SIP/125-00000017", "Abgehende Verbindung (festnetz) via Telekom") in new stack
-- Executing [0049693333333@telefon:2] Set("SIP/125-00000017", "CALLERID(name)=0699999999") in new stack
-- Executing [0049693333333@telefon:3] Set("SIP/125-00000017", "CALLERID(num)=0699999999") in new stack
-- Executing [0049693333333@telefon:4] Dial("SIP/125-00000017", "SIP/0049693333333@telekom,60,trg") in new stack
== Using SIP RTP CoS mark 5
Audio is at 17028
Adding codec 0x8 (alaw) to SDP
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x2 (gsm) to SDP
Adding codec 0x40 (slin) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 217.0.19.166:5060:
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.2.5:5060;branch=z9hG4bK44585e11;rport
Max-Forwards: 70
From: "0699999999" <sip:[email protected]>;tag=as628bfe42
To: <sip:[email protected]:5060>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX 1.8.10.1~dfsg-1ubuntu1
Date: Tue, 10 Feb 2015 09:57:27 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 315
v=0
o=root 1203295267 1203295267 IN IP4 10.0.2.5
s=Asterisk PBX 1.8.10.1~dfsg-1ubuntu1
c=IN IP4 10.0.2.5
t=0 0
m=audio 17028 RTP/AVP 8 0 3 10 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:10 L16/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
-- Called SIP/0049693333333@telekom
<--- Transmitting (NAT) to 10.0.2.125:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.0.2.125:5060;branch=z9hG4bK767839053;received=10.0.2.125;rport=5060
From: "Telefon Intern" <sip:[email protected]>;tag=90340890
To: <sip:[email protected]>;tag=as0aadacd0
Call-ID: [email protected]
CSeq: 301 INVITE
Server: Asterisk PBX 1.8.10.1~dfsg-1ubuntu1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:[email protected]:5060>
Content-Length: 0
<------------>
<--- SIP read from UDP:217.0.19.166:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.0.2.5:5060;rport=5060;branch=z9hG4bK44585e11
To: <sip:[email protected]:5060>;tag=26d28772
From: 0699999999 <sip:[email protected]>;tag=as628bfe42
Call-ID: [email protected]
CSeq: 102 INVITE
WWW-Authenticate: Digest algorithm=MD5, nonce="c014f7****5892c6", realm="tel.t-online.de"
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
set_destination: Parsing <sip:[email protected]:5060> for address/port to send to
set_destination: set destination to 217.0.19.166:5060
Transmitting (NAT) to 217.0.19.166:5060:
ACK sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.2.5:5060;branch=z9hG4bK44585e11;rport
Max-Forwards: 70
From: "0699999999" <sip:[email protected]>;tag=as628bfe42
To: <sip:[email protected]:5060>;tag=26d28772
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]
CSeq: 102 ACK
User-Agent: Asterisk PBX 1.8.10.1~dfsg-1ubuntu1
Content-Length: 0
---
Audio is at 17028
Adding codec 0x8 (alaw) to SDP
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x2 (gsm) to SDP
Adding codec 0x40 (slin) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 217.0.19.166:5060:
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.2.5:5060;branch=K508e6c2fz9hG4b;rport
Max-Forwards: 70
From: "0699999999" <sip:[email protected]>;tag=as628bfe42
To: <sip:[email protected]:5060>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]
CSeq: 103 INVITE
User-Agent: Asterisk PBX 1.8.10.1~dfsg-1ubuntu1
Authorization: Digest username="loginmail", realm="tel.t-online.de", algorithm=MD5, uri="sip:[email protected]:5060", nonce="c014f7c8*****f5892c6", response="e301****2457b"
Date: Tue, 10 Feb 2015 09:57:27 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 315
v=0
o=root 1203295267 1203295268 IN IP4 10.0.2.5
s=Asterisk PBX 1.8.10.1~dfsg-1ubuntu1
c=IN IP4 10.0.2.5
t=0 0
m=audio 17028 RTP/AVP 8 0 3 10 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:10 L16/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-
a=ptime:20
a=sendrecv
---
<--- SIP read from UDP:217.0.19.166:5060 --->
SIP/2.0 100 Rufaufbau
Via: SIP/2.0/UDP 10.0.2.5:5060;rport=5060;branch=K508e6c2fz9hG4b
To: <sip:[email protected]:5060>
From: 0699999999 <sip:[email protected]>;tag=as628bfe42
Call-ID: [email protected]
CSeq: 103 INVITE
Content-Length: 0
<------------->
--- (7 headers 0 lines) ---
<--- SIP read from UDP:217.0.19.166:5060 --->
SIP/2.0 403 Zugriff nicht erlaubt (45)
Via: SIP/2.0/UDP 10.0.2.5:5060;rport=5060;branch=K508e6c2fz9hG4b
To: <sip:[email protected]:5060>;tag=234252b3
From: 0699999999 <sip:[email protected]>;tag=as628bfe42
Call-ID: [email protected]
Contact: <sip:[email protected]:5060>
CSeq: 103 INVITE
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
set_destination: Parsing <sip:[email protected]:5060> for address/port to send to
set_destination: set destination to 217.0.19.166:5060
Transmitting (NAT) to 217.0.19.166:5060:
ACK sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.2.5:5060;branch=K508e6c2fz9hG4b;rport
Max-Forwards: 70
From: "0699999999" <sip:[email protected]>;tag=as628bfe42
To: <sip:[email protected]:5060>;tag=234252b3
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]
CSeq: 103 ACK
User-Agent: Asterisk PBX 1.8.10.1~dfsg-1ubuntu1
Content-Length: 0
---
[Feb 10 10:57:27] WARNING[3716]: chan_sip.c:20245 handle_response_invite: Received response: "Forbidden" from '"0699999999" <sip:[email protected]>;tag=as628bfe42'
Scheduling destruction of SIP dialog '[email protected]' in 6400 ms (Method: INVITE)
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [0049693333333@telefon:5] NoOp("SIP/125-00000017", "Status: 34") in new stack
-- Executing [0049693333333@telefon:6] Hangup("SIP/125-00000017", "") in new stack
== Spawn extension (telefon, 0049693333333, 6) exited non-zero on 'SIP/125-00000017'
Scheduling destruction of SIP dialog '[email protected]' in 6400 ms (Method: INVITE)
<--- Reliably Transmitting (NAT) to 10.0.2.125:5060 --->
SIP/2.0 503 Service Unavailable
Via: SIP/2.0/UDP 10.0.2.125:5060;branch=z9hG4bK767839053;received=10.0.2.125;rport=5060
From: "Telefon Intern" <sip:[email protected]>;tag=90340890
To: <sip:[email protected]>;tag=as0aadacd0
Call-ID: [email protected]
CSeq: 301 INVITE
Server: Asterisk PBX 1.8.10.1~dfsg-1ubuntu1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<------------>
<--- SIP read from UDP:10.0.2.125:5060 --->
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.0.2.125:5060;branch=z9hG4bK767839053;rport
From: "Telefon Intern" <sip:[email protected]>;tag=90340890
To: <sip:[email protected]>;tag=as0aadacd0
Call-ID: [email protected]
CSeq: 301 ACK
Content-Length: 0
<------------->
Meine sip.conf orientiert sich übrigens weitgehend an den Empfehlungen aus dem Forum. Bis heute hat das auch zu 95% gut funktioniert.
Code:
[general]
context=xxx
allowguest=no
allowoverlap=no
udpbindaddr=0.0.0.0:5060
tcpenable=no
tcpbindaddr=0.0.0.0
srvlookup=yes
disallow=all
allow=alaw
allow=ulaw
allow=g729
allow=gsm
allow=slinear
language=de
allowsubscribe=yes
notifyringing = yes
notifyhold = yes
defaultexpirey=480
directmedia=no
directrtpsetup=no
localnet=10.0.2.0/255.255.255.0
externalhost=office.ddns.net
externrefresh=10
alwaysauthreject=yes
allowguest=no
register => 0699999999:xxxxxx:[email protected]/0699999999
[...]
[telekom]
type=peer
context=from_telekom
username=loginmail
secret=xxxxxx
host=tel.t-online.de
fromdomain=tel.t-online.de
qualify=yes
port=5060
insecure=port,invite
usereqphone=no
nat=yes
call-limit=5
canreinvite=no
[telekom_ip](!)
type=peer
context=from_telekom
username=loginmail
secret=xxxxxx
qualify=no
port=5060
insecure=port,invite
usereqphone=no
nat=yes
call-limit=5
canreinvite=no
[DTAG-IP_IN16_026](telekom_ip)
host=217.0.16.26
trustrpid=no
[DTAG-IP_IN16_035](telekom_ip)
host=217.0.16.35
trustrpid=no
[DTAG-IP_IN16_039](telekom_ip)
host=217.0.16.39
trustrpid=no
[...]
Hoffe ihr hab einen weiterführenden Tipp für mich?!
Gruß Valentin
Zuletzt bearbeitet: