Hi Šindelka,

It was indeed the absent of a blank line before the beginning of the
content what was causing the problem. I have totally overlooked that.

Thanks very much.

Best regards,

Wilmar.

2017-11-04 11:01 GMT-04:00 Šindelka Pavel <sinde...@ttc.cz>:

> Hi Wilmar,
>
> at least there must be a blank line between the last SIP header and the
> beginning of the content (RFC3261).
>
> Second, I am not sure whether the fact that you have a different number of
> spaces in front of headers up to Contact and in front of headers from Allow
> on may not confuse SIPp too.
>
> Given that my SIPp 3.2 drops any number of spaces in the beginning of a
> content line, it may not be the case, but maybe the handling of leading
> spaces differs between header lines and content lines.
>
> P.
>
> Dne 4.11.2017 v 15:10 Wilmar Pérez via Sipp-users napsal(a):
>
> Hi all,
>
> I am trying to insert some XML body content in my scenarios but I have not
> been able to format them properly. I figure I may need to escape them but
> how? I have tried the obvious without much success.  This is an example:
>
>
> --------------------------
> <send>
>     <![CDATA[
>       SIP/2.0 200 OK
>       [last_Via:]
>       [last_From:]
>       [last_To:]
>       [last_Call-ID:]
>       [last_CSeq:]
>       Contact: <sip:[local_ip]:[local_port];transport=[transport]>
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, CANCEL, REFER
> Content-Type: application/sipbio+xml
> Content-Disposition: properties-list
> Content-Length: [len]
> <?xml version="1.0" encoding="UTF-8" ?>
> <sipbio xmlns="urn:ietf:params:xml:ns:sipbio">
> <biometricTypes>
> <entry biometricType="active" />
> <entry biometricType="passive" />
> </biometricTypes>
> <payloadTypes>
> <entry payloadType="voice" />
> </payloadTypes>
> <payloadSources>
> <entry payloadSource="uri" />
> <entry payloadSource="stream" />
> </payloadSources>
> </sipbio>
> </xml>
>     ]]>
>   </send>
> ---------------------------
>
> And this is what I get when I run it:
>
> [image: Images intégrées 1]
>
> What am I doing wrong?
>
> Thanks in advance for your comments.
>
> Best regards,
>
> Wilmar
>
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
> Sipp-users mailing 
> listSipp-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/sipp-users
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Sipp-users mailing list
> Sipp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to