Hi,

I got the following error running sipp on windows xp.

"Unsupported keyword 'len' in xml scenario file"

I ran the same script on another windows xp machine without any errors.

Below is the script file.

Melbourne

---------------------------------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">

<!-- ############################################################ -->
<!-- Objective:                                    -->
<!--                                  -->
<!--    Publish_Technician2                      -->
<!--                                  -->
<!--    This script send a PUBLISH request for Technician 2       -->
<!--    The following strings must be changed before executing    -->
<!--    this script:                          -->
<!--    <wtl_machine> - ip-address of the test machine with the   -->
<!--                    SIP softphone for Tech1 installed         -->
<!--    <tech2_phone_port> - port which the SIP softphone for     -->
<!--                    Tech2 is listening should you have        -->  
<!--                    installed a third SIP softphone for       -->
<!--                    tech2.  Otherwise use the value :5999     -->
<!--                                  -->
<!-- Date:                                                        -->
<!--    30-June-2006                                              -->
<!--                                                              -->
<!-- ############################################################ -->

<scenario name="Publish_Tech2">

  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
  <!-- Publish first  user from event list              -->
  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
  
 <send>
    <![CDATA[

      PUBLISH sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0
      Max-Forwards: 70
      From: <sip:[EMAIL PROTECTED]>;tag=[call_number]
      To: <sip:[EMAIL PROTECTED]>
      Content-Type: application/pidf+xml
      Via: SIP/2.0/[transport] [local_ip]:[local_port]
      CSeq: 1 PUBLISH
      Call-ID: [call_id]
      Expires: 300
      Event: presence
      Content-Length:[len]

     <?xml version="1.0" encoding="UTF-8"?>
     <presence entity="[EMAIL PROTECTED]" 
xmlns="urn:ietf:params:xml:ns:pidf">
        <tuple id="1234560001">
                <status>
                    <basic>open</basic>
                 </status>
                 <contact>sip:[EMAIL PROTECTED]:5060</contact>
         </tuple>
     </presence>

   ]]>
  </send>

  <recv response="200" optional="false">
  </recv>


</scenario>
----------------------------------------------------------------------------

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to