<div>Excellent information thanks. The server is a dedicated voip server and nothing else is running on it (and therefore the port should be free).</div>
<div> </div>
<div>I've talked to my voip provider and they were kind enough to give me their traces.</div>
<div> </div>
<div>Freeswitch get's their SDP on the bleg (their software have modified the trace a bit):</div>
<div> </div>
<div>SIP/2.0 183 Session Progress<br>Via: SIP/2.0/UDP 212.247.E.E;rport=5060;branch=z9hG4bK52XcXtpQBp3BH<br>From: "blablabla" <sip:02345678@212.247.E.E>;tag=rccD75cXD61Kr<br>To: <<a href="mailto:sip%3A0771221122@voipprovider.se">sip:0771221122@voipprovider.se</a>>;tag=686577264<br>
Call-ID: c3e8e0e8-2c3c-122e-479c-1fc6e9408ca4<br>CSeq: 1106961 INVITE<br>Contact: <sip:0771221122@212.151.Y.Y:5060><br>Record-Route: <sip:130.244.Z.Z;lr;ftag=rccD75cXD61Kr;t2diag=c82.4127173><br>Allow: INVITE,ACK,PRACK,SUBSCRIBE,BYE,CANCEL,NOTIFY,INFO,REFER,UPDATE<br>
Content-Type: application/sdp<br>Content-Length: 169</div>
<div> </div>
<div>v=0<br>o=- 46541649 0 IN IP4 130.244.x.x<br>s=Cisco SDP 0<br>c=IN IP4 130.244.x.x<br>t=0 0<br>m=audio 18928 RTP/AVP 8 101<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-15</div>
<div> </div>
<div>which makes FS cancel the call leg:</div>
<div><br>CANCEL <a href="mailto:sip%3A0771221122@voipprovider.se">sip:0771221122@voipprovider.se</a> SIP/2.0<br>Via: SIP/2.0/UDP 212.247.E.E;rport;branch=z9hG4bK52XcXtpQBp3BH<br>Max-Forwards: 68<br>From: "blablabla" <sip:02345678@212.247.E.E>;tag=rccD75cXD61Kr<br>
To: <<a href="mailto:sip%3A0771221122@voipprovider.se">sip:0771221122@voipprovider.se</a>><br>Call-ID: c3e8e0e8-2c3c-122e-479c-1fc6e9408ca4<br>CSeq: 1106961 CANCEL<br>Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"<br>
Content-Length: 0<br></div>
<div> </div>
<div> </div>
<div> </div>
<div class="gmail_quote">On Fri, Aug 27, 2010 at 9:57 AM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Yes, G.729a and G.729b are incorrect and your device is at fault... only other phones of the same type would probably recognise it without issue.<br>
<br>PCMA should be used in this case though.<br><br>RTP payload numbers are spread through multiple RFCs. Anything in the 96-127 range is dynamic and the codec is determined from the matching rtpmap line, any of the static numbers don't need a rtpmap line to work. IANA oversees assignment of the static numbers and they have the full list: <a href="http://www.iana.org/assignments/rtp-parameters" target="_blank">http://www.iana.org/assignments/rtp-parameters</a><br>
<br>As you can see 0=PCMU, 8=PCMA, and G.729 should use 18. Support of annex B is specified in the fmtp parameter, not the codec name - e.g. "a=fmtp:18 annexb=no". Annex A never needs to be specified as it can be read normally by plain G.729, so it's just up to the implementation on whether it wants to save quality or cpu when encoding.<br>
<br>Do you have any other applications running which would also be using the RTP port range? A call will fail if it tries to use a port that's already in use, perhaps with that message. FS should avoid using ports it's already using, but can't know about any other programs on the system.<br>
<br>-Steve
<div>
<div></div>
<div><br><br><br>
<div class="gmail_quote">On 27 August 2010 08:03, Jonas Gauffin <span dir="ltr"><<a href="mailto:jonas.gauffin@gmail.com" target="_blank">jonas.gauffin@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>It doesn't happen every time and it's on a production system with a bit of volume. therefore a bit hard to get SIP traces. I'll try if Anthony really needs them.</div>
<div> </div>
<div>FS do say this: </div>
<div><span>2010</span><span>-08</span><span>-27</span> <span>07</span>:<span>14</span>:<span>10.758750</span> <span>[</span>DEBUG<span>]</span> switch_ivr_originate.c:<span>3111</span> sofia/external/<span>0700123456</span>@<span>212.151</span>.Y.Y:<span>5060</span> Media Establishment Failed</div>
<div> </div>
<div>In which RFC are codec names defined? rfc3551 defines "G729" but no "G.729A" or "G.729B". But as you say, shouldn't FS use PCMA in any case?</div>
<div>
<div></div>
<div>
<div><br><br> </div>
<div class="gmail_quote">On Fri, Aug 27, 2010 at 8:43 AM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Ordinarily it'd mean there was a problem with the codecs (e.g. needing to use an unsupported codec or transcode a codec that only works as a passthrough one).<br>
<br>Looks like it should have gone through with PCMA (8) though. Can you repeat the call with sip trace on? Perhaps the incompatible destination comes from an endpoint.<br><br>'sofia profile <profilename> siptrace on' from the CLI, replace on with off to turn it off again.<br>
<br>-Steve<br><br><br><br>
<div class="gmail_quote">
<div>
<div></div>
<div>On 27 August 2010 07:26, Jonas Gauffin <span dir="ltr"><<a href="mailto:jonas.gauffin@gmail.com" target="_blank">jonas.gauffin@gmail.com</a>></span> wrote:<br></div></div>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div>
<div>Hello,</div>
<div> </div>
<div>Why do this call result in INCOMPATIBLE_DESTINATION?</div>
<div> </div>
<div><a href="http://pastebin.freeswitch.org/13736" target="_blank">http://pastebin.freeswitch.org/13736</a></div>
<div> </div>
<div>Regards,</div>
<div> Jonas</div><br></div></div>
<div>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></div></blockquote></div><br><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><br></blockquote></div><br></div></div><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><br></blockquote></div><br></div></div><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><br></blockquote></div><br>