Problem solved.
Sorry! What I saw, was just an artefact. Indeed, you cannot use textops' "add_body" for inserting binary data, because it really converts to a human readable presentions with hex-nibbles. However, insert_data_lump does no conversion at all. It really just copies, what you give. (Ok, this will not suprise most of you experts.) Normally I'm using tcpdump, when investigating such kind of problmem, but this time, I used the tracing tool of my SIP- gateway, which displays binary data of ISUP bodies correctly. But for my very first test, I just overwrote the SDP body, and not yet change the Content-type. As my SIP-gateway expected the SDP body, which is not binary, it converted internally to a ASCII-presentation with octal digits. Unfortunately I was thinking only in one direction, because of my experience with "add_body" and was blind for other possible sources of the problem. Sorry, for bringing noise the this list! insert_data_lump... _is_ the right tool for inserting binary or any data. Roger. _______________________________________________ Devel mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
