<div dir="ltr">Hi<div>After hours of testing I found that the problem is related to codecs! I set the codec to only PCMA and everything works :) I donno why. I hope this is useful for someone else.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 10, 2017 at 9:36 AM, Babak Yakhchali <span dir="ltr"><<a href="mailto:babak.freeswitch@gmail.com" target="_blank">babak.freeswitch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I switched to Freeswitch version1.2.24+git~<wbr>20150504T151740Z~da04da87df~<wbr>64bit and now everything is working!!!!<div>. I think the problem is with this line in SDP:</div><div><b>a=rtpmap:0 PCMU/8000</b></div><div><b><br></b></div><div>This is the working invite<br><div><br></div><div><div>INVITE <a href="mailto:sip%3A09127006837@10.10.10.3" target="_blank">sip:09127006837@10.10.10.3</a> SIP/2.0</div><div>   Via: SIP/2.0/UDP 10.10.10.4;rport;branch=<wbr>z9hG4bKUDaHF6g2ZcSZm</div><div>   Max-Forwards: 69</div><div>   From: "100" <<a href="mailto:sip%3A74413@10.10.10.3" target="_blank">sip:74413@10.10.10.3</a>>;tag=<wbr>FF2ryU4pDQ7ac</div><div>   To: <<a href="mailto:sip%3A09127006837@10.10.10.3" target="_blank">sip:09127006837@10.10.10.3</a>></div><div>   Call-ID: 788f5327-98ad-1235-9fa7-<wbr>00505698455d</div><div>   CSeq: 105584769 INVITE</div><span class=""><div>   Contact: <<a href="mailto:sip%3Agw%2Btrunk_1@10.10.10.4">sip:gw+trunk_1@10.10.10.4</a>:<wbr>5060;transport=udp;gw=trunk_1></div><div>   User-Agent: FreeSWITCH</div></span><span class=""><div>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY</div><div>   Supported: timer, path, replaces</div><div>   Allow-Events: talk, hold, conference, refer</div><div>   Content-Type: application/sdp</div><div>   Content-Disposition: session</div></span><div>   Content-Length: 201</div><span class=""><div>   X-FS-Support: update_display,send_info</div><div>   Remote-Party-ID: "100" <<a href="mailto:sip%3A100@10.10.10.3" target="_blank">sip:100@10.10.10.3</a>>;party=<wbr>calling;screen=yes;privacy=off</div><div><br></div><div>   v=0</div></span><div>   o=FreeSWITCH 1491809308 1491809309 IN IP4 10.10.10.4</div><span class=""><div>   s=FreeSWITCH</div><div>   c=IN IP4 10.10.10.4</div><div>   t=0 0</div></span><div>   m=audio 32358 RTP/AVP 0 8 101 13</div><span class=""><div>   a=rtpmap:101 telephone-event/8000</div><div>   a=fmtp:101 0-16</div></span><div>   a=ptime:20</div></div><div><br></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 8, 2017 at 4:40 PM, Vallimamod Abdullah <span dir="ltr"><<a href="mailto:vma@vallimamod.org" target="_blank">vma@vallimamod.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Then you should definitely check on the SoftX3000 side.<br>
<span class="m_-8086269762394816366im m_-8086269762394816366HOEnZb"><br>
Best Regards,<br>
--<br>
Vallimamod Abdullah<br>
SIP Solutions<br>
<a href="mailto:vma@sipsolutions.fr" target="_blank">vma@sipsolutions.fr</a><br>
.<br>
<br>
</span><div class="m_-8086269762394816366HOEnZb"><div class="m_-8086269762394816366h5">> On 8 Apr 2017, at 13:47, Babak Yakhchali <<a href="mailto:babak.freeswitch@gmail.com" target="_blank">babak.freeswitch@gmail.com</a>> wrote:<br>
><br>
> tried it.... but it seems the problem is not related to silence suppression<br>
><br>
> I donno why this is hapening ...<br>
><br>
>  Warning: 399 - "SoftX3000 R601-CCU Rel POS:[3103] Release from CR"<br>
>   Reason: Q.850;cause=98;text="Message not compatible with call state or message type non-existent or not implemented"<br>
><br>
><br>
> On Sat, Apr 8, 2017 at 3:34 PM, Vallimamod Abdullah <<a href="mailto:vma@vallimamod.org" target="_blank">vma@vallimamod.org</a>> wrote:<br>
> Hi,<br>
><br>
> After a look in the source code, it seems that it is either CN or silenceSupp:off, no other choice as the latter is pretty standard.<br>
> If you are compiling from sources, you can make a quick patch by commenting out the 2 lines with "a=silenceSupp:off" in switch_core_media.c (not tested.)<br>
><br>
> Best Regards,<br>
> --<br>
> Vallimamod Abdullah<br>
> SIP Solutions<br>
> <a href="mailto:vma@sipsolutions.fr" target="_blank">vma@sipsolutions.fr</a><br>
> .<br>
><br>
> > On 8 Apr 2017, at 12:26, Babak Yakhchali <<a href="mailto:babak.freeswitch@gmail.com" target="_blank">babak.freeswitch@gmail.com</a>> wrote:<br>
> ><br>
> > thank<br>
> > doing so rsults in :<br>
> >  a=fmtp:101 0-16<br>
> >  a=silenceSupp:off - - - -<br>
> >  a=ptime:20<br>
> > it seems SoftX3000 has problems with any silence related config.. I need a way to remove any silence related parameter in sdp<br>
> ><br>
> ><br>
> > On Sat, Apr 8, 2017 at 2:48 PM, Vallimamod Abdullah <<a href="mailto:vma@vallimamod.org" target="_blank">vma@vallimamod.org</a>> wrote:<br>
> > Hi,<br>
> ><br>
> > It is for comfort noise generation. You can set suppress_cng channel var or suppress-cng profile param to true to disable it.<br>
> ><br>
> > Best Regards,<br>
> > --<br>
> > Vallimamod Abdullah<br>
> > SIP Solutions<br>
> > <a href="mailto:vma@sipsolutions.fr" target="_blank">vma@sipsolutions.fr</a><br>
> > .<br>
> ><br>
> > > On 8 Apr 2017, at 12:08, Babak Yakhchali <<a href="mailto:babak.freeswitch@gmail.com" target="_blank">babak.freeswitch@gmail.com</a>> wrote:<br>
> > ><br>
> > > As I searched more it seems the problem is with this line:<br>
> > > a=rtpmap:13 CN/8000<br>
> > > how can I remove this?<br>
> > ><br>
> > > On Sat, Apr 8, 2017 at 1:48 PM, Babak Yakhchali <<a href="mailto:babak.freeswitch@gmail.com" target="_blank">babak.freeswitch@gmail.com</a>> wrote:<br>
> > > Hi<br>
> > > I'm trying to send calls through  a provider with ip 10.10.10.3 but call fails with result "Message not compatible with call state or message type non-existent or not implemented". how can I debug this problem?<br>
> > > this is siptrace from the failed call:<br>
> > ><br>
> > > send 1061 bytes to udp/[10.10.10.3]:5060 at 13:35:27.382378:<br>
> > >    ------------------------------<wbr>------------------------------<wbr>------------<br>
> > >    INVITE <a href="mailto:sip%3A12345678@10.10.10.3" target="_blank">sip:12345678@10.10.10.3</a> SIP/2.0<br>
> > >    Via: SIP/2.0/UDP 10.10.10.4;rport;branch=z9hG4b<wbr>KeN5gp5S5KrZce<br>
> > >    Max-Forwards: 69<br>
> > >    From: "100" <<a href="mailto:sip%3A74413@10.10.10.3" target="_blank">sip:74413@10.10.10.3</a>>;tag=N69<wbr>FS63aHU7ta<br>
> > >    To: <<a href="mailto:sip%3A12345678@10.10.10.3" target="_blank">sip:12345678@10.10.10.3</a>><br>
> > >    Call-ID: 596dba35-96dd-1235-59bc-005056<wbr>98455d<br>
> > >    CSeq: 105485099 INVITE<br>
> > >    Contact: <<a href="mailto:sip%3Agw%2Btrunk_1@10.10.10.4" target="_blank">sip:gw+trunk_1@10.10.10.4</a>:506<wbr>0;transport=udp;gw=trunk_1><br>
> > >    User-Agent: FreeSWITCH-mod_sofia/1.6.15+gi<wbr>t~20170303T233525Z~02c0860de6~<wbr>64bit<br>
> > >    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY<br>
> > >    Supported: timer, path, replaces<br>
> > >    Allow-Events: talk, hold, conference, refer<br>
> > >    Content-Type: application/sdp<br>
> > >    Content-Disposition: session<br>
> > >    Content-Length: 242<br>
> > >    X-FS-Support: update_display,send_info<br>
> > >    Remote-Party-ID: "100" <<a href="mailto:sip%3A100@10.10.10.3" target="_blank">sip:100@10.10.10.3</a>>;party=cal<wbr>ling;screen=yes;privacy=off<br>
> > ><br>
> > >    v=0<br>
> > >    o=FreeSWITCH 1491655976 1491655977 IN IP4 10.10.10.4<br>
> > >    s=FreeSWITCH<br>
> > >    c=IN IP4 10.10.10.4<br>
> > >    t=0 0<br>
> > >    m=audio 27714 RTP/AVP 0 101 13<br>
> > >    a=rtpmap:0 PCMU/8000<br>
> > >    a=rtpmap:101 telephone-event/8000<br>
> > >    a=fmtp:101 0-16<br>
> > >    a=rtpmap:13 CN/8000<br>
> > >    a=ptime:20<br>
> > >    ------------------------------<wbr>------------------------------<wbr>------------<br>
> > > recv 274 bytes from udp/[10.10.10.3]:5060 at 13:35:27.398407:<br>
> > >    ------------------------------<wbr>------------------------------<wbr>------------<br>
> > >    SIP/2.0 100 Trying<br>
> > >    Via: SIP/2.0/UDP 10.10.10.4;branch=z9hG4bKeN5gp<wbr>5S5KrZce;rport=5060<br>
> > >    Call-ID: 596dba35-96dd-1235-59bc-005056<wbr>98455d<br>
> > >    From: "100"<<a href="mailto:sip%3A74413@10.10.10.3" target="_blank">sip:74413@10.10.10.3</a>>;ta<wbr>g=N69FS63aHU7ta<br>
> > >    To: <<a href="mailto:sip%3A12345678@10.10.10.3" target="_blank">sip:12345678@10.10.10.3</a>><br>
> > >    CSeq: 105485099 INVITE<br>
> > >    Content-Length: 0<br>
> > ><br>
> > >    ------------------------------<wbr>------------------------------<wbr>------------<br>
> > > recv 488 bytes from udp/[10.10.10.3]:5060 at 13:35:27.448335:<br>
> > >    ------------------------------<wbr>------------------------------<wbr>------------<br>
> > >    SIP/2.0 500 Server Internal Error<br>
> > >    Via: SIP/2.0/UDP 10.10.10.4;branch=z9hG4bKeN5gp<wbr>5S5KrZce;rport=5060<br>
> > >    Call-ID: 596dba35-96dd-1235-59bc-005056<wbr>98455d<br>
> > >    From: "100"<<a href="mailto:sip%3A74413@10.10.10.3" target="_blank">sip:74413@10.10.10.3</a>>;ta<wbr>g=N69FS63aHU7ta<br>
> > >    To: <<a href="mailto:sip%3A12345678@10.10.10.3" target="_blank">sip:12345678@10.10.10.3</a>>;tag=<wbr>juiky7nh<br>
> > >    CSeq: 105485099 INVITE<br>
> > >    Warning: 399 - "SoftX3000 R601-CCU Rel POS:[3103] Release from CR"<br>
> > >    Reason: Q.850;cause=98;text="Message not compatible with call state or message type non-existent or not implemented"<br>
> > >    Content-Length: 0<br>
> > ><br>
> > >    ------------------------------<wbr>------------------------------<wbr>------------<br>
> > > send 321 bytes to udp/[10.10.10.3]:5060 at 13:35:27.448500:<br>
> > >    ------------------------------<wbr>------------------------------<wbr>------------<br>
> > >    ACK <a href="mailto:sip%3A12345678@10.10.10.3" target="_blank">sip:12345678@10.10.10.3</a> SIP/2.0<br>
> > >    Via: SIP/2.0/UDP 10.10.10.4;rport;branch=z9hG4b<wbr>KeN5gp5S5KrZce<br>
> > >    Max-Forwards: 69<br>
> > >    From: "100" <<a href="mailto:sip%3A74413@10.10.10.3" target="_blank">sip:74413@10.10.10.3</a>>;tag=N69<wbr>FS63aHU7ta<br>
> > >    To: <<a href="mailto:sip%3A12345678@10.10.10.3" target="_blank">sip:12345678@10.10.10.3</a>>;tag=<wbr>juiky7nh<br>
> > >    Call-ID: 596dba35-96dd-1235-59bc-005056<wbr>98455d<br>
> > >    CSeq: 105485099 ACK<br>
> > >    Content-Length: 0<br>
> > ><br>
> > ><br>
> > > ______________________________<wbr>______________________________<wbr>_____________<br>
> > > Professional FreeSWITCH Consulting Services:<br>
> > > <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
> > > <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
> > ><br>
> > > Official FreeSWITCH Sites<br>
> > > <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
> > > <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
> > > <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
> > ><br>
> > > FreeSWITCH-users mailing list<br>
> > > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
> > > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
> > > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
> > > <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
> ><br>
> ><br>
> > ______________________________<wbr>______________________________<wbr>_____________<br>
> > Professional FreeSWITCH Consulting Services:<br>
> > <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
> > <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
> ><br>
> > Official FreeSWITCH Sites<br>
> > <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
> > <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
> > <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
> ><br>
> > FreeSWITCH-users mailing list<br>
> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
> > <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
> ><br>
> > ______________________________<wbr>______________________________<wbr>_____________<br>
> > Professional FreeSWITCH Consulting Services:<br>
> > <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
> > <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
> ><br>
> > Official FreeSWITCH Sites<br>
> > <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
> > <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
> > <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
> ><br>
> > FreeSWITCH-users mailing list<br>
> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
> > <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
> ______________________________<wbr>______________________________<wbr>_____________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
> <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
><br>
> ______________________________<wbr>______________________________<wbr>_____________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
> <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>