Hallo IP-Phone Community,
ich bin derzeit etwas am verzweifeln mit der Konfiguration von Fairytel.
Sobald ich hinauswähle erhalte ich folgende Fehlermeldung: (eingehende Anrufe funktionieren Einwandfrei)
Gewählte Nummer: 9106991822XXXX
Ein- und Ausgehende Anrufe über sipgate funktionieren
Ich bin für jede Idee dankbar.
Vielan Dank im Voraus,
Werner
sip.conf:
extensions.conf: (Ausgehende Verb.)
Log von einem ausgehenden Anruf mit sip debug on:
ich bin derzeit etwas am verzweifeln mit der Konfiguration von Fairytel.
Sobald ich hinauswähle erhalte ich folgende Fehlermeldung: (eingehende Anrufe funktionieren Einwandfrei)
Code:
chan_sip.c:23225 handle_response_invite: Received response: "Forbidden" from '"Werner XXXX" <sip:[email protected]>;tag=as7fe83c48'
Ein- und Ausgehende Anrufe über sipgate funktionieren
Ich bin für jede Idee dankbar.
Vielan Dank im Voraus,
Werner
sip.conf:
Code:
[fairytel]
type=peer
host=sip.fairytel.at
;outboundproxy=sip.fairytel.at
port=5060
username=4372034XXXX
fromuser=4372034XXXX
fromdomain=sip.fairytel.at
secret=SIP-PW
;dtmfmode = rfc2833
insecure=port,invite
canreinvite=no
registertimeout=600
nat=yes
disallow=all
allow=ulaw
context=von-voip
[sipgate]
type = peer
host = sipconnect.sipgate.de
outboundproxy=sipconnect.sipgate.de
port = 5060
username = XXXXX
fromuser = XXXXX
fromdomain = sipconnect.sipgate.de
secret = XXXXX
dtmfmode = rfc2833
insecure = port,invite
canreinvite = no
registertimeout = 600
disallow=all
allow=alaw
allow=ulaw
context=von-voip
extensions.conf: (Ausgehende Verb.)
Code:
; 9X - Dial to extern
;91 Use Fairytel to dial to external
exten => _91X.,1,SET(RUFNUMMER=${EXTEN:2})
exten => _91X.,2,noop(Using Fairytel to dial: ${RUFNUMMER})
exten => _91X.,3,Dial(SIP/${RUFNUMMER}@fairytel)
;92 User Sipgate to dial to external
exten => _92X.,1,SET(RUFNUMMER=${EXTEN:2})
exten => _92X.,2,noop(Using Sipgate to dial: ${RUFNUMMER})
exten => _92X.,3,Dial(SIP/${RUFNUMMER}@sipgate)
;Rauswählen - depr.
;exten => _0X.,1,Dial(SIP/${EXTEN}@fairytel)
Log von einem ausgehenden Anruf mit sip debug on:
Code:
<--- SIP read from UDP:192.168.1.4:5060 --->
INVITE sip:[email protected] SIP/2.0
Max-Forwards: 20
Via: SIP/2.0/UDP 192.168.1.4:5060;rport;branch=z9hG4bK1513583366
From: <sip:[email protected]>;tag=714922787
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 57 INVITE
User-Agent: YATE/5.4.0
Contact: <sip:[email protected]:5060>
Allow: ACK, INVITE, BYE, CANCEL, OPTIONS, INFO
Content-Type: application/sdp
Content-Length: 502
v=0
o=yate 1422473577 1422473577 IN IP4 192.168.1.4
s=SIP Call
c=IN IP4 192.168.1.4
t=0 0
m=audio 23730 RTP/AVP 0 8 3 11 98 97 102 103 104 105 106 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:11 L16/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=20
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:102 SPEEX/8000
a=rtpmap:103 SPEEX/16000
a=rtpmap:104 SPEEX/32000
a=rtpmap:105 iSAC/16000
a=rtpmap:106 iSAC/32000
a=rtpmap:101 telephone-event/8000
a=ptime:30
<------------->
--- (12 headers 21 lines) ---
Sending to 192.168.1.4:5060 (no NAT)
Sending to 192.168.1.4:5060 (no NAT)
Using INVITE request as basis request - [email protected]
Found peer '3101' for '3101' from 192.168.1.4:5060
<--- Reliably Transmitting (no NAT) to 192.168.1.4:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.4:5060;branch=z9hG4bK1513583366;received=192.168.1.4;rport=5060
From: <sip:[email protected]>;tag=714922787
To: <sip:[email protected]>;tag=as354ddea2
Call-ID: [email protected]
CSeq: 57 INVITE
Server: Asterisk PBX 13.1.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="31ff1661"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: INVITE)
<--- SIP read from UDP:192.168.1.4:5060 --->
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.1.4:5060;rport;branch=z9hG4bK1513583366
From: <sip:[email protected]>;tag=714922787
To: <sip:[email protected]>;tag=as354ddea2
Call-ID: [email protected]
CSeq: 57 ACK
Max-Forwards: 20
Contact: <sip:[email protected]:5060>
User-Agent: YATE/5.4.0
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
<--- SIP read from UDP:192.168.1.4:5060 --->
INVITE sip:[email protected] SIP/2.0
Max-Forwards: 20
Via: SIP/2.0/UDP 192.168.1.4:5060;rport;branch=z9hG4bK302029695
From: <sip:[email protected]>;tag=714922787
To: <sip:[email protected]>
Call-ID: [email protected]
User-Agent: YATE/5.4.0
Contact: <sip:[email protected]:5060>
Allow: ACK, INVITE, BYE, CANCEL, OPTIONS, INFO
CSeq: 58 INVITE
Authorization: Digest username="3101", realm="asterisk", nonce="31ff1661", uri="sip:[email protected]", response="f7a13a***011a752", algorithm=MD5
Content-Type: application/sdp
Content-Length: 502
v=0
o=yate 1422473577 1422473577 IN IP4 192.168.1.4
s=SIP Call
c=IN IP4 192.168.1.4
t=0 0
m=audio 23730 RTP/AVP 0 8 3 11 98 97 102 103 104 105 106 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:11 L16/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=20
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:102 SPEEX/8000
a=rtpmap:103 SPEEX/16000
a=rtpmap:104 SPEEX/32000
a=rtpmap:105 iSAC/16000
a=rtpmap:106 iSAC/32000
a=rtpmap:101 telephone-event/8000
a=ptime:30
<------------->
--- (13 headers 21 lines) ---
Sending to 192.168.1.4:5060 (no NAT)
Using INVITE request as basis request - [email protected]
Found peer '3101' for '3101' from 192.168.1.4:5060
== Using SIP RTP CoS mark 5
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 3
Found RTP audio format 11
Found RTP audio format 98
Found RTP audio format 97
Found RTP audio format 102
Found RTP audio format 103
Found RTP audio format 104
Found RTP audio format 105
Found RTP audio format 106
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format PCMA for ID 8
Found audio description format GSM for ID 3
Found audio description format L16 for ID 11
Found audio description format iLBC for ID 98
Found audio description format iLBC for ID 97
Found audio description format SPEEX for ID 102
Found audio description format SPEEX for ID 103
Found audio description format SPEEX for ID 104
Found unknown media description format iSAC for ID 105
Found unknown media description format iSAC for ID 106
Found audio description format telephone-event for ID 101
Capabilities: us - (ulaw|alaw|gsm|h263), peer - audio=(ulaw|gsm|alaw|slin|ilbc|speex|speex16|speex32)/video=(nothing)/text=(nothing), combined - (ulaw|alaw|gsm)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 192.168.1.4:23730
Looking for 9106991822XXXX in intern (domain 192.168.1.103)
sip_route_dump: route/path hop: <sip:[email protected]:5060>
<--- Transmitting (no NAT) to 192.168.1.4:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.4:5060;branch=z9hG4bK302029695;received=192.168.1.4;rport=5060
From: <sip:[email protected]>;tag=714922787
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 58 INVITE
Server: Asterisk PBX 13.1.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: <sip:[email protected]:5060>
Content-Length: 0
<------------>
-- Executing [9106991822XXXX@intern:1] Set("SIP/3101-00000002", "RUFNUMMER=06991822XXXX") in new stack
-- Executing [9106991822XXXX@intern:2] NoOp("SIP/3101-00000002", "Using Fairytel to dial: 06991822XXXX") in new stack
-- Executing [9106991822XXXX@intern:3] Dial("SIP/3101-00000002", "SIP/06991822XXXX@fairytel") in new stack
== Using SIP RTP CoS mark 5
Audio is at 10732
Adding codec ulaw to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 213.185.165.114:5060:
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.103:5060;branch=z9hG4bK68dae5bf;rport
Max-Forwards: 70
From: "Werner XXXX" <sip:[email protected]>;tag=as41979518
To: <sip:[email protected]:5060>
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX 13.1.0
Date: Wed, 28 Jan 2015 19:37:10 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 241
v=0
o=root 1399985572 1399985572 IN IP4 192.168.1.103
s=Asterisk PBX 13.1.0
c=IN IP4 192.168.1.103
t=0 0
m=audio 10732 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=maxptime:150
a=sendrecv
---
-- Called SIP/06991822XXXX@fairytel
<--- SIP read from UDP:213.185.165.114:5060 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.1.103:5060;branch=z9hG4bK68dae5bf;rport=5060;received=83.215.XXX.XXX
From: "Werner XXXX" <sip:[email protected]>;tag=as41979518
To: <sip:[email protected]:5060>;tag=c6f834bd5392a69e0ed298424be1ffc7.4a2f
Call-ID: [email protected]
CSeq: 102 INVITE
Server: kamailio (4.1.4 (x86_64/linux))
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Transmitting (NAT) to 213.185.165.114:5060:
ACK sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.103:5060;branch=z9hG4bK68dae5bf;rport
Max-Forwards: 70
From: "Werner XXXX" <sip:[email protected]>;tag=as41979518
To: <sip:[email protected]:5060>;tag=c6f834bd5392a69e0ed298424be1ffc7.4a2f
Contact: <sip:[email protected]:5060>
Call-ID: [email protected]
CSeq: 102 ACK
User-Agent: Asterisk PBX 13.1.0
Content-Length: 0
---
[Jan 28 20:37:10] WARNING[14152][C-00000001]: chan_sip.c:23225 handle_response_invite: Received response: "Forbidden" from '"Werner XXXX" <sip:[email protected]>;tag=as41979518'
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: INVITE)
== Everyone is busy/congested at this time (1:0/0/1)
-- Auto fallthrough, channel 'SIP/3101-00000002' status is 'CHANUNAVAIL'
<--- Reliably Transmitting (no NAT) to 192.168.1.4:5060 --->
SIP/2.0 503 Service Unavailable
Via: SIP/2.0/UDP 192.168.1.4:5060;branch=z9hG4bK302029695;received=192.168.1.4;rport=5060
From: <sip:[email protected]>;tag=714922787
To: <sip:[email protected]>;tag=as481023b7
Call-ID: [email protected]
CSeq: 58 INVITE
Server: Asterisk PBX 13.1.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
X-Asterisk-HangupCause: Call Rejected
X-Asterisk-HangupCauseCode: 21
Content-Length: 0
<------------>
<--- SIP read from UDP:192.168.1.4:5060 --->
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.1.4:5060;rport;branch=z9hG4bK302029695
From: <sip:[email protected]>;tag=714922787
To: <sip:[email protected]>;tag=as481023b7
Call-ID: [email protected]
CSeq: 58 ACK
Max-Forwards: 20
Contact: <sip:[email protected]:5060>
Authorization: Digest username="3101", realm="asterisk", nonce="31ff1661", uri="sip:[email protected]", response="f7a13a***11a752", algorithm=MD5
User-Agent: YATE/5.4.0
Content-Length: 0
<------------->
--- (11 headers 0 lines) ---
Really destroying SIP dialog '[email protected]' Method: ACK
<--- SIP read from UDP:217.10.68.150:5060 --->
<------------->
sip set debug off
SIP Debugging Disabled
Zuletzt bearbeitet: