Hi,

In a SIP INVITE I am trying to include a binary Content-Type (for SIP-t
support).
Using \x it's possible to get binary data sent in the invite.

But when '0' needs to be transmitted the invite is truncated at that point.
I guess this is because the '0' is taken as an end of string marker?

Any ideas how to get around this?

Thanks, Maurice.

Please see the sample below, the \x00 triggers the truncation:

     Content-Type:multipart/mixed; boundary=bound49
     Content-Length:[len]
     MIME-Version:1.0

     --bound49
     Content-Type:application/SDP;charset=ISO-10646

     v=0
     o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
     s=MMS call
     c=IN IP[media_ip_type] [media_ip]
     t=0 0
     m=audio [media_port] RTP/AVP 0
     a=rtpmap:0 GSM-EFR/8000

     --bound49
     Content-Type: application/ISUP; version=si1; base=itu-t92+
     Content-Transfer-Encoding:binary

     \x06\x01\x07\x02\x00\x09\x01\x03\x04

     --bound49--
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to