FreePBX hinter OpnSense - Probleme mit Eingehenden Anrufen

white_fish

Neuer User
Mitglied seit
4 Okt 2024
Beiträge
1
Punkte für Reaktionen
0
Punkte
1
Hallo zusammen,

ich versuche derzeit eine FreePBX hinter einer OpnSense ans laufen zu bringen. Ausgehende Anrufe funktionieren, eingehende leider nicht.

Wie äußert sich der Fehler?

Der Anrufer erhält die folgende Ansage:
"Ihre Verbindung kann derzeit nicht hergestellt werden, bitte versuchen Sie es später noch einmal".

Interessant ist allerdings, dass das Festznetz-Telefon sogar zweimal klingelt - wenn ich in dieser Zeit den Anruf annehme, kann ich normal telefonieren. Auf der Anrufer-Seite kommt allerdings auch erstmal kein Freizeichen.

Ich vermute den Fehler in der Firewall-Konfiguration, siehe unten.

Nachfolgend habe ich versucht alle relevanten Informationen meiner Konfiguration zusammenzutragen. Herzlichen Dank an dieser Stelle für eure Unterstützung den Fehler zu finden :)


Allgemeines Setup:
O2 <--> Draytek Vigor 167 (Modem) <--> OpnSense (192.168.1.1) <--> FreePBX (192.168.1.21) <--> Gigaset N670 (192.168.1.20) <--> Gigaset S700H Pro

Reports - Asterisk Info:

Peers - PJSIP:
Code:
Endpoint:  <Endpoint/CID.....................................>  <State.....>  <Channels.>
I/OAuth:  <AuthId/UserName...........................................................>
Aor:  <Aor............................................>  <MaxContact>
Contact:  <Aor/ContactUri..........................> <Hash....> <Status> <RTT(ms)..>
Transport:  <TransportId........>  <Type>  <cos>  <tos>  <BindAddress..................>
Identify:  <Identify/Endpoint.........................................................>
Match:  <criteria.........................>
Channel:  <ChannelId......................................>  <State.....>  <Time.....>
Exten: <DialedExten...........>  CLCID: <ConnectedLineCID.......>
==========================================================================================

Endpoint:  200/200                                              Not in use    0 of inf
InAuth:  200-auth/200
Aor:  200                                                1
Contact:  200/sip:[email protected]:5060              022179f5f8 Avail         2.744

Endpoint:  300/300                                              Not in use    0 of inf
InAuth:  300-auth/300
Aor:  300                                                1
Contact:  300/sip:[email protected]:5060              b33603b88f Avail         2.608

Endpoint:  400/400                                              Not in use    0 of inf
InAuth:  400-auth/400
Aor:  400                                                1
Contact:  400/sip:[email protected]:40948            b6ad529436 Avail       635.211

Endpoint:  O2_Trunk                                             Not in use    0 of inf
OutAuth:  O2_Trunk/49<O2_PHONE_NUMBER>
Aor:  O2_Trunk                                           0
Contact:  O2_Trunk/sip:49<O2_PHONE_NUMBER>@sip.alice-voip. c8ff0c5fec Avail        16.627
Transport:  0.0.0.0-udp               udp      3     96  0.0.0.0:5060
Identify:  O2_Trunk/O2_Trunk
Match: 62.53.238.131/32
Match: 62.52.19.67/32

Endpoint:  dpma_endpoint                                        Unavailable   0 of inf


Objects found: 5

Registries - PJSIP:
Code:
<Registration/ServerURI..............................>  <Auth....................>  <Status.......>
==========================================================================================

O2_Trunk/sip:sip.alice-voip.de:5060                     O2_Trunk                    Registered        (exp. 2222s)

Objects found: 1


Asterisk Logs:
Code:
root@freepbx:~# asterisk -r
Asterisk 21.4.3, Copyright (C) 1999 - 2022, Sangoma Technologies Corporation and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 21.4.3 currently running on freepbx (pid = 1518)
<--- Received SIP request (2044 bytes) from UDP:62.53.238.131:5060 --->
INVITE sip:49<O2_PHONE_NUMBER>@<PUBLIC_IP_ADDRESS>:5060;line=nevbkbw SIP/2.0
Via: SIP/2.0/UDP 62.53.238.131:5060;oc-algo="loss";oc;rport;branch=z9hG4bKmavodi-0-264-1-6-1000000-5f110000-620a84c22c39d-405c-ffffffffffffffff-1710-3f5b0000-620a84c1de30b-148577030-6363
Max-Forwards: 68
From: "0<EXTERNAL_NUMBER>" <sip:0<EXTERNAL_NUMBER>@sip.alice-voip.de;user=phone>;tag=mavodi-__v~~vrvxrvtzzu__0-10d-1d-9-ffffffff-356e-0-0-0-1729403090-_000000000000-223a-b7cc7700-6a61e-671498d2-790
To: <sip:+49<O2_PHONE_NUMBER>;tgrp=9119;[email protected];user=phone>
Call-ID: FA163EA747B8-223a-b7cc7700-ea77f3-671498d2-64f
CSeq: 1 INVITE
Min-SE: 90
Session-Expires: 1800
Supported: tdialog,replaces,histinfo,100rel,timer
Contact: <sip:mavodi-0-266-0-6-fffffff1-b2620000-620a84c22c1ba-405c-ffffffffffffffff-@62.53.238.131:5060>;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel"
Allow: INVITE,ACK,CANCEL,BYE,REFER,INFO,NOTIFY,UPDATE,OPTIONS,MESSAGE
Record-Route: <sip:mavodi-0-266-0-6-ffffffff-b2620000-620a84c22c1ba-405c-ffffffffffffffff-mavsipodi-0-26c-1710-6-3f5b0000-620a84c1de30b-405c@62.53.238.131:5060;lr;mavsipodi-0-26c-1710-6-3f5b0000-620a84c1de30b-405c>
History-Info: <sip:+49<O2_PHONE_NUMBER>@ims.telekom.de;user=phone>;index=1
P-Asserted-Identity: "0<EXTERNAL_NUMBER>" <sip:0<EXTERNAL_NUMBER>;[email protected];user=phone>
Expires: 180
Content-Type: application/sdp
Accept-Contact: *;explicit;require
Content-Length: 593

v=0
o=ccs-0-615-6 06126132691090 39307486 IN IP4 62.53.222.131
s=SIP Media Capabilities
c=IN IP4 62.53.222.131
t=0 0
m=audio 37436 RTP/AVP 126 104 9 102 8 0 96 97
a=maxptime:40
a=ptime:20
a=sendrecv
a=rtpmap:126 EVS/16000/1
a=fmtp:126 br=5.9-24.4;bw=nb-swb;max-red=0
a=rtpmap:104 AMR-WB/16000/1
a=fmtp:104 mode-change-capability=2;max-red=0
a=rtpmap:9 G722/8000
a=rtpmap:102 AMR/8000/1
a=fmtp:102 mode-change-capability=2;max-red=0
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:96 telephone-event/16000
a=fmtp:96 0-15
a=rtpmap:97 telephone-event/8000
a=fmtp:97 0-15

<--- Transmitting SIP response (864 bytes) to UDP:62.53.238.131:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 62.53.238.131:5060;rport=5060;received=62.53.238.131;branch=z9hG4bKmavodi-0-264-1-6-1000000-5f110000-620a84c22c39d-405c-ffffffffffffffff-1710-3f5b0000-620a84c1de30b-148577030-6363;oc-algo="loss";oc
Record-Route: <sip:mavodi-0-266-0-6-ffffffff-b2620000-620a84c22c1ba-405c-ffffffffffffffff-mavsipodi-0-26c-1710-6-3f5b0000-620a84c1de30b-405c@62.53.238.131:5060;lr;mavsipodi-0-26c-1710-6-3f5b0000-620a84c1de30b-405c>
Call-ID: FA163EA747B8-223a-b7cc7700-ea77f3-671498d2-64f
From: "0<EXTERNAL_NUMBER>" <sip:0<EXTERNAL_NUMBER>@sip.alice-voip.de;user=phone>;tag=mavodi-__v~~vrvxrvtzzu__0-10d-1d-9-ffffffff-356e-0-0-0-1729403090-_000000000000-223a-b7cc7700-6a61e-671498d2-790
To: <sip:+49<O2_PHONE_NUMBER>;tgrp=9119;[email protected];user=phone>
CSeq: 1 INVITE
Server: FPBX-17.0.19.16(21.4.3)
Content-Length:  0


<--- Transmitting SIP response (1397 bytes) to UDP:62.53.238.131:5060 --->
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 62.53.238.131:5060;rport=5060;received=62.53.238.131;branch=z9hG4bKmavodi-0-264-1-6-1000000-5f110000-620a84c22c39d-405c-ffffffffffffffff-1710-3f5b0000-620a84c1de30b-148577030-6363;oc-algo="loss";oc
Record-Route: <sip:mavodi-0-266-0-6-ffffffff-b2620000-620a84c22c1ba-405c-ffffffffffffffff-mavsipodi-0-26c-1710-6-3f5b0000-620a84c1de30b-405c@62.53.238.131:5060;lr;mavsipodi-0-26c-1710-6-3f5b0000-620a84c1de30b-405c>
Call-ID: FA163EA747B8-223a-b7cc7700-ea77f3-671498d2-64f
From: "0<EXTERNAL_NUMBER>" <sip:0<EXTERNAL_NUMBER>@sip.alice-voip.de;user=phone>;tag=mavodi-__v~~vrvxrvtzzu__0-10d-1d-9-ffffffff-356e-0-0-0-1729403090-_000000000000-223a-b7cc7700-6a61e-671498d2-790
To: <sip:+49<O2_PHONE_NUMBER>;tgrp=9119;[email protected];user=phone>;tag=e9c036ac-9acc-44a5-aca7-5e72fb92788e
CSeq: 1 INVITE
Server: FPBX-17.0.19.16(21.4.3)
Contact: <sip:49<O2_PHONE_NUMBER>@<PUBLIC_IP_ADDRESS>:5060>
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO, REFER
Content-Type: application/sdp
Content-Length:   283

v=0
o=- 6126132691090 39307488 IN IP4 <PUBLIC_IP_ADDRESS>
s=Asterisk
c=IN IP4 <PUBLIC_IP_ADDRESS>
t=0 0
m=audio 15930 RTP/AVP 9 8 0 97
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:97 telephone-event/8000
a=fmtp:97 0-16
a=ptime:20
a=maxptime:140
a=sendrecv

<--- Transmitting SIP response (1397 bytes) to UDP:62.53.238.131:5060 --->
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 62.53.238.131:5060;rport=5060;received=62.53.238.131;branch=z9hG4bKmavodi-0-264-1-6-1000000-5f110000-620a84c22c39d-405c-ffffffffffffffff-1710-3f5b0000-620a84c1de30b-148577030-6363;oc-algo="loss";oc
Record-Route: <sip:mavodi-0-266-0-6-ffffffff-b2620000-620a84c22c1ba-405c-ffffffffffffffff-mavsipodi-0-26c-1710-6-3f5b0000-620a84c1de30b-405c@62.53.238.131:5060;lr;mavsipodi-0-26c-1710-6-3f5b0000-620a84c1de30b-405c>
Call-ID: FA163EA747B8-223a-b7cc7700-ea77f3-671498d2-64f
From: "0<EXTERNAL_NUMBER>" <sip:0<EXTERNAL_NUMBER>@sip.alice-voip.de;user=phone>;tag=mavodi-__v~~vrvxrvtzzu__0-10d-1d-9-ffffffff-356e-0-0-0-1729403090-_000000000000-223a-b7cc7700-6a61e-671498d2-790
To: <sip:+49<O2_PHONE_NUMBER>;tgrp=9119;[email protected];user=phone>;tag=e9c036ac-9acc-44a5-aca7-5e72fb92788e
CSeq: 1 INVITE
Server: FPBX-17.0.19.16(21.4.3)
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO, REFER
Contact: <sip:49<O2_PHONE_NUMBER>@<PUBLIC_IP_ADDRESS>:5060>
Content-Type: application/sdp
Content-Length:   283

v=0
o=- 6126132691090 39307488 IN IP4 <PUBLIC_IP_ADDRESS>
s=Asterisk
c=IN IP4 <PUBLIC_IP_ADDRESS>
t=0 0
m=audio 15930 RTP/AVP 9 8 0 97
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:97 telephone-event/8000
a=fmtp:97 0-16
a=ptime:20
a=maxptime:140
a=sendrecv

<--- Transmitting SIP request (1098 bytes) to UDP:192.168.1.20:5060 --->
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.21:5060;rport;branch=z9hG4bKPjf5deb4cb-048e-400c-afe7-6cad9b9762d6
From: "0<EXTERNAL_NUMBER>" <sip:0<EXTERNAL_NUMBER>@192.168.1.21>;tag=4c7cca8e-f64f-4c1c-a534-3648030b07f5
To: <sip:[email protected]>
Contact: <sip:[email protected]:5060>
Call-ID: bff8d68e-a2ae-4d51-8f99-70911879836f
CSeq: 2471 INVITE
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO, REFER
Supported: 100rel, timer, replaces, norefersub, histinfo
Session-Expires: 1800
Min-SE: 90
P-Asserted-Identity: "0<EXTERNAL_NUMBER>" <sip:0<EXTERNAL_NUMBER>@192.168.1.21>
Max-Forwards: 70
User-Agent: FPBX-17.0.19.16(21.4.3)
Content-Type: application/sdp
Content-Length:   339

v=0
o=- 1528046132 1528046132 IN IP4 192.168.1.21
s=Asterisk
c=IN IP4 192.168.1.21
t=0 0
m=audio 11930 RTP/AVP 9 8 0 3 111 101
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:140
a=sendrecv

<--- Received SIP response (424 bytes) from UDP:192.168.1.20:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.21:5060;rport=5060;received=192.168.1.21;branch=z9hG4bKPjf5deb4cb-048e-400c-afe7-6cad9b9762d6
Call-ID: bff8d68e-a2ae-4d51-8f99-70911879836f
From: "0<EXTERNAL_NUMBER>" <sip:0<EXTERNAL_NUMBER>@192.168.1.21>;tag=4c7cca8e-f64f-4c1c-a534-3648030b07f5
To: <sip:[email protected]>
CSeq: 2471 INVITE
User-Agent: Gigaset N670 IP PRO/83.V2.59.0+build.98b76fd;589EC6119D47
Content-Length:  0


<--- Received SIP response (595 bytes) from UDP:192.168.1.20:5060 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.1.21:5060;rport=5060;received=192.168.1.21;branch=z9hG4bKPjf5deb4cb-048e-400c-afe7-6cad9b9762d6
Call-ID: bff8d68e-a2ae-4d51-8f99-70911879836f
From: "0<EXTERNAL_NUMBER>" <sip:0<EXTERNAL_NUMBER>@192.168.1.21>;tag=4c7cca8e-f64f-4c1c-a534-3648030b07f5
To: <sip:[email protected]>;tag=2f4a6d73-0888-4523-b0ff-938b3a3281e6
CSeq: 2471 INVITE
User-Agent: Gigaset N670 IP PRO/83.V2.59.0+build.98b76fd;589EC6119D47
Contact: <sip:[email protected]:5060>
Allow: SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE, OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE
Content-Length:  0


<--- Transmitting SIP response (1397 bytes) to UDP:62.53.238.131:5060 --->
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 62.53.238.131:5060;rport=5060;received=62.53.238.131;branch=z9hG4bKmavodi-0-264-1-6-1000000-5f110000-620a84c22c39d-405c-ffffffffffffffff-1710-3f5b0000-620a84c1de30b-148577030-6363;oc-algo="loss";oc
Record-Route: <sip:mavodi-0-266-0-6-ffffffff-b2620000-620a84c22c1ba-405c-ffffffffffffffff-mavsipodi-0-26c-1710-6-3f5b0000-620a84c1de30b-405c@62.53.238.131:5060;lr;mavsipodi-0-26c-1710-6-3f5b0000-620a84c1de30b-405c>
Call-ID: FA163EA747B8-223a-b7cc7700-ea77f3-671498d2-64f
From: "0<EXTERNAL_NUMBER>" <sip:0<EXTERNAL_NUMBER>@sip.alice-voip.de;user=phone>;tag=mavodi-__v~~vrvxrvtzzu__0-10d-1d-9-ffffffff-356e-0-0-0-1729403090-_000000000000-223a-b7cc7700-6a61e-671498d2-790
To: <sip:+49<O2_PHONE_NUMBER>;tgrp=9119;[email protected];user=phone>;tag=e9c036ac-9acc-44a5-aca7-5e72fb92788e
CSeq: 1 INVITE
Server: FPBX-17.0.19.16(21.4.3)
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO, REFER
Contact: <sip:49<O2_PHONE_NUMBER>@<PUBLIC_IP_ADDRESS>:5060>
Content-Type: application/sdp
Content-Length:   283

v=0
o=- 6126132691090 39307488 IN IP4 <PUBLIC_IP_ADDRESS>
s=Asterisk
c=IN IP4 <PUBLIC_IP_ADDRESS>
t=0 0
m=audio 15930 RTP/AVP 9 8 0 97
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:97 telephone-event/8000
a=fmtp:97 0-16
a=ptime:20
a=maxptime:140
a=sendrecv

<--- Transmitting SIP request (420 bytes) to UDP:192.168.1.20:5060 --->
OPTIONS sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.21:5060;rport;branch=z9hG4bKPj51e87ad4-cc4d-4198-ade1-3c263e6d5c3f
From: <sip:[email protected]>;tag=5e4ffc84-101e-4271-b2be-09ec325755b3
To: <sip:[email protected]>
Contact: <sip:[email protected]:5060>
Call-ID: 7ec7635e-045d-4df1-87de-b0bc29e44845
CSeq: 46973 OPTIONS
Max-Forwards: 70
User-Agent: FPBX-17.0.19.16(21.4.3)
Content-Length:  0


<--- Received SIP response (966 bytes) from UDP:192.168.1.20:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.21:5060;rport=5060;received=192.168.1.21;branch=z9hG4bKPj51e87ad4-cc4d-4198-ade1-3c263e6d5c3f
Call-ID: 7ec7635e-045d-4df1-87de-b0bc29e44845
From: <sip:[email protected]>;tag=5e4ffc84-101e-4271-b2be-09ec325755b3
To: <sip:[email protected]>;tag=z9hG4bKPj51e87ad4-cc4d-4198-ade1-3c263e6d5c3f
CSeq: 46973 OPTIONS
Allow: SUBSCRIBE, NOTIFY, PRACK, REFER, INFO, MESSAGE, OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE
Accept: message/sipfrag;version=2.0, application/pidf+xml, application/xpidf+xml, application/simple-message-summary, application/call-completion, CCBS, CCNR, application/dialog-info+xml, application/x-as-feature-event+xml, multipart/mixed, text/plain, application/sdp
Supported: 100rel, replaces, timer, eventlist
Allow-Events: refer, presence, message-summary, call-completion, CCBS, CCNR, dialog, as-feature-event
User-Agent: Gigaset N670 IP PRO/83.V2.59.0+build.98b76fd;589EC6119D47
Content-Length:  0


<--- Received SIP request (716 bytes) from UDP:62.53.238.131:5060 --->
CANCEL sip:49<O2_PHONE_NUMBER>@<PUBLIC_IP_ADDRESS>:5060;line=nevbkbw SIP/2.0
Via: SIP/2.0/UDP 62.53.238.131:5060;oc-algo="loss";oc;rport;branch=z9hG4bKmavodi-0-264-1-6-1000000-5f110000-620a84c22c39d-405c-ffffffffffffffff-1710-3f5b0000-620a84c1de30b-148577030-6363
Max-Forwards: 70
From: "0<EXTERNAL_NUMBER>" <sip:+49<EXTERNAL_NUMBER>@sip.alice-voip.de;user=phone>;tag=mavodi-__v~~vrvxrvtzzu__0-10d-1d-9-ffffffff-356e-0-0-0-1729403090-_000000000000-223a-b7cc7700-6a61e-671498d2-790
To: <sip:+49<O2_PHONE_NUMBER>;tgrp=9119;[email protected];user=phone>
Call-ID: FA163EA747B8-223a-b7cc7700-ea77f3-671498d2-64f
CSeq: 1 CANCEL
Supported: timer
Reason: SIP;cause=480;text="CC_NOT_REACHABLE"
Content-Length: 0


<--- Transmitting SIP response (687 bytes) to UDP:62.53.238.131:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 62.53.238.131:5060;rport=5060;received=62.53.238.131;branch=z9hG4bKmavodi-0-264-1-6-1000000-5f110000-620a84c22c39d-405c-ffffffffffffffff-1710-3f5b0000-620a84c1de30b-148577030-6363;oc-algo="loss";oc
Call-ID: FA163EA747B8-223a-b7cc7700-ea77f3-671498d2-64f
From: "0<EXTERNAL_NUMBER>" <sip:+49<EXTERNAL_NUMBER>@sip.alice-voip.de;user=phone>;tag=mavodi-__v~~vrvxrvtzzu__0-10d-1d-9-ffffffff-356e-0-0-0-1729403090-_000000000000-223a-b7cc7700-6a61e-671498d2-790
To: <sip:+49<O2_PHONE_NUMBER>;tgrp=9119;[email protected];user=phone>;tag=e9c036ac-9acc-44a5-aca7-5e72fb92788e
CSeq: 1 CANCEL
Server: FPBX-17.0.19.16(21.4.3)
Content-Length:  0


<--- Transmitting SIP response (1034 bytes) to UDP:62.53.238.131:5060 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 62.53.238.131:5060;rport=5060;received=62.53.238.131;branch=z9hG4bKmavodi-0-264-1-6-1000000-5f110000-620a84c22c39d-405c-ffffffffffffffff-1710-3f5b0000-620a84c1de30b-148577030-6363;oc-algo="loss";oc
Record-Route: <sip:mavodi-0-266-0-6-ffffffff-b2620000-620a84c22c1ba-405c-ffffffffffffffff-mavsipodi-0-26c-1710-6-3f5b0000-620a84c1de30b-405c@62.53.238.131:5060;lr;mavsipodi-0-26c-1710-6-3f5b0000-620a84c1de30b-405c>
Call-ID: FA163EA747B8-223a-b7cc7700-ea77f3-671498d2-64f
From: "0<EXTERNAL_NUMBER>" <sip:0<EXTERNAL_NUMBER>@sip.alice-voip.de;user=phone>;tag=mavodi-__v~~vrvxrvtzzu__0-10d-1d-9-ffffffff-356e-0-0-0-1729403090-_000000000000-223a-b7cc7700-6a61e-671498d2-790
To: <sip:+49<O2_PHONE_NUMBER>;tgrp=9119;[email protected];user=phone>;tag=e9c036ac-9acc-44a5-aca7-5e72fb92788e
CSeq: 1 INVITE
Server: FPBX-17.0.19.16(21.4.3)
Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO, REFER
Content-Length:  0


<--- Received SIP request (854 bytes) from UDP:62.53.238.131:5060 --->
ACK sip:49<O2_PHONE_NUMBER>@<PUBLIC_IP_ADDRESS>:5060;line=nevbkbw SIP/2.0
Via: SIP/2.0/UDP 62.53.238.131:5060;oc-algo="loss";oc;rport;branch=z9hG4bKmavodi-0-264-1-6-1000000-5f110000-620a84c22c39d-405c-ffffffffffffffff-1710-3f5b0000-620a84c1de30b-148577030-6363
Max-Forwards: 70
From: "0<EXTERNAL_NUMBER>" <sip:+49<EXTERNAL_NUMBER>@sip.alice-voip.de;user=phone>;tag=mavodi-__v~~vrvxrvtzzu__0-10d-1d-9-ffffffff-356e-0-0-0-1729403090-_000000000000-223a-b7cc7700-6a61e-671498d2-790
To: <sip:+49<O2_PHONE_NUMBER>;tgrp=9119;[email protected];user=phone>;tag=e9c036ac-9acc-44a5-aca7-5e72fb92788e
Call-ID: FA163EA747B8-223a-b7cc7700-ea77f3-671498d2-64f
CSeq: 1 ACK
Contact: <sip:mavodi-0-266-0-6-fffffff1-b2620000-620a84c22c1ba-405c-ffffffffffffffff-@62.53.238.131:5060>;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel"
Content-Length: 0


<--- Transmitting SIP request (427 bytes) to UDP:192.168.1.20:5060 --->
CANCEL sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.21:5060;rport;branch=z9hG4bKPjf5deb4cb-048e-400c-afe7-6cad9b9762d6
From: "0<EXTERNAL_NUMBER>" <sip:0<EXTERNAL_NUMBER>@192.168.1.21>;tag=4c7cca8e-f64f-4c1c-a534-3648030b07f5
To: <sip:[email protected]>
Call-ID: bff8d68e-a2ae-4d51-8f99-70911879836f
CSeq: 2471 CANCEL
Reason: Q.850;cause=19
Max-Forwards: 70
User-Agent: FPBX-17.0.19.16(21.4.3)
Content-Length:  0


<--- Received SIP response (390 bytes) from UDP:192.168.1.20:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.21:5060;rport=5060;received=192.168.1.21;branch=z9hG4bKPjf5deb4cb-048e-400c-afe7-6cad9b9762d6
Call-ID: bff8d68e-a2ae-4d51-8f99-70911879836f
From: "0<EXTERNAL_NUMBER>" <sip:0<EXTERNAL_NUMBER>@192.168.1.21>;tag=4c7cca8e-f64f-4c1c-a534-3648030b07f5
To: <sip:[email protected]>;tag=2f4a6d73-0888-4523-b0ff-938b3a3281e6
CSeq: 2471 CANCEL
Content-Length:  0


<--- Received SIP response (568 bytes) from UDP:192.168.1.20:5060 --->
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.1.21:5060;rport=5060;received=192.168.1.21;branch=z9hG4bKPjf5deb4cb-048e-400c-afe7-6cad9b9762d6
Call-ID: bff8d68e-a2ae-4d51-8f99-70911879836f
From: "0<EXTERNAL_NUMBER>" <sip:0<EXTERNAL_NUMBER>@192.168.1.21>;tag=4c7cca8e-f64f-4c1c-a534-3648030b07f5
To: <sip:[email protected]>;tag=2f4a6d73-0888-4523-b0ff-938b3a3281e6
CSeq: 2471 INVITE
User-Agent: Gigaset N670 IP PRO/83.V2.59.0+build.98b76fd;589EC6119D47
Allow: SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE, OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE
Content-Length:  0


<--- Transmitting SIP request (438 bytes) to UDP:192.168.1.20:5060 --->
ACK sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.21:5060;rport;branch=z9hG4bKPjf5deb4cb-048e-400c-afe7-6cad9b9762d6
From: "0<EXTERNAL_NUMBER>" <sip:0<EXTERNAL_NUMBER>@192.168.1.21>;tag=4c7cca8e-f64f-4c1c-a534-3648030b07f5
To: <sip:[email protected]>;tag=2f4a6d73-0888-4523-b0ff-938b3a3281e6
Call-ID: bff8d68e-a2ae-4d51-8f99-70911879836f
CSeq: 2471 ACK
Max-Forwards: 70
User-Agent: FPBX-17.0.19.16(21.4.3)
Content-Length:  0
Hinweis: Persönliche Daten habe ich mit Platzhaltern <EXTERNAL_NUMBER>, <O2_PHONE_NUMBER> und <PUBLIC_IP_ADDRESS> ersetzt.

OpnSense Konfiguration:
Outbound NAT Regel:

Outbound NAT.png

Port Forward:

1729402941988.png

VOIP_Ports Alias:
1729401403433.png


FreePBX Konfiguration:
(SIP-Einstellungen auf Basis dieser Anleitung: https://www.hohenleitner.it/blog/sip-einstellungen-o2/)

Trunk:
1729401632730.png
1729401723401.png
1729401776924.png
...
1729401822652.png

Asterisk SIP Settings:
1729402034721.png

1729402110304.png


Inbound Route:
1729401945936.png

Bild(er) als Vorschaubild(er) (siehe https://www.ip-phone-forum.de/threads/ip-phone-forum-regeln.297224/ ) eingebunden by stoney
 
Zuletzt bearbeitet von einem Moderator:
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.