[Devel] 415 unsopported document format.

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Sep 6 17:14:07 CEST 2006


Javier,

the error might be nor related to the payload itself, but to some SIP 
part, as Content-Type, etc. I do not know much about presence - this is 
just a hint where to look for.

the last option is to look into code and see where the error code is 
generated.

regards,
bogdan

Javier Ramirez wrote:

> the problem is:
> in my program
>   <note>Al tel\351fono</note>
> in xten
>   <note>Al Tel\303\251fono</note>
>  
>  
> In Ethereal I see this:
>  
> In my program :
>  
> <?xml version="1.0" encoding="UTF-8"?>
> <presence xmlns="urn:ietf:params:xml:ns:pidf"
>   xmlns:pp="urn:ietf:params:xml:ns:pidf:person"
>   xmlns:et="urn:ietf:params:xml:ns:pidf:rpid:rpid-tuple"
>   xmlns:ep="urn:ietf:params:xml:ns:pidf:rpid:rpid-person"
>   xmlns:es="urn:ietf:params:xml:ns:pidf:rpid:status:rpid-status"
>   xmlns:ci="urn:ietf:params:xml:ns:pidf:cipid"
>   entity="sip:javier at direccionIP.com">
>   <pp:person>
>     <status>
>       <ep:activities>
>         <ep:activity>away</ep:activity>
>       </ep:activities>
>     </status>
>   </pp:person>
>   <note>Al tel\351fono</note>
>   <tuple id="t9647">
>     <contact priority="1">sip:javier at direccionIP.com</contact>
>     <status>
>       <basic>open</basic>
>     </status>
>   </tuple>
> </presence>
>  
>  
> In xten:
>  
>
> <?xml version="1.0" encoding="UTF-8"?>
> <presence xmlns="urn:ietf:params:xml:ns:pidf"
>  xmlns:pp="urn:ietf:params:xml:ns:pidf:person"
>  xmlns:et="urn:ietf:params:xml:ns:pidf:rpid:rpid-tuple"
>  xmlns:ep="urn:ietf:params:xml:ns:pidf:rpid:rpid-person"
>  xmlns:es="urn:ietf:params:xml:ns:pidf:rpid:status:rpid-status"
>  xmlns:ci="urn:ietf:params:xml:ns:pidf:cipid"
>  entity="sip:javier at direccionIP.com">
>   <pp:person>
>     <status>
>       <ep:activities>
>         <ep:activity>away</ep:activity>
>       </ep:activities>
>     </status>
>   </pp:person>
>   <note>Al Tel\303\251fono</note>
>   <tuple id="t1">
>     <contact priority="1">sip:javier at direccionIP.com</contact>
>     <status>
>       <basic>open</basic>
>       <es:user-input since="2006-09-05T10:31:51Z">idle</es:user-input>
>     </status>
>   </tuple>
> </presence>
>  
>
>     ----- Original Message -----
>     *From:* Bogdan-Andrei Iancu <mailto:bogdan at voice-system.ro>
>     *To:* Javier Ramirez <mailto:jvr_78 at yahoo.com.ar>
>     *Cc:* devel at openser.org <mailto:devel at openser.org>
>     *Sent:* Monday, September 04, 2006 6:37 PM
>     *Subject:* Re: [Devel] 415 unsopported document format.
>
>     most probably your PUBLISH advertised or contains an unsupported
>     document type. Check what xten does to work.
>
>     regards,
>     bogdan
>
>     Javier Ramirez wrote:
>
>     > ok, but when I use xten, and I set a personal state, the accent is
>     > send to with no problem.
>     > how I make this ?
>     > best regards
>     > Javier
>     > 
>     >
>     >     ----- Original Message -----
>     >     *From:* Bogdan-Andrei Iancu <mailto:bogdan at voice-system.ro>
>     >     *To:* Javier Ramirez <mailto:jvr_78 at yahoo.com.ar>
>     >     *Cc:* devel at openser.org <mailto:devel at openser.org>
>     <mailto:devel at openser.org>
>     >     *Sent:* Monday, September 04, 2006 4:00 PM
>     >     *Subject:* Re: [Devel] 415 unsopported document format.
>     >
>     >     Hi Javier,
>     >
>     >     I guess you are trying to use the "pa" module. If so, please
>     note
>     >     it is
>     >     deprecated. A new up to date implementation of a Presence
>     Agent is on
>     >     the way and shortly available.
>     >
>     >     regards,
>     >     bogdan
>     >
>     >     Javier Ramirez wrote:
>     >
>     >     > Hi,
>     >     > I have a problem, when I send a PUBLISH with personal
>     status, if
>     >     have
>     >     > accent, the openser send me 415 unsopported document format.
>     >     > How to encode for openser accept my PUBLISH ?
>     >     > best regards
>     >     > Javier
>     >     >
>     >    
>     >------------------------------------------------------------------------
>     >     >
>     >     >_______________________________________________
>     >     >Devel mailing list
>     >     >Devel at openser.org
>     >     >http://openser.org/cgi-bin/mailman/listinfo/devel
>     >     >
>     >     >
>     >
>     >
>     >     __________ NOD32 1.1738 (20060904) Information __________
>     >
>     >     This message was checked by NOD32 antivirus system.
>     >     http://www.eset.com
>     >
>
>
>     __________ NOD32 1.1738 (20060904) Information __________
>
>     This message was checked by NOD32 antivirus system.
>     http://www.eset.com
>




More information about the Devel mailing list