Re: [SR-Users] TEXTOPS parser problem with binary data in MIME body

2015-02-27 Thread Federico San Martín
Federico - Original Message - From: "Klaus Feichtinger" To: sr-users@lists.sip-router.org, fsanmar...@telecentro.net.ar Sent: Thursday, February 26, 2015 5:10:22 PM Subject: Re: [SR-Users] TEXTOPS parser problem with binary data in MIME body Hi Frederico, the only (quick) solu

Re: [SR-Users] TEXTOPS parser problem with binary data in MIME body

2015-02-26 Thread Klaus Feichtinger
Hi Frederico, the only (quick) solution I had found was doing message parsing (MIME body) in an external PERL script, returning the information that I was searching for (from that body) to the config script and reducing the multipart body to a single body. This is (until now) working fine...

Re: [SR-Users] TEXTOPS parser problem with binary data in MIME body

2013-09-17 Thread Daniel-Constantin Mierla
Hello, most of the functions for pseudo-variables work with string types, that because a script variable can have only integer or string values. Even the length can be higher, these functions truncate at first 0. But internally all should be kept, just not passed to config variables. Have yo

Re: [SR-Users] TEXTOPS parser problem with binary data in MIME body

2013-09-17 Thread Klaus Feichtinger
Hello, I have an update to the side effects of receiving an INVITE message that contains a MIME body with binary data: - pseudo variables are affected, too - the message buffer ($mb) does not include the whole message; it is ending with the nul character - as the message buffer does not include