Argh, I can't believe I missed such an obvious error - what an idiot I am!
Of course it's now working perfectly with that change.
Thanks for your help, very much appreciated.On Thursday, 18 April 2019,
20:17:39 BST, Alex Balashov wrote:
Hi,
Note the difference between set_body() vs.
Hi,
Note the difference between set_body() vs. set_reply_body(), the latter
of which being my recommendation.
-- Alex
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
Hi Alex,
You are not the first person to say I'm working too hard, too fast and need to
slow down. But why break the habit of a lifetime!!
Anyway, I'm already using that function, but the body is empty and content
length zero.
This is what I have in kamailio.cfg:
append_to_reply("Test: This
David,
As usual, you are working too hard, too fast, and need to slow down,
breathe, relax, practice some "mindfulness techniques", and take a
meditative stroll through the documentation. :-)
https://kamailio.org/docs/modules/5.2.x/modules/textops.html#textops.f.set_reply_body
-- Alex
On Thu,
I've been reviewing the code for the sl module to try and see if it can be
modified to send the current body with send_reply().
However I'm not a C programmer so I'm fumbling around in the dark!
I came across this section in sl_funcs.c
/* if that is a redirection message, dump current message
Some custom XML. On Tuesday, 16 April 2019, 23:30:49 BST, Alex Balashov
wrote:
What are you trying to add?
—Sent from mobile, with due apologies for brevity and errors.
On Apr 16, 2019, at 6:28 PM, David Dean wrote:
Hello Kamailio gurus,
I'm successfully using send_reply() with