<div dir="ltr"><font color="#663366"><font face="trebuchet ms,sans-serif">...and I'm not done yet.</font></font><div><font color="#663366"><font face="trebuchet ms,sans-serif"><br></font></font></div><div><font color="#663366"><font face="trebuchet ms,sans-serif">So while this one below solved the problem, how do we manage this so I don't always suppress all the m= lines in my SDP when sending calls to all the external gateways, but do that only when sending calls to any system that doesn't like it? </font></font></div>
<div><font color="#663366"><font face="trebuchet ms,sans-serif"><br></font></font></div><div><font color="#663366"><font face="trebuchet ms,sans-serif">As I said before, I tried doing this just before the bridge, but didn't work. Only seems to work as a PRE-PROCESS Global setting.</font></font></div>
<div><font color="#663366"><font face="trebuchet ms,sans-serif"><br></font></font></div><div><font color="#663366"><font face="trebuchet ms,sans-serif">Thx</font></font></div><div><br><div class="gmail_quote">On Fri, Aug 3, 2012 at 1:44 AM, A E G <span dir="ltr"><<a href="mailto:all.eforums@gmail.com" target="_blank">all.eforums@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"><font color="#663366"><font face="trebuchet ms,sans-serif">Well turns out learning to use Google better always helps.</font></font><div>
<font color="#663366"><font face="trebuchet ms,sans-serif"><br></font></font></div>
<div><font color="#663366"><font face="trebuchet ms,sans-serif">Found a nugget of wisdom that </font></font><span style="font-family:'courier new',monospace"><action application="set" data="sdp_m_per_ptime=false"/></span><font face="trebuchet ms, sans-serif" color="#333333"> </font><font face="trebuchet ms, sans-serif" color="#663366">should've actually been in the vars.xml</font></div>
<div><font face="trebuchet ms, sans-serif" color="#333333"><br></font></div><div><font face="trebuchet ms, sans-serif" color="#663366">Seems to have fixed it. </font></div><div><font face="trebuchet ms, sans-serif" color="#333333"><br>
</font></div><div><br></div><div><br><div class="gmail_quote">On Fri, Aug 3, 2012 at 12:01 AM, A E G <span dir="ltr"><<a href="mailto:all.eforums@gmail.com" target="_blank">all.eforums@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"><font face="trebuchet ms, sans-serif" color="#333333">Gents,</font><div><font face="trebuchet ms, sans-serif" color="#333333"><br>
</font></div><div><font face="trebuchet ms, sans-serif" color="#333333">running version: </font><font color="#333333" face="trebuchet ms, sans-serif">1.2.0-rc2+git~20120731T213556Z~e97da8e20a</font></div>
<div><font color="#333333" face="trebuchet ms, sans-serif"><br></font></div><div><font face="trebuchet ms, sans-serif" color="#333333">have been fighting with this for an hour or more...have done a bit of research on the list and Google itself, scoured the Wiki etc. but can't seem to figure out where to set the codecs to be "well recd" by the remote SIP peer. This used to work fine until I upgraded 2 days ago and it stopped working without my doing / changing anything.</font></div>
<div><font face="trebuchet ms, sans-serif" color="#333333"><br></font></div><div><font face="trebuchet ms, sans-serif" color="#333333">The remote SIP peer is {*} which doesn't like multiple m= lines with differing ptime values.</font></div>
<div><font face="trebuchet ms, sans-serif" color="#333333"><br></font></div><div><font face="trebuchet ms, sans-serif" color="#333333">Debug on near-end says: </font><font color="#333333" face="courier new, monospace">"Originate Resulted in Error Cause: 88 [INCOMPATIBLE_DESTINATION]"</font></div>
<div><font face="trebuchet ms, sans-serif" color="#333333"><br></font></div><div><font face="trebuchet ms, sans-serif" color="#333333">Full SDP here:</font></div>
<div><font face="trebuchet ms, sans-serif" color="#333333"><br></font></div><div><font face="trebuchet ms, sans-serif" color="#333333"><div>
v=0</div><div>o=FreeSWITCH 1343934933 1343934934 IN IP4 192.168.1.80</div><div>s=FreeSWITCH</div><div>c=IN IP4 192.168.1.80</div><div>t=0 0</div><div>m=audio 28884 RTP/AVP 98 8 3 101 13</div><div>a=rtpmap:98 L16/16000</div>
<div>a=rtpmap:101 telephone-event/8000</div><div>a=fmtp:101 0-16</div><div>a=ptime:20</div><div>a=sendrecv</div><div>m=audio 28884 RTP/AVP 0 101 13</div><div>a=rtpmap:101 telephone-event/8000</div><div>a=fmtp:101 0-16</div>
<div>a=ptime:40</div><div>a=sendrecv</div><div><br></div></font></div><div><font face="trebuchet ms, sans-serif" color="#333333">Far end says: </font><font color="#333333" face="courier new, monospace">Rejecting non-primary audio stream: audio 28884 RTP/AVP 0 101 13</font></div>
<div><font face="trebuchet ms, sans-serif"><br></font></div><div><font face="trebuchet ms, sans-serif">I have tried to play around with the codec globals in vars.xml, to no avail.</font></div><div><font face="trebuchet ms, sans-serif"><br>
</font></div><div><font face="trebuchet ms, sans-serif">have also added stuff directly in the dialplan like so:</font></div><div><span style="font-family:'courier new',monospace"><br></span></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div><span style="font-family:'courier new',monospace"><action application="set" data="hangup_after_bridge=true"/></span></div><div><div><font face="courier new, monospace"><action application="set" data="absolute_codec_string=PCMU@40i"/></font></div>
</div><div><div><font face="courier new, monospace"><action application="set" data="sdp_m_per_ptime=false"/></font></div></div><div><div><font face="courier new, monospace"><action application="bridge" data="sofia/gateway/mycore1/1111"/></font></div>
</div></blockquote><div><br></div><div><font face="trebuchet ms, sans-serif">but no dice. </font></div><div><font face="trebuchet ms, sans-serif"><br></font></div><div><font face="trebuchet ms, sans-serif">Tried to remove the "absolute_codec_string", still no dice.</font></div>
<div><font face="trebuchet ms, sans-serif"><br></font></div><div><font face="trebuchet ms, sans-serif">I read about the "sdp_m_per_ptime" that lets me "cheat" but that ain't doing anything either.</font></div>
<div><font face="trebuchet ms, sans-serif"><br></font></div><div><font face="trebuchet ms, sans-serif">What gives?</font></div><div><font face="trebuchet ms, sans-serif"><br></font></div><div><font face="trebuchet ms, sans-serif">Thx in advance</font></div>
<div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br></div></div>
</blockquote></div><br></div></div>