I am using sipp-3.5.1 and trying to send a fairly large invite with a multipart body. When using the [len] variable, it sends 7845 as the length, but I estimate it should be over 10,000. Any suggestions? Below is the scenario:
<?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE scenario SYSTEM "sipp.dtd"> <scenario name="ICE Test"> <!-- In client mode (sipp placing calls), the Call-ID MUST be --> <!-- generated by sipp. To do so, use [call_id] keyword. --> <send retrans="500"> <![CDATA[ INVITE sip:911@[remote_ip]:[remote_port] SIP/2.0 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number] To: sut <sip:911@[remote_ip]:[remote_port]> Call-ID: [call_id] CSeq: 1 INVITE Contact: sip:sipp@[local_ip]:[local_port] Max-Forwards: 70 Subject: Performance Test Geolocation: <http://ldb.ddti.net:56081/?LbyR=c6e9503a-95ca-4dc4-a126-db61a9f769ea>;inserted-by=WcfServiceESRP1.2.1.0;used-for-routing Geolocation-Routing: yes Call-Info: urn:nena:uid:incidentid:01FBD3F98006D1771027142108242Z:bcf.ingressl.left.oracle.ng911test.iit.edu;purpose=nena-IncidentId,urn:nena:uid:callid:01FBD3F98006D1771027142108242Z:bcf.ingressl.left.oracle.ng911test.iit.edu;purpose=nena-CallId Call-Info: <cid:ProviderInfo@EsrpSimulator.com>;purpose=EmergencyCallData.ProviderInfo Call-Info: <cid:ServiceInfo@EsrpSimulator.com>;purpose=EmergencyCallData.ServiceInfo Call-Info: <cid:DeviceInfo@EsrpSimulator.com>;purpose=EmergencyCallData.DeviceInfo Call-Info: <cid:Subscriber@EsrpSimulator.com>;purpose=EmergencyCallData.Subscriber Call-Info: <cid:Comment@EsrpSimulator.com>;purpose=EmergencyCallData.Comment Content-Type: multipart/mixed;boundary=sip-boundary-gkjcxcgkj Content-Length: [len] --sip-boundary-gkjcxcgkj Content-Type: application/SDP Content-Length: 386 v=0 o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip] s=- c=IN IP[media_ip_type] [media_ip] t=0 0 m=audio [media_port] RTP/AVP 0 a=rtpmap:0 PCMU/8000 --sip-boundary-gkjcxcgkj Content-Type: application/pidf+xml Content-Length: 554 <?xml version="1.0" encoding="UTF-8"?> <presence entity="pres:t...@ldb.ddti.net" xmlns="urn:ietf:params:xml:ns:pidf"><tuple id="15887d70-2c5f-4dd1-af97-f0a055ea4717"><status><geopriv xmlns="urn:ietf:params:xml:ns:pidf:geopriv10"><location-info><civicAddress xmlns="urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr"><country>US</country><A1>IL</A1><A2>CLAY</A2><A3>CLAY CITY</A3><PRD>S</PRD><RD>3RD</RD><STS>ST</STS><PCN>CLAY CITY</PCN></civicAddress></location-info><usage-rules /></geopriv></status><contact>tel:+16306820002</contact></tuple></presence> --sip-boundary-gkjcxcgkj Content-Type: application/pidf+xml Content-Length: 554 <?xml version="1.0" encoding="UTF-8"?> <presence entity="pres:t...@ldb.ddti.net" xmlns="urn:ietf:params:xml:ns:pidf"><tuple id="15887d70-2c5f-4dd1-af97-f0a055ea4717"><status><geopriv xmlns="urn:ietf:params:xml:ns:pidf:geopriv10"><location-info><civicAddress xmlns="urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr"><country>US</country><A1>IL</A1><A2>CLAY</A2><A3>CLAY CITY</A3><PRD>S</PRD><RD>3RD</RD><STS>ST</STS><PCN>CLAY CITY</PCN></civicAddress></location-info><usage-rules /></geopriv></status><contact>tel:+16306820002</contact></tuple></presence> --sip-boundary-gkjcxcgkj Content-Type: application/EmergencyCallData.ProviderInfo+xml Content-ID: <provideri...@esrpsimulator.com> <ad:EmergencyCallData.ProviderInfo xmlns:ad="urn:ietf:params:xml:ns:EmergencyCallData:ProviderInfo"> <ad:DataProviderReference>string0987654...@example.org </ad:DataProviderReference> <ad:DataProviderString>Smith Telecom Inc.</ad:DataProviderString> <ad:ProviderID>urn:nena:companyid:ID123</ad:ProviderID> <ad:ProviderIDSeries>NENA</ad:ProviderIDSeries> <ad:TypeOfProvider>Telecom Provider</ad:TypeOfProvider> <ad:ContactURI>tel:+1-201-555-0123</ad:ContactURI> <ad:Language>en</ad:Language> <ad:DataProviderContact xmlns="urn:ietf:params:xml:ns:vcard-4.0"> <vcard> <fn> <text>John Smith</text> </fn> <n> <surname>Smith</surname> <given>John</given> <additional/> <prefix/> <suffix>ENP</suffix> </n> <bday> <date>--0203</date> </bday> <anniversary> <date-time>20090808T1430-0500</date-time> </anniversary> <gender> <sex>M</sex> </gender> <lang> <parameters> <pref> <integer>1</integer> </pref> </parameters> <language-tag>en</language-tag> </lang> <lang> <parameters> <pref> <integer>2</integer> </pref> </parameters> <language-tag>de</language-tag> </lang> <org> <parameters> <type> <text>work</text> </type> </parameters> <text>Example VoIP Provider</text> </org> <adr> <parameters> <type> <text>work</text> </type> <label> <text>John Smith 123 First St. New York, NY 12345</text> </label> </parameters> <pobox/> <ext/> <street>123 First St.</street> <locality>New York</locality> <region>NY</region> <code>12345</code> <country>USA</country> </adr> <tel> <parameters> <type> <text>work</text> <text>voice</text> </type> </parameters> <uri>tel:+1 800-123-4567</uri> </tel> <email> <parameters> <type> <text>work</text> </type> </parameters> <text>john.sm...@smithtelecom.com</text> </email> <geo> <parameters> <type> <text>work</text> </type> </parameters> <uri>geo:60.210796,24.812924</uri> </geo> <key> <parameters> <type> <text>work</text> </type> </parameters> <uri>http://www.SmithTelecom.com/key.asc </uri> </key> <tz> <text>America/Eastern</text> </tz> <url> <parameters> <type> <text>work</text> </type> </parameters> <uri>http://www.SmithTelecom.com</uri> </url> </vcard> </ad:DataProviderContact> </ad:EmergencyCallData.ProviderInfo> --sip-boundary-gkjcxcgkj Content-Type: application/EmergencyCallData.ServiceInfo+xml Content-ID: <servicei...@esrpsimulator.com> <svc:EmergencyCallData.ServiceInfo xmlns:svc="urn:ietf:params:xml:ns:EmergencyCallData:ServiceInfo"> <svc:DataProviderReference>2468.iboc.mlts.1...@example.org </svc:DataProviderReference> <svc:ServiceEnvironment>Business</svc:ServiceEnvironment> <svc:ServiceType>MLTS-hosted</svc:ServiceType> <svc:ServiceMobility>Fixed</svc:ServiceMobility> </svc:EmergencyCallData.ServiceInfo> --sip-boundary-gkjcxcgkj Content-Type: application/EmergencyCallData.DeviceInfo+xml Content-ID: <devicei...@esrpsimulator.com> <dev:EmergencyCallData.DeviceInfo xmlns:dev="urn:ietf:params:xml:ns:EmergencyCallData:DeviceInfo"> <dev:DataProviderReference>d4b3072df.201409182208...@example.org </dev:DataProviderReference> <dev:DeviceClassification>fixed</dev:DeviceClassification> <dev:DeviceMfgr>Nokia</dev:DeviceMfgr> <dev:DeviceModelNr>Lumia 800</dev:DeviceModelNr> <dev:UniqueDeviceID TypeOfDeviceID="IMEI">35788104 </dev:UniqueDeviceID> </dev:EmergencyCallData.DeviceInfo> --sip-boundary-gkjcxcgkj Content-Type: application/EmergencyCallData.SubscriberInfo+xml Content-ID: <subscri...@esrpsimulator.com> <EmergencyCallData.SubscriberInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" privacyRequested="false" xmlns="urn:ietf:params:xml:ns:EmergencyCallData:SubscriberInfo"> <DataProviderReference>feabfecd...@example.org</DataProviderReference> <SubscriberData> <vcard xmlns="urn:ietf:params:xml:ns:vcard-4.0"> <adr> <parameters> <type> <text>home</text> </type> <label> <text>Bill Jones 311 Stonebrook St. Simi Valley, CA 93065</text> </label> </parameters> <pobox /> <ext /> <street>311 Stonebrook St.</street> <locality>Simi Valley</locality> <region>CA</region> <code>93065</code> <country>USA</country> </adr> <anniversary> <date-time>20090808T1430-0500</date-time> </anniversary> <bday> <date>--0203</date> </bday> <email> <parameters> <type> <text>home</text> </type> </parameters> <text>billjo...@hotmail.com</text> </email> <email> <parameters> <type> <text>work</text> </type> </parameters> <text>billjo...@abc.com</text> </email> <fn> <text>Bill Jones</text> </fn> <geo> <parameters> <type> <text>work</text> </type> </parameters> <uri>geo:46.766336,-71.28955</uri> </geo> <key> <parameters> <type> <text>work</text> </type> </parameters> <uri>http://www.viagenie.ca/Bill.Jones/Jones.asc</uri> </key> <lang> <parameters> <pref> <integer>1</integer> </pref> </parameters> <language-tag>en</language-tag> </lang> <lang> <parameters> <pref> <integer>2</integer> </pref> </parameters> <language-tag>fr</language-tag> </lang> <n> <surname>Jones</surname> <given>Bill</given> <additional /> <prefix /> </n> <org> <parameters> <type> <text>work</text> </type> </parameters> <text>Viagenie</text> </org> <gender> <sex>M</sex> </gender> <tel> <parameters> <type> <text>home</text> <text>voice</text> </type> </parameters> <uri>tel:+1 818 555 3333</uri> </tel> <tel> <parameters> <type> <text>cell</text> </type> </parameters> <uri>tel:+1 818 444 1212</uri> </tel> <tz> <text>America/Pacific</text> </tz> <url> <parameters> <type> <text>home</text> </type> </parameters> <uri>http://nomis80.org</uri> </url> </vcard> </SubscriberData> </EmergencyCallData.SubscriberInfo> --sip-boundary-gkjcxcgkj Content-Type: application/EmergencyCallData.Comment+xml Content-ID: <comm...@esrpsimulator.com> <com:EmergencyCallData.Comment xmlns:com="urn:ietf:params:xml:ns:EmergencyCallData:Comment"> <com:DataProviderReference>string0987654...@example.org </com:DataProviderReference> <com:Comment xml:lang="en">This is an example of a comment.</com:Comment> </com:EmergencyCallData.Comment> --sip-boundary-gkjcxcgkj ]]> </send> <recv response="100" optional="true"> </recv> <recv response="180" optional="true"> </recv> <!-- By adding rrs="true" (Record Route Sets), the route sets --> <!-- are saved and used for following messages sent. Useful to test --> <!-- against stateful SIP proxies/B2BUAs. --> <recv response="200" rtd="true"> </recv> <!-- Packet lost can be simulated in any send/recv message by --> <!-- by adding the 'lost = "10"'. Value can be [1-100] percent. --> <send> <![CDATA[ ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number] To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param] Call-ID: [call_id] CSeq: 1 ACK Contact: sip:sipp@[local_ip]:[local_port] Max-Forwards: 70 Subject: Performance Test Content-Length: 0 ]]> </send> <!-- This delay can be customized by the -d command-line option --> <!-- or by adding a 'milliseconds = "value"' option here. --> <pause/> <!-- The 'crlf' option inserts a blank line in the statistics report. --> <send retrans="500"> <![CDATA[ BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number] To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param] Call-ID: [call_id] CSeq: 2 BYE Contact: sip:sipp@[local_ip]:[local_port] Max-Forwards: 70 Subject: Performance Test Content-Length: 0 ]]> </send> <recv response="200" crlf="true"> </recv> <!-- definition of the response time repartition table (unit is ms) --> <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/> <!-- definition of the call length repartition table (unit is ms) --> <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/> </scenario> Thomas Johnson ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users