I was dealing with the same issue (to inject binary content to SIP messages) and I've ended up reading if from files:

...

[file name="path/static_file_name"][file name="path/[$variable_containing_the_file_name]"]

...

Pavel


Dne 30.1.2017 v 22:42 Trey Ormsbee napsal(a):
ello All-

Im trying to stick some binary data in the sdp of a sip message and am having a problem doing so. Here is the message in the scenario:

  <send retrans="500">
    <![CDATA[

      MESSAGE sip:+1111111111@[field1] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
      From: <sip:[field0]@[field1]>;tag=[call_number]
      To: <sip:+11111111111@[field1]>
      Call-ID: [call_id]
      CSeq: 1 MESSAGE
      Contact: sip:[field0]@[local_ip]:[local_port]
      Max-Forwards: 70
      Content-Type: application/vnd.3gpp.sms
      Content-Length: [len]

      [field3]

    ]]>
  </send>


I have tried putting the binary data in [feild3] in the csv file, but that does not seem to work. The binary data is generated by a perl script so that is an option as well. What is the best way to put that data into the scenario?

Also if it helps here is a hexdump of the content:

00000000 00 01 00 06 91 11 11 11 11 11 18 11 01 0a 81 22 |..............."|
00000010  22 22 22 22 00 00 aa 80  d4 f2 9c 9e 76 9f 01 |""""........v..|
0000001f


Any help would be appreciated.

Thanks


------------------------------------------------------------------------------
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