<div dir="ltr">Hi Daniel,<div>This is to do with sending IMS SMS, where the SIP Body is encoded as GSM A (GSM 03.38) containing the SMS TPDU.</div><div>There's a few things the <b>smsops</b> module couldn't handle, I'm using Kemi so I was able to correctly encode / decode the values we needed using an external library but then couldn't encode this as the message body.</div><div>Ideally I'd be able to take the output of the external library to encode as the message body (in hex as it would be on the wire) and set it as the message body, but I imagine this is a bit of an edge-case so probably not much demand for it.</div><div>In the end some recent commits that addressed the same issues with smsops I was facing enabled me to use the smsops module to do everything I needed,</div><div>Cheers,</div><div>Nick</div><div><br></div><img src="cid:ii_ko7p3ll91" alt="image.png" width="556" height="272"><br><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 26, 2021 at 6:52 PM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
On 24.04.21 12:32, Nick wrote:<br>
> Hi all,<br>
><br>
> It seems in the UAC module the $uac_req(body) PV is evaluated as a string,<br>
><br>
> How can I set the value of the request body of a generated request, to<br>
> a raw hex value without it being interpreted as a string?<br>
<br>
Kamailio configuration file works only with integer and strings.<br>
<br>
Can you give an explicit example of what you try and what you expect to<br>
happen?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
Kamailio Advanced Training - Online<br>
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)<br>
  * <a href="https://www.asipto.com/sw/kamailio-advanced-training-online/" rel="noreferrer" target="_blank">https://www.asipto.com/sw/kamailio-advanced-training-online/</a><br>
<br>
</blockquote></div>