<div dir="ltr"><div class="gmail_extra">Hello,</div><div class="gmail_extra"><br></div><div class="gmail_extra">I currently use Freeswitch 1.6.8-1 in production, and have some ISDN gateways sending SDP including T.38 for voice calls (not faxes). Calls are handled without problems by freeswitch.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I have another platform, with freeswitch 1.6.19 and same configuration.</div><div class="gmail_extra">However, voice calls received with SDP including t.38 are rejected with 488 INCOMPATIBLE_DESTINATION :</div><div class="gmail_extra">

<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font color="#ff0000">ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_media.c:4028 sofia/internal_1/33183817938@gv-ics-prd-301 T38 REFUSE on request</font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font color="#ff0000">ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [NOTICE] sofia.c:7566 Hangup sofia/internal_1/33183817938@gv-ics-prd-301 [CS_NEW] [INCOMPATIBLE_DESTINATION]</font></div>

</div><div class="gmail_extra"><br></div><div class="gmail_extra">I didn't find any valid configuration to make those calls accepted, except configuring proxy_media, which I don't want to use.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Is this behaviour a "normal" behaviour ? Could it be a bug ?</div><div class="gmail_extra">This is a very big issue for us ...</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Here is the log extract :</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">recv 1391 bytes from udp/[10.9.30.152]:5060 at 23:47:39.443941:</div><div class="gmail_extra">   ------------------------------------------------------------------------</div><div class="gmail_extra">   INVITE <a href="http://sip:0170993660@10.9.30.188:5060">sip:0170993660@10.9.30.188:5060</a> SIP/2.0</div><div class="gmail_extra">   Record-Route: <sip:10.9.30.152;lr=on></div><div class="gmail_extra">   Record-Route: <sip:10.3.1.220;lr=on></div><div class="gmail_extra">   Via: SIP/2.0/UDP 10.9.30.152;branch=z9hG4bK51d.d7e922c4.0</div><div class="gmail_extra">   Via: SIP/2.0/UDP 10.3.1.220;branch=z9hG4bK51d.ba6f34d1.0</div><div class="gmail_extra">   Via: SIP/2.0/UDP 10.3.1.231;branch=z9hG4bKac1339541470</div><div class="gmail_extra">   Max-Forwards: 68</div><div class="gmail_extra">   From: <sip:33183817938@gv-ics-prd-301>;tag=1c1339531455</div><div class="gmail_extra">   To: <<a href="mailto:sip%3A0170993660@10.3.1.220">sip:0170993660@10.3.1.220</a>;user=phone></div><div class="gmail_extra">   Call-ID: <a href="mailto:13395229682542018214736@10.3.1.231">13395229682542018214736@10.3.1.231</a></div><div class="gmail_extra">   CSeq: 1 INVITE</div><div class="gmail_extra">   Contact: <<a href="http://sip:33183817938@10.3.1.231:5060">sip:33183817938@10.3.1.231:5060</a>></div><div class="gmail_extra">   Supported: em,100rel,timer,replaces,path,resource-priority,sdp-anat</div><div class="gmail_extra">   Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE</div><div class="gmail_extra">   Remote-Party-ID: <<a href="mailto:sip%3A33183817938@10.3.1.220">sip:33183817938@10.3.1.220</a>>;party=calling;privacy=off;screen=yes;screen-ind=3;npi=1;ton=1</div><div class="gmail_extra">   Remote-Party-ID: <<a href="mailto:sip%3A0170993660@10.3.1.220">sip:0170993660@10.3.1.220</a>>;party=called;npi=1;ton=2</div><div class="gmail_extra">   User-Agent: Audiocodes-Sip-Gateway-Mediant 3000/v.6.00A.056</div><div class="gmail_extra">   Content-Type: application/sdp</div><div class="gmail_extra">   Content-Length: 417</div><div class="gmail_extra"><br></div><div class="gmail_extra">   v=0</div><div class="gmail_extra">   o=AudiocodesGW 1339507326 1339507042 IN IP4 10.3.1.231</div><div class="gmail_extra">   s=Phone-Call</div><div class="gmail_extra">   c=IN IP4 10.3.1.231</div><div class="gmail_extra">   t=0 0</div><div class="gmail_extra">   m=audio 23970 RTP/AVP 8 101</div><div class="gmail_extra">   a=rtpmap:8 PCMA/8000</div><div class="gmail_extra">   a=rtpmap:101 telephone-event/8000</div><div class="gmail_extra">   a=fmtp:101 0-15</div><div class="gmail_extra">   a=ptime:20</div><div class="gmail_extra">   a=sendrecv</div><div class="gmail_extra">   m=image 23972 udptl t38</div><div class="gmail_extra">   a=T38FaxVersion:0</div><div class="gmail_extra">   a=T38MaxBitRate:33600</div><div class="gmail_extra">   a=T38FaxMaxBuffer:3000</div><div class="gmail_extra">   a=T38FaxMaxDatagram:560</div><div class="gmail_extra">   a=T38FaxRateManagement:transferredTCF</div><div class="gmail_extra">   a=T38FaxUdpEC:t38UDPRedundancy</div><div><br></div><div><div>   ------------------------------------------------------------------------</div><div>send 477 bytes to udp/[10.9.30.152]:5060 at 23:47:39.444372:</div><div>   ------------------------------------------------------------------------</div><div>   SIP/2.0 100 Trying</div><div>   Via: SIP/2.0/UDP 10.9.30.152;branch=z9hG4bK51d.d7e922c4.0</div><div>   Via: SIP/2.0/UDP 10.3.1.220;branch=z9hG4bK51d.ba6f34d1.0</div><div>   Via: SIP/2.0/UDP 10.3.1.231;branch=z9hG4bKac1339541470</div><div>   Record-Route: <sip:10.9.30.152;lr=on></div><div>   Record-Route: <sip:10.3.1.220;lr=on></div><div>   From: <sip:33183817938@gv-ics-prd-301>;tag=1c1339531455</div><div>   To: <<a href="mailto:sip%3A0170993660@10.3.1.220">sip:0170993660@10.3.1.220</a>;user=phone></div><div>   Call-ID: <a href="mailto:13395229682542018214736@10.3.1.231">13395229682542018214736@10.3.1.231</a></div><div>   CSeq: 1 INVITE</div><div>   User-Agent: FreeSWITCH</div><div>   Content-Length: 0</div><div><br></div><div>   ------------------------------------------------------------------------</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [NOTICE] switch_channel.c:1104 New Channel sofia/internal_1/33183817938@gv-ics-prd-301 [ba17b1eb-961d-43fe-b820-cb469a8f292d]</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_state_machine.c:584 (sofia/internal_1/33183817938@gv-ics-prd-301) Running State Change CS_NEW (Cur 1 Tot 69)</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] sofia.c:9874 sofia/internal_1/33183817938@gv-ics-prd-301 receiving invite from <a href="http://10.9.30.152:5060">10.9.30.152:5060</a> version: 1.6.19  64bit</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] sofia.c:7085 Channel sofia/internal_1/33183817938@gv-ics-prd-301 entering state [received][100]</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] sofia.c:7095 Remote SDP:</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d v=0^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d o=AudiocodesGW 1339507326 1339507042 IN IP4 10.3.1.231^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d s=Phone-Call^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d c=IN IP4 10.3.1.231^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d t=0 0^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d m=audio 23970 RTP/AVP 8 101^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d a=rtpmap:8 PCMA/8000^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d a=rtpmap:101 telephone-event/8000^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d a=fmtp:101 0-15^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d a=ptime:20^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d m=image 23972 udptl t38^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d a=T38FaxVersion:0^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d a=T38MaxBitRate:33600^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d a=T38FaxMaxBuffer:3000^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d a=T38FaxMaxDatagram:560^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d a=T38FaxRateManagement:transferredTCF^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d a=T38FaxUdpEC:t38UDPRedundancy^M</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]</div></div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match<br></div><div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_media.c:3061 Set Codec sofia/internal_1/33183817938@gv-ics-prd-301 PCMA/8000 20 ms 160 samples 64000 bits 1 channels</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_codec.c:111 sofia/internal_1/33183817938@gv-ics-prd-301 Original read codec set to PCMA:8</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_media.c:4767 sofia/internal_1/33183817938@gv-ics-prd-301 Set 2833 dtmf send payload to 101 recv payload to 101</div><div><font color="#ff0000">ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_media.c:4028 sofia/internal_1/33183817938@gv-ics-prd-301 T38 REFUSE on request</font></div><div><font color="#ff0000">ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [NOTICE] sofia.c:7566 Hangup sofia/internal_1/33183817938@gv-ics-prd-301 [CS_NEW] [INCOMPATIBLE_DESTINATION]</font></div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_state_machine.c:603 (sofia/internal_1/33183817938@gv-ics-prd-301) State NEW</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_state_machine.c:584 (sofia/internal_1/33183817938@gv-ics-prd-301) Running State Change CS_HANGUP (Cur 1 Tot 69)</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_state_machine.c:850 (sofia/internal_1/33183817938@gv-ics-prd-301) Callstate Change DOWN -> HANGUP</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_state_machine.c:852 (sofia/internal_1/33183817938@gv-ics-prd-301) State HANGUP</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] mod_sofia.c:438 Channel sofia/internal_1/33183817938@gv-ics-prd-301 hanging up, cause: INCOMPATIBLE_DESTINATION</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 488</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_state_machine.c:60 sofia/internal_1/33183817938@gv-ics-prd-301 Standard HANGUP, cause: INCOMPATIBLE_DESTINATION</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_state_machine.c:852 (sofia/internal_1/33183817938@gv-ics-prd-301) State HANGUP going to sleep</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_state_machine.c:619 (sofia/internal_1/33183817938@gv-ics-prd-301) State Change CS_HANGUP -> CS_REPORTING</div><div>ba17b1eb-961d-43fe-b820-cb469a8f292d 2018-04-25 23:47:39.434491 [DEBUG] switch_core_state_machine.c:584 (sofia/internal_1/33183817938@gv-ics-prd-301) Running State Change CS_REPORTING (Cur 1 Tot 69)</div><div>send 784 bytes to udp/[10.9.30.152]:5060 at 23:47:39.446918:</div><div>   ------------------------------------------------------------------------</div><div>   SIP/2.0 488 Not Acceptable Here</div><div>   Via: SIP/2.0/UDP 10.9.30.152;branch=z9hG4bK51d.d7e922c4.0</div><div>   Via: SIP/2.0/UDP 10.3.1.220;branch=z9hG4bK51d.ba6f34d1.0</div><div>   Via: SIP/2.0/UDP 10.3.1.231;branch=z9hG4bKac1339541470</div><div>   Max-Forwards: 68</div><div>   From: <sip:33183817938@gv-ics-prd-301>;tag=1c1339531455</div><div>   To: <<a href="mailto:sip%3A0170993660@10.3.1.220">sip:0170993660@10.3.1.220</a>;user=phone>;tag=9USNQNQDByZ6a</div><div>   Call-ID: <a href="mailto:13395229682542018214736@10.3.1.231">13395229682542018214736@10.3.1.231</a></div><div>   CSeq: 1 INVITE</div><div>   User-Agent: FreeSWITCH</div><div>   Accept: application/sdp</div><div>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFY</div><div>   Supported: timer, path, replaces</div><div>   Allow-Events: talk, hold, conference, refer</div><div>   Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"</div><div>   Content-Length: 0</div><div>   Remote-Party-ID: "0170993660" <<a href="mailto:sip%3A0170993660@10.3.1.220">sip:0170993660@10.3.1.220</a>>;party=calling;privacy=off;screen=no</div></div><div><br></div><div><br></div><div>Thanks with anticipation</div><div><br></div><div>D. Jeannerod</div></div></div>