Actually, I am just trying to build a minimal client/UA for Freeswitch. Do I need to go into 3pcc or something. I remember I did play with 3pcc but at that time I was implementing a sip stack and trying to come up with a minimal softswitch. Am I misunderstanding something?<br>
<br>It sounds like, I need to include codecs. I have tried the similar INVITE with a Voip provider directly, and send it with 0 content-length, and no sdp at all. In response I got whole lot of things like codec, and all. Therefore, I did the same for the Freeswtich too. However, I will try including codecs.<br>
<br>Thanks.<br><br><div class="gmail_quote">On Tue, Nov 11, 2008 at 5:38 PM, Ken Rice <span dir="ltr">&lt;<a href="mailto:krice@suspicious.org">krice@suspicious.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<ol><li><font size="4"><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">you need to include an SDP or enable 3pcc support on the sip profile... 
</span></font></font></li><li><font size="4"><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">the 3rd invite looks like it doesn't include any codecs (or atleast any I am familiar with)<br>
</span></font></font></li></ol><font size="4"><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;"><br>
<br>
<hr size="3" width="95%" align="center"><b>From: </b>Adeel Ansari &lt;<a href="mailto:adeel.gnome@gmail.com" target="_blank">adeel.gnome@gmail.com</a>&gt;<br>
<b>Reply-To: </b>&lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
<b>Date: </b>Tue, 11 Nov 2008 17:29:50 +0800<br>
<b>To: </b>&lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
<b>Subject: </b>[Freeswitch-users] &nbsp;Receiving 406 From Freeswitch....Any Clues?<div class="Ih2E3d"><br>
<br>
Hi, I am getting 406, no matter what. I have tried 3 different INVITEs.<br>
<br>
------<br>
</div><b>INVITE <a href="mailto:sip%3A1002@192.168.253.101" target="_blank">sip:1002@192.168.253.101</a> <a href="mailto:sip%3A1002@192.168.253.101" target="_blank">&lt;mailto:sip%3A1002@192.168.253.101&gt;</a> ;transport=udp SIP/2.0<div class="Ih2E3d">
<br>
Call-ID: <a href="mailto:ef1e16976ae32f0f011de0db2ab5804b@192.168.253.101" target="_blank">ef1e16976ae32f0f011de0db2ab5804b@192.168.253.101</a><br>
CSeq: 1 INVITE<br></div>
From: &lt;<a href="mailto:sip%3A1001@192.168.253.101" target="_blank">sip:1001@192.168.253.101</a> <a href="mailto:sip%3A1001@192.168.253.101" target="_blank">&lt;mailto:sip%3A1001@192.168.253.101&gt;</a> &gt;;tag=5919<br>

To: &lt;<a href="mailto:sip%3A1002@192.168.253.101" target="_blank">sip:1002@192.168.253.101</a> <a href="mailto:sip%3A1002@192.168.253.101" target="_blank">&lt;mailto:sip%3A1002@192.168.253.101&gt;</a> &gt;<div class="Ih2E3d">
<br>
Via: SIP/2.0/UDP 192.168.253.101:7620;branch=z9hG4bKcfac6aaa7ee4a96457335bdad787cf31<br>
Max-Forwards: 2<br>
Contact: &lt;sip:1001@192.168.253.101:7620;transport=udp&gt;<br>
Accept: audio/gsm,audio/x-gsm,text/plain<br>
Content-Length: 0<br>
------<br>
<br>
and I tried,<br>
<br>
-------<br></div>
INVITE <a href="mailto:sip%3A1002@192.168.253.101" target="_blank">sip:1002@192.168.253.101</a> <a href="mailto:sip%3A1002@192.168.253.101" target="_blank">&lt;mailto:sip%3A1002@192.168.253.101&gt;</a> ;transport=udp SIP/2.0<div class="Ih2E3d">
<br>
Call-ID: <a href="mailto:7a612541e08e583e0069c988c8323425@192.168.253.101" target="_blank">7a612541e08e583e0069c988c8323425@192.168.253.101</a><br>
CSeq: 1 INVITE<br></div>
From: &lt;<a href="mailto:sip%3A1001@192.168.253.101" target="_blank">sip:1001@192.168.253.101</a> <a href="mailto:sip%3A1001@192.168.253.101" target="_blank">&lt;mailto:sip%3A1001@192.168.253.101&gt;</a> &gt;;tag=7387<br>

To: &lt;<a href="mailto:sip%3A1002@192.168.253.101" target="_blank">sip:1002@192.168.253.101</a> <a href="mailto:sip%3A1002@192.168.253.101" target="_blank">&lt;mailto:sip%3A1002@192.168.253.101&gt;</a> &gt;<div class="Ih2E3d">
<br>
Via: SIP/2.0/UDP 192.168.253.101:6453;branch=z9hG4bK7ccbc7f8e7bc0c4ac0483cca54a48489<br>
Max-Forwards: 2<br>
Contact: &lt;sip:1001@192.168.253.101:6453;transport=udp&gt;<br>
Accept: audio/gsm,audio/x-gsm,text/plain<br></div>
Authorization: Digest username=&quot;1001&quot;,realm=&quot;<a href="http://192.168.253.101" target="_blank">192.168.253.101</a> <a href="http://192.168.253.101" target="_blank">&lt;http://192.168.253.101&gt;</a> &quot;,uri=&quot;sip:<a href="http://192.168.253.101:5060" target="_blank">192.168.253.101:5060</a> <a href="http://192.168.253.101:5060" target="_blank">&lt;http://192.168.253.101:5060&gt;</a> &quot;,algorithm=MD5,opaque=&quot;&quot;,nonce=&quot;b1f5e8d8-afd0-11dd-ad17-f7c4d6a988fd&quot;,response=&quot;2c70f260de2292d9e01406bdd1f90e28&quot;<div class="Ih2E3d">
<br>
Content-Length: 0<br>
-------<br>
<br>
and then I tried,<br>
<br>
------<br></div>
INVITE <a href="mailto:sip%3A1002@192.168.253.101" target="_blank">sip:1002@192.168.253.101</a> <a href="mailto:sip%3A1002@192.168.253.101" target="_blank">&lt;mailto:sip%3A1002@192.168.253.101&gt;</a> ;transport=udp SIP/2.0<div class="Ih2E3d">
<br>
Call-ID: <a href="mailto:12e7c3af8d94ba048789f75e7036ea74@192.168.253.101" target="_blank">12e7c3af8d94ba048789f75e7036ea74@192.168.253.101</a><br>
CSeq: 1 INVITE<br></div>
From: &lt;<a href="mailto:sip%3A1001@192.168.253.101" target="_blank">sip:1001@192.168.253.101</a> <a href="mailto:sip%3A1001@192.168.253.101" target="_blank">&lt;mailto:sip%3A1001@192.168.253.101&gt;</a> &gt;;tag=6309<br>

To: &lt;<a href="mailto:sip%3A1002@192.168.253.101" target="_blank">sip:1002@192.168.253.101</a> <a href="mailto:sip%3A1002@192.168.253.101" target="_blank">&lt;mailto:sip%3A1002@192.168.253.101&gt;</a> &gt;<div class="Ih2E3d">
<br>
Via: SIP/2.0/UDP 192.168.253.101:4487;branch=z9hG4bK3282799ef902293b7a4795d1cc3d78bd<br>
Max-Forwards: 2<br>
Contact: &lt;sip:1001@192.168.253.101:4487;transport=udp&gt;<br>
Accept: audio/gsm,audio/x-gsm,text/plain<br></div>
Authorization: Digest username=&quot;1001&quot;,realm=&quot;<a href="http://192.168.253.101" target="_blank">192.168.253.101</a> <a href="http://192.168.253.101" target="_blank">&lt;http://192.168.253.101&gt;</a> &quot;,uri=&quot;sip:<a href="http://192.168.253.101:5060" target="_blank">192.168.253.101:5060</a> <a href="http://192.168.253.101:5060" target="_blank">&lt;http://192.168.253.101:5060&gt;</a> &quot;,algorithm=MD5,opaque=&quot;&quot;,nonce=&quot;85c12b22-afd2-11dd-ad17-f7c4d6a988fd&quot;,response=&quot;c8d6083112fc68b6e53d7e5b38e990eb&quot;<div class="Ih2E3d">
<br>
Content-Type: application/sdp<br>
Content-Length: 111<br>
<br>
v=0<br></div>
o=1001 279445 280814 IN IP4 <a href="http://192.168.253.101" target="_blank">192.168.253.101</a> <a href="http://192.168.253.101" target="_blank">&lt;http://192.168.253.101&gt;</a> <br>
s=-<br>
c=IN IP4 <a href="http://192.168.253.101" target="_blank">192.168.253.101</a> <a href="http://192.168.253.101" target="_blank">&lt;http://192.168.253.101&gt;</a> <br><div class="Ih2E3d">
t=0 0<br>
m=audio 1436 RTP/AVP <br>
------<br>
<br>
<br>
But I always receive the same 406. Any idea. The response I am receiving from Freeswitch is,<br>
<br>
-------<br>
received response : SIP/2.0 406 Not Acceptable<br>
Via: SIP/2.0/UDP 192.168.253.101:4487;branch=z9hG4bK3282799ef902293b7a4795d1cc3d78bd<br></div>
From: &lt;<a href="mailto:sip%3A1001@192.168.253.101" target="_blank">sip:1001@192.168.253.101</a> <a href="mailto:sip%3A1001@192.168.253.101" target="_blank">&lt;mailto:sip%3A1001@192.168.253.101&gt;</a> &gt;;tag=6309<br>

To: &lt;<a href="mailto:sip%3A1002@192.168.253.101" target="_blank">sip:1002@192.168.253.101</a> <a href="mailto:sip%3A1002@192.168.253.101" target="_blank">&lt;mailto:sip%3A1002@192.168.253.101&gt;</a> &gt;;tag=H1DH6S41c0U2N<div class="Ih2E3d">
<br>
Call-ID: <a href="mailto:12e7c3af8d94ba048789f75e7036ea74@192.168.253.101" target="_blank">12e7c3af8d94ba048789f75e7036ea74@192.168.253.101</a><br>
CSeq: 1 INVITE<br>
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-9256M<br>
Accept: application/sdp<br>
Accept-Encoding: <br>
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,MESSAGE,SUBSCRIBE,NOTIFY,REFER,UPDATE,REGISTER,INFO,PUBLISH<br>
Supported: 100rel,timer,precondition,path,replaces<br>
Allow-Events: talk,presence,dialog,call-info,sla,include-session-description,presence.winfo,message-summary<br>
Content-Length: 0<br>
-------<br>
<br>
Thanks.<br>
<br>
-- <br>
Best,<br>
Adeel Ansari<br>
<br>
<a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br>
<br>
</div><hr size="3" width="95%" align="center"></b></span></font><font face="Consolas, Courier New, Courier"><span style="font-size: 10pt;">_______________________________________________<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>
</span></font></font>
</div>


<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari">http://www.linkedin.com/in/adeelansari</a><br>