Hey, wir haben nun seit zwei Tagen ein Problem mit unserer 3CX (selfHosted auf Raspi)
Das Setup lief seit knapp einem Jahr weitesgehend stabil.
Wir haben mehrere Rufnummern die über unseren normalen Dynamischen-IP Zugang eingerichtet sind. (nicht als SIP-Trunk)
Zunächst sind alle Trunks als Offline dargestellt worden. Keine ausgehenden oder eingehenden Anrufe sind möglich.
Ändere ich das Transportprotokoll von TCP auf UDP oder ANY werden die Trunks zumindest als Online dargestellt (ein Tipp aus dem Forum hier) Kurzzeit war ein ausgehendes Gespräch damit möglich.
Dann wieder alles Tot.
Hier ein detailliertes Log eines ausgehenden Anrufs:
Der Raspi mit 3CX hängt hinter einer "Digitalisierungsbox Smart" der Telekom (ja das ding ist mist)..
In der Resolv.conf des Raspis wurden auch verschiedene DNS Server getestet (Google, Router, Telekom)
Die eingestellten Codecs sind:
Das Setup lief seit knapp einem Jahr weitesgehend stabil.
Wir haben mehrere Rufnummern die über unseren normalen Dynamischen-IP Zugang eingerichtet sind. (nicht als SIP-Trunk)
Zunächst sind alle Trunks als Offline dargestellt worden. Keine ausgehenden oder eingehenden Anrufe sind möglich.
Code:
Call or Registration to 0160XXXXX@(Ln.10000@Tkom - 040XXXX) has failed. 217.0.130.69 replied: 403 Forbidden; from IP:217.0.130.69:5060
Ändere ich das Transportprotokoll von TCP auf UDP oder ANY werden die Trunks zumindest als Online dargestellt (ein Tipp aus dem Forum hier) Kurzzeit war ein ausgehendes Gespräch damit möglich.
Dann wieder alles Tot.
Hier ein detailliertes Log eines ausgehenden Anrufs:
Code:
09/30/2022 6:38:44 PM - [CM503007]: Call(C:1): Extn:101 has joined, contact <sip:[email protected]:5060/UDP>
09/30/2022 6:38:44 PM - [CM503007]: Call(C:1): EndCall:EndCall has joined, contact <sip:[email protected]:5483/UDP>
09/30/2022 6:38:44 PM - L:1.3[EndCall:EndCall] has joined to L:1.1[Extn:101]
09/30/2022 6:38:44 PM - [CM503002]: Call(C:1): Alerting EndCall:EndCall by contact <sip:[email protected]:5483/UDP>
09/30/2022 6:38:43 PM - [CM503025]: Call(C:1): Calling T:EndCall:EndCall@[Dev:sip:[email protected]:5483;rinstance=8714fa47fb131e1a] for L:1.1[Extn:101]
09/30/2022 6:38:43 PM - L:1.1[Extn:101] failed to reach Line:10000>>0160XXXXXX, reason Forbidden
09/30/2022 6:38:43 PM - Leg L:1.2[Line:10000>>0160XXXXXX] is terminated: Cause: 403 Forbidden/INVITE from 217.0.130.69:5060
09/30/2022 6:38:43 PM - Call to T:Line:10000>>0160XXXXXX@[Dev:sip:[email protected]] from L:1.1[Extn:101] failed, cause: Cause: 403 Forbidden/INVITE from 217.0.130.69:5060
09/30/2022 6:38:43 PM - [CM503003]: Call(C:1): Call to <sip:[email protected]:0> has failed; Cause: 403 Forbidden/INVITE from 217.0.130.69:5060
09/30/2022 6:38:43 PM - [CM503025]: Call(C:1): Calling T:Line:10000>>0160XXXXXX@[Dev:sip:[email protected]] for L:1.1[Extn:101]
09/30/2022 6:38:43 PM - [CM503027]: Call(C:1): From: Extn:101 ("Büro" <sip:[email protected]:5060>) to T:Line:10000>>0160XXXXXX@[Dev:sip:[email protected]]
09/30/2022 6:38:43 PM - [CM503004]: Call(C:1): Route 1: from L:1.1[Extn:101] to T:Line:10000>>0160XXXXXX@[Dev:sip:[email protected]]
09/30/2022 6:38:43 PM - Line limit check: Current # of calls for line Lc:10000(@Tkom - 04042935524[<sip:[email protected]:0/UDP>]) is 0; limit is 10
09/30/2022 6:38:43 PM - Call(C:1): Call from Extn:101 to 0160XXXXXX matches outbound rule 'Büro default'
09/30/2022 6:38:43 PM - [Flow] Call(C:1): has built target endpoint: Out#:>>Rule{Büro default}>>0160XXXXXX for call from L:1.1[Extn:101]
09/30/2022 6:38:43 PM - [Flow] Target endpoint for 0160XXXXXX is Out#:>>Rule{Büro default}>>0160XXXXXX
09/30/2022 6:38:43 PM - [CM503010]: Call(C:1): Making route(s) from Extn:101 to <sip:[email protected]:5060/UDP>
09/30/2022 6:38:43 PM - [CM505001]: Endpoint Extn:101: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [Yealink W70B 146.85.0.20 805e0c1834ef] PBX contact: [sip:[email protected]:5060]
09/30/2022 6:38:43 PM - [CM500002]: Call(C:1): Info on incoming INVITE from Extn:101:
Invite-IN Recv Req INVITE from 192.168.2.6:5060 tid=4022897435 [email protected]:
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.6:5060;branch=z9hG4bK4022897435
Max-Forwards: 70
Contact: <sip:[email protected]:5060>
To: <sip:[email protected]:5060>
From: "Büro"<sip:[email protected]:5060>;tag=4022760373
Call-ID: [email protected]
CSeq: 2 INVITE
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Content-Type: application/sdp
Proxy-Authorization: Digest username="26CXX",realm="3CXPhoneSystem",nonce="414d535963371b9395:76fb1ebc59f73508c1c32e0a71a8bd3a",uri="sip:[email protected]:5060",response="4fbe9b263ea7294e3988c210ea4514c3",algorithm=MD5
Supported: replaces
User-Agent: Yealink W70B 146.85.0.20 805e0c1834ef
Allow-Events: talk, hold, conference, refer, check-sync
Content-Length: 304
v=0
o=- 20263 20263 IN IP4 192.168.2.6
s=SDP data
c=IN IP4 192.168.2.6
t=0 0
m=audio 12108 RTP/AVP 0 8 9 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=ptime:20
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
09/30/2022 6:38:43 PM - [CM503001]: Call(C:1): Incoming call from Extn:101 to <sip:[email protected]:5060>
Der Raspi mit 3CX hängt hinter einer "Digitalisierungsbox Smart" der Telekom (ja das ding ist mist)..
In der Resolv.conf des Raspis wurden auch verschiedene DNS Server getestet (Google, Router, Telekom)
Die eingestellten Codecs sind:
| G.711 A-law | |
| G.711 U-law | |
| G722 |
| G729 |