<div dir="ltr"><div>Hi,</div><div><br></div><div>when I get inbound calls I can here the caller but the caller can't here the callee</div><div>Other way around, making outbound calls is not a problem. Caller and callee can hear each other<br></div><div><br></div><div>(My Setup) Phone -> FS -> NAT -> Gateway</div><div><br></div><div>
<div class="gmail-container" title="Hint: double-click to select code"><div class="gmail-line gmail-number1 gmail-index0 gmail-alt2"><code class="gmail-xml gmail-plain"><</code><code class="gmail-xml gmail-keyword">param</code> <code class="gmail-xml gmail-color1">name</code><code class="gmail-xml gmail-plain">=</code><code class="gmail-xml gmail-string">"ext-rtp-ip"</code> <code class="gmail-xml gmail-color1">value</code><code class="gmail-xml gmail-plain">=</code><code class="gmail-xml gmail-string">"auto-nat"</code><code class="gmail-xml gmail-plain">/></code></div><div class="gmail-line gmail-number2 gmail-index1 gmail-alt1"><code class="gmail-xml gmail-plain"><</code><code class="gmail-xml gmail-keyword">param</code> <code class="gmail-xml gmail-color1">name</code><code class="gmail-xml gmail-plain">=</code><code class="gmail-xml gmail-string">"ext-sip-ip"</code> <code class="gmail-xml gmail-color1">value</code><code class="gmail-xml gmail-plain">=</code><code class="gmail-xml gmail-string">"auto-nat"</code><code class="gmail-xml gmail-plain">/></code></div></div>
</div><div><br></div><div>
What's the problem? </div><div><br></div><div> Name Type Data State<br>=================================================================================================<br> 10.0.200.2 alias internal ALIASED<br> external profile <a href="http://sip:mod_sofia@10.0.200.2:5080">sip:mod_sofia@10.0.200.2:5080</a> RUNNING (0)<br>external::<a href="http://sip-trunk.telekom.de">sip-trunk.telekom.de</a> gateway <a href="mailto:sip%3AXXXXXXXXXXXX@sip-trunk.telekom.de">sip:XXXXXXXXXXXX@sip-trunk.telekom.de</a> REGED<br> internal profile <a href="http://sip:mod_sofia@10.0.200.2:5060">sip:mod_sofia@10.0.200.2:5060</a> RUNNING (0)<br>=================================================================================================<br><br></div><div>sofia status profile internal</div><div><br></div><div><br></div><div>=================================================================================================<br>Name internal<br>Domain Name N/A<br>Auto-NAT true<br>DBName sofia_reg_internal<br>Pres Hosts 10.0.200.2,10.0.200.2<br>Dialplan XML<br>Context public<br>Challenge Realm auto_from<br>RTP-IP 10.0.200.2<br>Ext-RTP-IP 87.157.X.X<br>SIP-IP 10.0.200.2<br>Ext-SIP-IP 87.157.X.X<br>URL <a href="http://sip:mod_sofia@10.0.200.2:5060">sip:mod_sofia@10.0.200.2:5060</a><br>BIND-URL sip:mod_sofia@10.0.200.2:5060;transport=udp,tcp<br>WS-BIND-URL sip:mod_sofia@10.0.200.2:5066;transport=ws<br>WSS-BIND-URL sips:mod_sofia@10.0.200.2:7443;transport=wss<br>HOLD-MUSIC local_stream://moh<br>OUTBOUND-PROXY N/A<br>CODECS IN PCMA,PCMU<br>CODECS OUT PCMA,PCMU<br>TEL-EVENT 101<br>DTMF-MODE info<br>CNG 13<br>SESSION-TO 0<br>MAX-DIALOG 0<br>NOMEDIA false<br>LATE-NEG true<br>PROXY-MEDIA false<br>ZRTP-PASSTHRU true<br>AGGRESSIVENAT false<br>CALLS-IN 6<br>FAILED-CALLS-IN 1<br>CALLS-OUT 6<br>FAILED-CALLS-OUT 4<br>REGISTRATIONS 7</div><div><br></div><div><br></div><div>sofia status profile external</div><div><br></div><div><br>=================================================================================================<br>Name external<br>Domain Name N/A<br>Auto-NAT true<br>DBName sofia_reg_external<br>Pres Hosts<br>Dialplan XML<br>Context public<br>Challenge Realm auto_to<br>RTP-IP 10.0.200.2<br>Ext-RTP-IP 87.157.X.X<br>SIP-IP 10.0.200.2<br>Ext-SIP-IP 87.157.X.X<br>URL <a href="http://sip:mod_sofia@10.0.200.2:5080">sip:mod_sofia@10.0.200.2:5080</a><br>BIND-URL sip:mod_sofia@10.0.200.2:5080;transport=udp,tcp<br>HOLD-MUSIC local_stream://moh<br>OUTBOUND-PROXY N/A<br>CODECS IN PCMA,PCMU<br>CODECS OUT PCMA,PCMU<br>TEL-EVENT 101<br>DTMF-MODE rfc2833<br>CNG 13<br>SESSION-TO 0<br>MAX-DIALOG 0<br>NOMEDIA false<br>LATE-NEG true<br>PROXY-MEDIA false<br>ZRTP-PASSTHRU true<br>AGGRESSIVENAT false<br>CALLS-IN 3<br>FAILED-CALLS-IN 1<br>CALLS-OUT 2<br>FAILED-CALLS-OUT 0<br>REGISTRATIONS 0<br></div><div><br></div><div>nat_map status</div><div><br></div><div>Nat Type: NAT-PMP, ExtIP: 87.157.68.118<br>NAT port mapping enabled.<br></div><div><br></div><div>I only map RTP ports. SIP is registered via TCP<br></div><div><br></div><div><br></div><div><br></div><div>Console debug level 7</div><div><br></div><div>2018-07-04 23:12:24.905378 [DEBUG] sofia.c:7084 Channel sofia/external/+<a href="mailto:49XXXXXXXXXX@sip-trunk.telekom.de">49XXXXXXXXXX@sip-trunk.telekom.de</a> entering state [received][100]<br>2018-07-04 23:12:24.905378 [DEBUG] sofia.c:7091 Duplicate SDP<br>v=0<br>o=- 0 2 IN IP4 217.0.15.67<br>s=on transit<br>c=IN IP4 217.0.132.134<br>t=0 0<br>m=audio 19394 RTP/AVP 8 100<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:100 telephone-event/8000<br>a=maxptime:20<br>a=ptime:20<br><br>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]<br>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<br>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]<br>2018-07-04 23:12:24.905378 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 100@8000<br>2018-07-04 23:12:24.905378 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 100@8000<br>2018-07-04 23:12:24.905378 [DEBUG] switch_core_media.c:4767 sofia/external/+<a href="mailto:49XXXXXXXXXX@sip-trunk.telekom.de">49XXXXXXXXXX@sip-trunk.telekom.de</a> Set 2833 dtmf send payload to 100 recv payload to 100<br>2018-07-04 23:12:24.905378 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/external/+<a href="mailto:49XXXXXXXXXX@sip-trunk.telekom.de">49XXXXXXXXXX@sip-trunk.telekom.de</a>.<br>2018-07-04 23:12:24.905378 [DEBUG] sofia.c:7999 Processing updated SDP<br>2018-07-04 23:12:24.925380 [DEBUG] sofia.c:7084 Channel sofia/external/+<a href="mailto:49XXXXXXXXXX@sip-trunk.telekom.de">49XXXXXXXXXX@sip-trunk.telekom.de</a> entering state [completed][200]<br>2018-07-04 23:12:24.945382 [DEBUG] sofia.c:7084 Channel sofia/external/+<a href="mailto:49XXXXXXXXXX@sip-trunk.telekom.de">49XXXXXXXXXX@sip-trunk.telekom.de</a> entering state [ready][200]<br>2018-07-04 23:12:31.605957 [DEBUG] sofia.c:7084 Channel sofia/external/+<a href="mailto:49XXXXXXXXXX@sip-trunk.telekom.de">49XXXXXXXXXX@sip-trunk.telekom.de</a> entering state [received][100]<br>2018-07-04 23:12:31.605957 [DEBUG] sofia.c:7094 Remote SDP:<br>v=0<br>o=- 0 3 IN IP4 217.0.15.67<br>s=on transit<br>c=IN IP4 217.0.132.134<br>t=0 0<br>m=audio 19394 RTP/AVP 8 100<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:100 telephone-event/8000<br>a=maxptime:20<br>a=ptime:20<br><br>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]<br>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<br>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]<br>2018-07-04 23:12:31.605957 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 100@8000<br>2018-07-04 23:12:31.605957 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 100@8000<br>2018-07-04 23:12:31.605957 [DEBUG] switch_core_media.c:4767 sofia/external/+<a href="mailto:49XXXXXXXXXX@sip-trunk.telekom.de">49XXXXXXXXXX@sip-trunk.telekom.de</a> Set 2833 dtmf send payload to 100 recv payload to 100<br>2018-07-04 23:12:31.605957 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/external/+<a href="mailto:49XXXXXXXXXX@sip-trunk.telekom.de">49XXXXXXXXXX@sip-trunk.telekom.de</a>.<br>2018-07-04 23:12:31.605957 [DEBUG] sofia.c:7999 Processing updated SDP<br>2018-07-04 23:12:31.625959 [DEBUG] sofia.c:7084 Channel sofia/external/+<a href="mailto:49XXXXXXXXXX@sip-trunk.telekom.de">49XXXXXXXXXX@sip-trunk.telekom.de</a> entering state [completed][200]<br>2018-07-04 23:12:31.665962 [DEBUG] sofia.c:7084 Channel sofia/external/+<a href="mailto:49XXXXXXXXXX@sip-trunk.telekom.de">49XXXXXXXXXX@sip-trunk.telekom.de</a> entering state [ready][200]<br><br></div><div><br></div><div>I am trying for days now but google is no real help. <br></div><div><br></div><div>Regards,</div><div>Paul<br></div><div><br></div><div><br></div></div>