Problem was that fields with some codecs names were blank. Thats why there were <meta charset="utf-8">&quot;a=rtpmap:0 /8000&quot;. Also FS don`t have aliase betwen PCMA and G711.a for ex.<div>&gt;&gt; I&#39;m not sure, but 5.1.8 firmware on linksys is quite outdated, isn&#39;t it?<br>
It`s really old but this is last one on their website.</div><div><br><div class="gmail_quote">2010/10/19 Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The SDP is invalid... I suspect your PAP2 has a properly formatted SDP... Can you not see on the two lines for &quot;a=rtpmap:8 /8000&quot; and &quot;a=rtpmap:0 /8000&quot; are the invalid lines they should be &quot;a=rtpmap:8 PCMA/8000&quot; and &quot;a=rtpmap:0 PCMU/8000&quot; .  We WILL NOT make this work because its invalid.  Its on you to contact the manufacture of your device and have them fix it.<br>

<br>
/b<br>
<div><div></div><div class="h5"><br>
On Oct 18, 2010, at 5:32 AM, Maxim Balabaev wrote:<br>
<br>
&gt; I can`t make calls from linksys spa921 because of &quot;400 Bad Session Description&quot;, incoming are ok. pap2t works perfectly. freeswitch is rev from git trunk. Here comes logs:<br>
&gt;    ------------------------------------------------------------------------<br>
&gt; recv 868 bytes from udp/[xxx]:5060 at 10:27:30.709397:<br>
&gt;    ------------------------------------------------------------------------<br>
&gt;    INVITE sip:1001@xxx SIP/2.0<br>
&gt;    Via: SIP/2.0/UDP xxx:5060;branch=z9hG4bK-ede98b83;rport<br>
&gt;    From: &lt;sip:022@xxx&gt;;tag=8f6dbe61c1d0552ao0<br>
&gt;    To: &lt;sip:1001@xxx&gt;<br>
&gt;    Call-ID: 14d793ed-1abf9d0e@xxx<br>
&gt;    CSeq: 101 INVITE<br>
&gt;    Max-Forwards: 70<br>
&gt;    Contact: &lt;sip:022@xxx:5060&gt;<br>
&gt;    Expires: 240<br>
&gt;    User-Agent: Linksys/SPA921-5.1.8<br>
&gt;    Content-Length: 386<br>
&gt;    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER<br>
&gt;    Supported: replaces<br>
&gt;    Content-Type: application/sdp<br>
&gt;<br>
&gt;    v=0<br>
&gt;    o=- 603544 603544 IN IP4 xxx<br>
&gt;    s=-<br>
&gt;    c=IN IP4 xxx<br>
&gt;    t=0 0<br>
&gt;    m=audio 16406 RTP/AVP 8 0 2 4 18 96 97 98 101<br>
&gt;    a=rtpmap:8 /8000<br>
&gt;    a=rtpmap:0 /8000<br>
&gt;    a=rtpmap:2 G726-32/8000<br>
&gt;    a=rtpmap:4 G723/8000<br>
&gt;    a=rtpmap:18 G729/8000<br>
&gt;    a=rtpmap:96 G726-40/8000<br>
&gt;    a=rtpmap:97 G726-24/8000<br>
&gt;    a=rtpmap:98 G726-16/8000<br>
&gt;    a=rtpmap:101 telephone-event/8000<br>
&gt;    a=fmtp:101 0-15<br>
&gt;    a=ptime:30<br>
&gt;    a=sendrecv<br>
&gt;    ------------------------------------------------------------------------<br>
&gt; send 562 bytes to udp/[xxx]:5060 at 10:27:30.709607:<br>
&gt;    ------------------------------------------------------------------------<br>
&gt;    SIP/2.0 400 Bad Session Description<br>
&gt;    Via: SIP/2.0/UDP xxx:5060;branch=z9hG4bK-ede98b83;rport=5060<br>
&gt;    From: &lt;sip:022@xxx&gt;;tag=8f6dbe61c1d0552ao0<br>
&gt;    To: &lt;sip:1001@xxx&gt;;tag=ytUD271ypvy6r<br>
&gt;    Call-ID: 14d793ed-1abf9d0e@xxx<br>
&gt;    CSeq: 101 INVITE<br>
&gt;    User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-f8d8a39 2010-10-18 03-19-16 -0400<br>
&gt;    Accept: application/sdp<br>
&gt;    Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY<br>
&gt;    Supported: timer, precondition, path, replaces<br>
&gt;    Allow-Events: talk, hold, refer<br>
&gt;    Content-Length: 0<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">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>
</blockquote></div><br></div>