I have some updates regarding this issue:
After several attempts to make my script work I think it is ok now:
```
route[TO_PSTN] {
xlog("L_INFO", "##### Converting to multipart...");
set_body_multipart();
if(msg_apply_changes()) {
xlog("L_INFO", "##### Adding ISUP part...");
append_body_part("7e Od 04 55 75 69 20 4d 61 6b 65 43 61 6c 6c",
"application/ISUP;base=itu-t88;version=itu-t92+","signal;handling=required");
xlog("L_INFO", "##### Getting ready to send ISUP.");
if(msg_apply_changes()) {
xlog("L_INFO", "##### Ready to send ISUP.");
}
}
}
```
A can see a valid multipart message now. I think the `textops` documentation can be a
little more clear on how to modify messages and calling `msg_apply_changes` after each
modification from `textopsx` (not the same module).
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/661#issuecomment-225559006