Re: 406 for Message

"Jeroen van Bemmel" <[email protected]>
Newsgroups gmane.comp.voip.nist-sip
Message-ID <003c01c66ae4$fd64b080$31713b51@BEMBUSTER>
Lebing,

That's probably because "text/*" is invalid as a Content-Type. Try 
"application/XXX+xml" (whichever is appropriate for your application)

Regards,

Jeroen

----- Original Message ----- 
From: "Lebing Xie" <[email protected]>
To: "sip mailing" <[email protected]>
Sent: Friday, April 28, 2006 3:44 PM
Subject: [nist-sip] 406 for Message


> Hallo,
>
> My client is based on JAINSIP 1.2, but by this incoming MESSAGE, sip
> stack sent 406 error back. I have tried 1.1 and 1.2, same issue, other
> MESSAGEs works fine.
>
> urs Lebing
>
>
>
>
> MESSAGE sip:141.39.74.117:30648;transport=udp SIP/2.0
> Record-Route:
> <sip:193.175.134.136:6060;ftag=807513;lr=on>,<sip:193.175.134.80:5070;lr;transport=udp;sipseesessionid=31jmepfbromru>
> Call-ID: [email protected]
> CSeq: 1 MESSAGE
> From: <sip:[email protected]>;tag=807513
> To: <sip:[email protected]>
> Via: SIP/2.0/UDP
> 193.175.134.136:4060;branch=z9hG4bKbfdb.08f4b017.0,SIP/2.0/UDP
> 193.175.134.136:6060;branch=z9hG4bKbfdb.bf633064.0,SIP/2.0/UDP
> 193.175.134.136;branch=z9hG4bKbfdb.2b098307.0,SIP/2.0/UDP
> 193.175.134.80:5070;sipseesessionid=31jmepfbromru;branch=z9hG4bKbf53bca25226bea080a0b0042e0b4dc0
> Max-Forwards: 14
> Content-Type: text/*
> Contact: <sip:[email protected]:5070;transport=udp>
> P-Called-Party-ID: <sip:[email protected]>
> P-hint: outbound alias
> Content-Length: 335
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <ns2:Community
> identifier="sip:[email protected]"
> xmlns:ns2="http://ngni.fokus.fhg.de/xml/communities">
>    <request>
>        <invite>
>
> <communityUri>sip:[email protected]</communityUri>
>        </invite>
>    </request>
> </ns2:Community>
>
>
> _______________________________________________
> nist-sip mailing list
> [email protected]
> http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.