<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
I have a strange phenomenon with a phone (snomM700 DECT) behind NAT:<br>
<ul>
<li>phone 43 is ringing (local IP is 192.168.0.56, remote IP is
195.71.aaa.bbb (anonymized)<br>
</li>
<li>phone 43 is answering the call</li>
<li>we immediately get [USER_NOT_REGISTERED]</li>
</ul>
Register string is as follows<br>
<tt><a class="moz-txt-link-rfc2396E" href="mailto:sip:43@192.168.0.56:15060;line=7045;fs_nat=yes;fs_path=sip:43@195.71.aaa.bbb:5060;line=7045"><sip:43@192.168.0.56:1506
0;line=7045;fs_nat=yes;fs_path=sip:43@195.71.aaa.bbb:5060;line=7045></a><br>
</tt><br>
Here is the Freeswitch log starting with phone's SDP<tt>:<br>
<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] sofia.c:6760 Remote SDP:<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce v=0<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce o=43 4408 4408 IN IP4
195.71.aaa.bbb<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce s=-<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce c=IN IP4 195.71.aaa.bbb<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce t=0 0<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce a=sendrecv<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce m=audio 50030 RTP/AVP 8<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce a=rtpmap:8 PCMA/8000<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce a=ptime:20<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce a=maxptime:80<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce a=rtcp:50031<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce <br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] sofia.c:6750 Channel <a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/43@192.168.0.56:15060">sofia/internal/43@192.168.0.56:15060</a>
entering state [ready][200]<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] switch_core_media.c:4150 Audio Codec Compare
[PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] switch_core_media.c:4205 Audio Codec Compare
[PCMA:8:8000:20:64000:1] ++++ is saved as a match<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] switch_core_media.c:4150 Audio Codec Compare
[PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] switch_core_media.c:4150 Audio Codec Compare
[PCMA:8:8000:20:64000:1]/[SPEEX:99:8000:20:24600:1]<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] switch_core_media.c:4150 Audio Codec Compare
[PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1]<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] switch_core_media.c:4150 Audio Codec Compare
[PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] switch_core_media.c:2897 Set Codec
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/43@192.168.0.56:15060">sofia/internal/43@192.168.0.56:15060</a> PCMA/8000 20 ms 160 samples
64000 bits 1 channels<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] switch_core_codec.c:111
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/43@192.168.0.56:15060">sofia/internal/43@192.168.0.56:15060</a> Original read codec set to
PCMA:8<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] switch_core_media.c:4472 No 2833 in SDP. Disable 2833
dtmf and switch to INFO<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] switch_core_media.c:6019 AUDIO RTP
[<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/43@192.168.0.56:15060">sofia/internal/43@192.168.0.56:15060</a>] 144.76.47.185 port 12664
-> 195.71.aaa.bbb port 50030 codec: 8 ms: 20<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] switch_rtp.c:3753 Starting timer [soft] 160 bytes per 20ms<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] switch_core_media.c:6237 Activating RTCP PORT 50031<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] switch_rtp.c:4132 RTCP send rate is: 5000 and packet rate
is: 20000 Remote Port: 50031<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] switch_rtp.c:2443 Setting RTCP remote addr to
195.71.aaa.bbb:50031 2<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[DEBUG] switch_core_media.c:6348
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/43@192.168.0.56:15060">sofia/internal/43@192.168.0.56:15060</a> Set rtp dtmf delay to 40<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.585575
[NOTICE] sofia.c:7714 Channel
[<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/43@192.168.0.56:15060">sofia/internal/43@192.168.0.56:15060</a>] has been answered<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.605579
[DEBUG] switch_channel.c:3757
(<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/43@192.168.0.56:15060">sofia/internal/43@192.168.0.56:15060</a>) Callstate Change RINGING
-> ACTIVE<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.625571
[NOTICE] switch_ivr_bridge.c:1416 Hangup
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/43@192.168.0.56:15060">sofia/internal/43@192.168.0.56:15060</a> [CS_CONSUME_MEDIA]
[USER_NOT_REGISTERED]<br>
3c74476e-1ce3-46d0-874d-e75bbebce8ce 2015-11-19 15:46:38.625571
[DEBUG] switch_ivr_bridge.c:1689
<a class="moz-txt-link-abbreviated" href="mailto:sofia/internal/43@192.168.0.56:15060">sofia/internal/43@192.168.0.56:15060</a> skip receive message
[UNBRIDGE] (channel is hungup already)</tt><br>
<br>
Anybody has a clue where this may come from? Freeswitch is rather
new (from 03-Nov-2015).<br>
<br>
<pre class="moz-signature" cols="72">--
With kind regards
Peter Steinbach
Telefaks Services GmbH
<a class="moz-txt-link-freetext" href="mailto:lists">mailto:lists</a> (att) telefaks.de
Internet: <a class="moz-txt-link-abbreviated" href="http://www.telefaks.de">www.telefaks.de</a>
</pre>
</body>
</html>