Attention is currently required from: pespin.
2 comments:
File asterisk/AMI_Functions.ttcn:
/* TEXT Enc/dec is not happy with values containing "; ", get rid of them:
* "AppData: 5,0502: Call pjsip endpoint from 0501\r\n" */
var integer pos := f_strstr(patched_txt, "AppData: ", 0);
if (pos >= 0) {
var integer pos_end := f_strstr(patched_txt, "\r\n", pos) + lengthof("\r\n");
var charstring to_remove := substr(patched_txt, pos, pos_end - pos);
patched_txt := f_str_replace(patched_txt, to_remove, "");
}
It's removing the full line "AppData: 5,0502: Call pjsip endpoint from 0501\r\n", since we don't nee […]
ah thanks for explaining! could you update the comment, mention ": " and that it just removes the whole line? that would make it much clearer
Patch Set #3, Line 480: log("AMI_Msg decoded: ", msg);
That's more like a playground to test stuff interactively (recompile, test, etc. […]
Ack
To view, visit change 36755. To unsubscribe, or for help writing mail filters, visit settings.