when I get inbound calls I can here the caller but the caller can't here the callee
Other way around, making outbound calls is not a problem. Caller and callee can hear each other
=================================================================================================
Name internal
Domain Name N/A
Auto-NAT true
DBName sofia_reg_internal
Pres Hosts 10.0.200.2,10.0.200.2
Dialplan XML
Context public
Challenge Realm auto_from
RTP-IP 10.0.200.2
Ext-RTP-IP 87.157.X.X
SIP-IP 10.0.200.2
Ext-SIP-IP 87.157.X.X
URL
sip:mod_sofia@10.0.200.2:5060BIND-URL sip:mod_sofia@10.0.200.2:5060;transport=udp,tcp
WS-BIND-URL sip:mod_sofia@10.0.200.2:5066;transport=ws
WSS-BIND-URL sips:mod_sofia@10.0.200.2:7443;transport=wss
HOLD-MUSIC local_stream://moh
OUTBOUND-PROXY N/A
CODECS IN PCMA,PCMU
CODECS OUT PCMA,PCMU
TEL-EVENT 101
DTMF-MODE info
CNG 13
SESSION-TO 0
MAX-DIALOG 0
NOMEDIA false
LATE-NEG true
PROXY-MEDIA false
ZRTP-PASSTHRU true
AGGRESSIVENAT false
CALLS-IN 6
FAILED-CALLS-IN 1
CALLS-OUT 6
FAILED-CALLS-OUT 4
REGISTRATIONS 7
I only map RTP ports. SIP is registered via TCP
2018-07-04 23:12:24.905378 [DEBUG] sofia.c:7084 Channel sofia/external/+
49XXXXXXXXXX@sip-trunk.telekom.de entering state [received][100]
2018-07-04 23:12:24.905378 [DEBUG] sofia.c:7091 Duplicate SDP
v=0
o=- 0 2 IN IP4 217.0.15.67
s=on transit
c=IN IP4 217.0.132.134
t=0 0
m=audio 19394 RTP/AVP 8 100
a=rtpmap:8 PCMA/8000
a=rtpmap:100 telephone-event/8000
a=maxptime:20
a=ptime:20
2018-07-04 23:12:24.905378 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-07-04 23:12:24.905378 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2018-07-04 23:12:24.905378 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-07-04 23:12:24.905378 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 100@8000
2018-07-04 23:12:24.905378 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 100@8000
2018-07-04 23:12:24.905378 [DEBUG] switch_core_media.c:4767 sofia/external/+
49XXXXXXXXXX@sip-trunk.telekom.de Set 2833 dtmf send payload to 100 recv payload to 100
2018-07-04 23:12:24.905378 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/external/+
49XXXXXXXXXX@sip-trunk.telekom.de.
2018-07-04 23:12:24.905378 [DEBUG] sofia.c:7999 Processing updated SDP
2018-07-04 23:12:24.925380 [DEBUG] sofia.c:7084 Channel sofia/external/+
49XXXXXXXXXX@sip-trunk.telekom.de entering state [completed][200]
2018-07-04 23:12:24.945382 [DEBUG] sofia.c:7084 Channel sofia/external/+
49XXXXXXXXXX@sip-trunk.telekom.de entering state [ready][200]
2018-07-04 23:12:31.605957 [DEBUG] sofia.c:7084 Channel sofia/external/+
49XXXXXXXXXX@sip-trunk.telekom.de entering state [received][100]
2018-07-04 23:12:31.605957 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=- 0 3 IN IP4 217.0.15.67
s=on transit
c=IN IP4 217.0.132.134
t=0 0
m=audio 19394 RTP/AVP 8 100
a=rtpmap:8 PCMA/8000
a=rtpmap:100 telephone-event/8000
a=maxptime:20
a=ptime:20
2018-07-04 23:12:31.605957 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2018-07-04 23:12:31.605957 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2018-07-04 23:12:31.605957 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2018-07-04 23:12:31.605957 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 100@8000
2018-07-04 23:12:31.605957 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 100@8000
2018-07-04 23:12:31.605957 [DEBUG] switch_core_media.c:4767 sofia/external/+
49XXXXXXXXXX@sip-trunk.telekom.de Set 2833 dtmf send payload to 100 recv payload to 100
2018-07-04 23:12:31.605957 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/external/+
49XXXXXXXXXX@sip-trunk.telekom.de.
2018-07-04 23:12:31.605957 [DEBUG] sofia.c:7999 Processing updated SDP
2018-07-04 23:12:31.625959 [DEBUG] sofia.c:7084 Channel sofia/external/+
49XXXXXXXXXX@sip-trunk.telekom.de entering state [completed][200]
2018-07-04 23:12:31.665962 [DEBUG] sofia.c:7084 Channel sofia/external/+
49XXXXXXXXXX@sip-trunk.telekom.de entering state [ready][200]
I am trying for days now but google is no real help.