Das Problem ist Gelöst, siehe Post #9
Hallo Zusammen Ich versuche schon seit längerem einen Swisscom SIP Anschluss auf meiner FreePBX zum laufen zu bringen. (SIP Zugangsdaten wurden mit bisschen Aufwand aus dem Modem "extrahiert" ). Nun momentan ist der Stand der Dinge folgender:
- Eingehende Anrufe funktionieren
- Ausgehende Anrufe funktionieren leider nicht
- Ich habe testweise die SIP-Zugangsdaten in mein Android eingegeben => funktioniert (eingehend und ausgehend)
- NAT Probleme kann ich ausschliessen, interne Telefonie funktioniert sogar via Mobilfunknetz (NAT44)
Ich habe schon vieles versucht, aber bis jetzt hat noch nichts zum gewünschten Ergebnis geführt. Nun zu meiner momentanen Konfiguration:
In Console steht bei Anrufversuch folgendes:
Und hier der Output von"sip set debug peer Swisscom":
Nun, hat vieleicht jemand eine funktionierende Konfiguration oder weiss was hier schief läuft?
Vielen Dank für eine Antwort
Gruss
Killbyt
Hallo Zusammen Ich versuche schon seit längerem einen Swisscom SIP Anschluss auf meiner FreePBX zum laufen zu bringen. (SIP Zugangsdaten wurden mit bisschen Aufwand aus dem Modem "extrahiert" ). Nun momentan ist der Stand der Dinge folgender:
- Eingehende Anrufe funktionieren
- Ausgehende Anrufe funktionieren leider nicht
- Ich habe testweise die SIP-Zugangsdaten in mein Android eingegeben => funktioniert (eingehend und ausgehend)
- NAT Probleme kann ich ausschliessen, interne Telefonie funktioniert sogar via Mobilfunknetz (NAT44)
Ich habe schon vieles versucht, aber bis jetzt hat noch nichts zum gewünschten Ergebnis geführt. Nun zu meiner momentanen Konfiguration:
Code:
#OUT
username=+4131xxxxxxx
type=peer
secret=mein_passwort
qualify=yes
nat=yes
insecure=invite,port
host=bc1.ims.swisscom.ch
[email protected]
fromuser=+4131xxxxxxx
fromdomain=swisscom.ch
disallow=all
canreinvite=no
allow=ulaw&alaw
context=from-trunk
#IN
type=peer
port=5060
host=bc1.ims.swisscom.ch
fromdomain=swisscom.ch
disallow=all
allow=ulaw&alaw
#REGISTER STRING
[email protected]:mein_passwort:[email protected]/+4131xxxxxxx
In Console steht bei Anrufversuch folgendes:
Code:
[2015-05-09 17:10:16] WARNING[3272][C-0000000d]: chan_sip.c:23159 handle_response_invite: Received response: "Forbidden" from '<sip:[email protected]:5059>;tag=as51f91bed'
Und hier der Output von"sip set debug peer Swisscom":
Code:
raspbx*CLI> sip set debug peer Swisscom
SIP Debugging Enabled for IP: 195.186.128.16
[2015-05-09 17:13:26] NOTICE[3272]: chan_sip.c:15094 sip_reregister: -- Re-registration for [email protected]
REGISTER 11 headers, 0 lines
Reliably Transmitting (NAT) to 195.186.128.16:5060:
REGISTER sip:swisscom.ch SIP/2.0
Via: SIP/2.0/UDP 83.78.103.73:5059;branch=z9hG4bK613ced4e;rport
Max-Forwards: 70
From: <sip:[email protected]>;tag=as1c536511
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 105 REGISTER
User-Agent: Centro grande/6.14.00
Authorization: Digest username="NCxxauth_name", realm="swisscom.ch", algorithm=MD5, uri="sip:swisscom.ch", nonce="932035xxxxxxxxxxx04F25806A", response="e52531xxxxxxxxxxx9ee6998", qop=auth, cnonce="5exx076", nc=00000003
Expires: 120
Contact: <sip:[email protected]:5059>
Content-Length: 0
---
<--- SIP read from UDP:195.186.128.16:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 83.78.103.73:5059;received=83.78.103.73;rport=49155;branch=z9hG4bK613ced4e
To: <sip:[email protected]>;tag=b2j9c8nqpjucx9v7l99zltgcky92kdvp
From: <sip:[email protected]>;tag=as1c536511
Call-ID: [email protected]
CSeq: 105 REGISTER
Contact: <sip:[email protected]:5059>;expires=120
P-Associated-Uri: <sip:[email protected]>
User-Agent: Centro grande/6.14.00
Content-Length: 0
<------------->
--- (10 headers 0 lines) ---
[2015-05-09 17:13:26] NOTICE[3272]: chan_sip.c:23656 handle_response_register: Outbound Registration: Expiry for bc1.ims.swisscom.ch is 120 sec (Scheduling reregistration in 105 s)
Really destroying SIP dialog '[email protected]' Method: REGISTER
[2015-05-09 17:13:26] NOTICE[3272]: chan_sip.c:15094 sip_reregister: -- Re-registration for [email protected]
[2015-05-09 17:13:26] NOTICE[3272]: chan_sip.c:23656 handle_response_register: Outbound Registration: Expiry for free4.voipgateway.org is 120 sec (Scheduling reregistration in 105 s)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Audio is at 10048
Adding codec 100003 (ulaw) to SDP
Adding codec 100004 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 195.186.128.16:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 83.78.103.73:5059;branch=z9hG4bK6ee9d7f8;rport
Max-Forwards: 70
From: <sip:[email protected]:5059>;tag=as4b15885a
To: <sip:[email protected]>
Contact: <sip:[email protected]:5059>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Centro grande/6.14.00
Date: Sat, 09 May 2015 15:13:27 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 260
v=0
o=root 1612192638 1612192638 IN IP4 83.78.103.73
s=Asterisk PBX 11.17.0
c=IN IP4 83.78.103.73
t=0 0
m=audio 10048 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
---
<--- SIP read from UDP:195.186.128.16:5060 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 83.78.103.73:5059;received=83.78.103.73;rport=49155;branch=z9hG4bK6ee9d7f8
To: <sip:[email protected]>;tag=h7g4Esbg_uqgrhzp4y1wguchzlx3tmkiyh75j4nct
From: <sip:[email protected]:5059>;tag=as4b15885a
Call-ID: [email protected]
CSeq: 102 INVITE
Content-Length: 0
<------------->
--- (7 headers 0 lines) ---
Transmitting (NAT) to 195.186.128.16:5060:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 83.78.103.73:5059;branch=z9hG4bK6ee9d7f8;rport
Max-Forwards: 70
From: <sip:[email protected]:5059>;tag=as4b15885a
To: <sip:[email protected]>;tag=h7g4Esbg_uqgrhzp4y1wguchzlx3tmkiyh75j4nct
Contact: <sip:[email protected]:5059>
Call-ID: [email protected]
CSeq: 102 ACK
User-Agent: Centro grande/6.14.00
Content-Length: 0
---
[2015-05-09 17:13:27] WARNING[3272][C-0000000e]: chan_sip.c:23159 handle_response_invite: Received response: "Forbidden" from '<sip:[email protected]:5059>;tag=as4b15885a'
Scheduling destruction of SIP dialog '[email protected]' in 6400 ms (Method: INVITE)
== Everyone is busy/congested at this time (1:0/0/1)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/701-0000001d' in macro 'dialout-trunk'
== Spawn extension (from-internal, 078xxxxxxx, 6) exited non-zero on 'SIP/701-0000001d'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/701-0000001d'
Really destroying SIP dialog '[email protected]' Method: INVITE
raspbx*CLI> sip set debug off
SIP Debugging Disabled
raspbx*CLI>
Nun, hat vieleicht jemand eine funktionierende Konfiguration oder weiss was hier schief läuft?
Vielen Dank für eine Antwort
Gruss
Killbyt
Zuletzt bearbeitet: