<div dir="ltr">As I searched more it seems the problem is with this line:<div><span style="font-size:12.8px">a=rtpmap:13 CN/8000</span></div><div><span style="font-size:12.8px">how can I remove this?</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 8, 2017 at 1:48 PM, 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">Hi<div>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?</div><div>this is siptrace from the failed call:</div><div><div><br></div><div><div>send 1061 bytes to udp/[10.10.10.3]:5060 at 13:35:27.382378:</div><div> -----------------------------<wbr>------------------------------<wbr>-------------</div><div> INVITE <a href="mailto:sip%3A12345678@10.10.10.3" target="_blank">sip:12345678@10.10.10.3</a> SIP/2.0</div><div> Via: SIP/2.0/UDP 10.10.10.4;rport;branch=<wbr>z9hG4bKeN5gp5S5KrZce</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>N69FS63aHU7ta</div><div> To: <<a href="mailto:sip%3A12345678@10.10.10.3" target="_blank">sip:12345678@10.10.10.3</a>></div><div> Call-ID: 596dba35-96dd-1235-59bc-<wbr>00505698455d</div><div> CSeq: 105485099 INVITE</div><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-mod_sofia/1.6.15+<wbr>git~20170303T233525Z~<wbr>02c0860de6~64bit</div><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><div> Content-Length: 242</div><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><div> o=FreeSWITCH 1491655976 1491655977 IN IP4 10.10.10.4</div><div> s=FreeSWITCH</div><div> c=IN IP4 10.10.10.4</div><div> t=0 0</div><div> m=audio 27714 RTP/AVP 0 101 13</div><div> a=rtpmap:0 PCMU/8000</div><div> a=rtpmap:101 telephone-event/8000</div><div> a=fmtp:101 0-16</div><div> a=rtpmap:13 CN/8000</div><div> a=ptime:20</div><div> -----------------------------<wbr>------------------------------<wbr>-------------</div><div>recv 274 bytes from udp/[10.10.10.3]:5060 at 13:35:27.398407:</div><div> -----------------------------<wbr>------------------------------<wbr>-------------</div><div> SIP/2.0 100 Trying</div><div> Via: SIP/2.0/UDP 10.10.10.4;branch=<wbr>z9hG4bKeN5gp5S5KrZce;rport=<wbr>5060</div><div> Call-ID: 596dba35-96dd-1235-59bc-<wbr>00505698455d</div><div> From: "100"<<a href="mailto:sip%3A74413@10.10.10.3" target="_blank">sip:74413@10.10.10.3</a>>;<wbr>tag=N69FS63aHU7ta</div><div> To: <<a href="mailto:sip%3A12345678@10.10.10.3" target="_blank">sip:12345678@10.10.10.3</a>></div><div> CSeq: 105485099 INVITE</div><div> Content-Length: 0</div><div><br></div><div> -----------------------------<wbr>------------------------------<wbr>-------------</div><div>recv 488 bytes from udp/[10.10.10.3]:5060 at 13:35:27.448335:</div><div> -----------------------------<wbr>------------------------------<wbr>-------------</div><div> SIP/2.0 500 Server Internal Error</div><div> Via: SIP/2.0/UDP 10.10.10.4;branch=<wbr>z9hG4bKeN5gp5S5KrZce;rport=<wbr>5060</div><div> Call-ID: 596dba35-96dd-1235-59bc-<wbr>00505698455d</div><div> From: "100"<<a href="mailto:sip%3A74413@10.10.10.3" target="_blank">sip:74413@10.10.10.3</a>>;<wbr>tag=N69FS63aHU7ta</div><div> To: <<a href="mailto:sip%3A12345678@10.10.10.3" target="_blank">sip:12345678@10.10.10.3</a>>;tag=<wbr>juiky7nh</div><div> CSeq: 105485099 INVITE</div><div> Warning: 399 - "SoftX3000 R601-CCU Rel POS:[3103] Release from CR"</div><div> Reason: Q.850;cause=98;text="Message not compatible with call state or message type non-existent or not implemented"</div><div> Content-Length: 0</div><div><br></div><div> -----------------------------<wbr>------------------------------<wbr>-------------</div><div>send 321 bytes to udp/[10.10.10.3]:5060 at 13:35:27.448500:</div><div> -----------------------------<wbr>------------------------------<wbr>-------------</div><div> ACK <a href="mailto:sip%3A12345678@10.10.10.3" target="_blank">sip:12345678@10.10.10.3</a> SIP/2.0</div><div> Via: SIP/2.0/UDP 10.10.10.4;rport;branch=<wbr>z9hG4bKeN5gp5S5KrZce</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>N69FS63aHU7ta</div><div> To: <<a href="mailto:sip%3A12345678@10.10.10.3" target="_blank">sip:12345678@10.10.10.3</a>>;tag=<wbr>juiky7nh</div><div> Call-ID: 596dba35-96dd-1235-59bc-<wbr>00505698455d</div><div> CSeq: 105485099 ACK</div><div> Content-Length: 0</div></div><div><br></div></div></div>
</blockquote></div><br></div>