<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Receiving 406 From Freeswitch....Any Clues?</TITLE>
</HEAD>
<BODY>
<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><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></OL><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Adeel Ansari <adeel.gnome@gmail.com><BR>
<B>Reply-To: </B><freeswitch-users@lists.freeswitch.org><BR>
<B>Date: </B>Tue, 11 Nov 2008 17:29:50 +0800<BR>
<B>To: </B><freeswitch-users@lists.freeswitch.org><BR>
<B>Subject: </B>[Freeswitch-users] Receiving 406 From Freeswitch....Any Clues?<BR>
<BR>
Hi, I am getting 406, no matter what. I have tried 3 different INVITEs.<BR>
<BR>
------<BR>
<B>INVITE sip:1002@192.168.253.101 <a href="mailto:sip%3A1002@192.168.253.101"><mailto:sip%3A1002@192.168.253.101></a> ;transport=udp SIP/2.0<BR>
Call-ID: ef1e16976ae32f0f011de0db2ab5804b@192.168.253.101<BR>
CSeq: 1 INVITE<BR>
From: <sip:1001@192.168.253.101 <a href="mailto:sip%3A1001@192.168.253.101"><mailto:sip%3A1001@192.168.253.101></a> >;tag=5919<BR>
To: <sip:1002@192.168.253.101 <a href="mailto:sip%3A1002@192.168.253.101"><mailto:sip%3A1002@192.168.253.101></a> ><BR>
Via: SIP/2.0/UDP 192.168.253.101:7620;branch=z9hG4bKcfac6aaa7ee4a96457335bdad787cf31<BR>
Max-Forwards: 2<BR>
Contact: <sip:1001@192.168.253.101:7620;transport=udp><BR>
Accept: audio/gsm,audio/x-gsm,text/plain<BR>
Content-Length: 0<BR>
------<BR>
<BR>
and I tried,<BR>
<BR>
-------<BR>
INVITE sip:1002@192.168.253.101 <a href="mailto:sip%3A1002@192.168.253.101"><mailto:sip%3A1002@192.168.253.101></a> ;transport=udp SIP/2.0<BR>
Call-ID: 7a612541e08e583e0069c988c8323425@192.168.253.101<BR>
CSeq: 1 INVITE<BR>
From: <sip:1001@192.168.253.101 <a href="mailto:sip%3A1001@192.168.253.101"><mailto:sip%3A1001@192.168.253.101></a> >;tag=7387<BR>
To: <sip:1002@192.168.253.101 <a href="mailto:sip%3A1002@192.168.253.101"><mailto:sip%3A1002@192.168.253.101></a> ><BR>
Via: SIP/2.0/UDP 192.168.253.101:6453;branch=z9hG4bK7ccbc7f8e7bc0c4ac0483cca54a48489<BR>
Max-Forwards: 2<BR>
Contact: <sip:1001@192.168.253.101:6453;transport=udp><BR>
Accept: audio/gsm,audio/x-gsm,text/plain<BR>
Authorization: Digest username="1001",realm="192.168.253.101 <a href="http://192.168.253.101"><http://192.168.253.101></a> ",uri="sip:192.168.253.101:5060 <a href="http://192.168.253.101:5060"><http://192.168.253.101:5060></a> ",algorithm=MD5,opaque="",nonce="b1f5e8d8-afd0-11dd-ad17-f7c4d6a988fd",response="2c70f260de2292d9e01406bdd1f90e28"<BR>
Content-Length: 0<BR>
-------<BR>
<BR>
and then I tried,<BR>
<BR>
------<BR>
INVITE sip:1002@192.168.253.101 <a href="mailto:sip%3A1002@192.168.253.101"><mailto:sip%3A1002@192.168.253.101></a> ;transport=udp SIP/2.0<BR>
Call-ID: 12e7c3af8d94ba048789f75e7036ea74@192.168.253.101<BR>
CSeq: 1 INVITE<BR>
From: <sip:1001@192.168.253.101 <a href="mailto:sip%3A1001@192.168.253.101"><mailto:sip%3A1001@192.168.253.101></a> >;tag=6309<BR>
To: <sip:1002@192.168.253.101 <a href="mailto:sip%3A1002@192.168.253.101"><mailto:sip%3A1002@192.168.253.101></a> ><BR>
Via: SIP/2.0/UDP 192.168.253.101:4487;branch=z9hG4bK3282799ef902293b7a4795d1cc3d78bd<BR>
Max-Forwards: 2<BR>
Contact: <sip:1001@192.168.253.101:4487;transport=udp><BR>
Accept: audio/gsm,audio/x-gsm,text/plain<BR>
Authorization: Digest username="1001",realm="192.168.253.101 <a href="http://192.168.253.101"><http://192.168.253.101></a> ",uri="sip:192.168.253.101:5060 <a href="http://192.168.253.101:5060"><http://192.168.253.101:5060></a> ",algorithm=MD5,opaque="",nonce="85c12b22-afd2-11dd-ad17-f7c4d6a988fd",response="c8d6083112fc68b6e53d7e5b38e990eb"<BR>
Content-Type: application/sdp<BR>
Content-Length: 111<BR>
<BR>
v=0<BR>
o=1001 279445 280814 IN IP4 192.168.253.101 <a href="http://192.168.253.101"><http://192.168.253.101></a> <BR>
s=-<BR>
c=IN IP4 192.168.253.101 <a href="http://192.168.253.101"><http://192.168.253.101></a> <BR>
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>
From: <sip:1001@192.168.253.101 <a href="mailto:sip%3A1001@192.168.253.101"><mailto:sip%3A1001@192.168.253.101></a> >;tag=6309<BR>
To: <sip:1002@192.168.253.101 <a href="mailto:sip%3A1002@192.168.253.101"><mailto:sip%3A1002@192.168.253.101></a> >;tag=H1DH6S41c0U2N<BR>
Call-ID: 12e7c3af8d94ba048789f75e7036ea74@192.168.253.101<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">http://www.linkedin.com/in/adeelansari</a><BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></B></SPAN></FONT><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
Freeswitch-users mailing list<BR>
Freeswitch-users@lists.freeswitch.org<BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>