Greetings,
Regarding the module sipt and $sipt(redirection_number). Does this PV can show non digits correctly?
I have a redirection number that has one char in the middle, like this "12C34567899". However, when i print the PV, i get "12<34567899". How can i fix this?
Thanks,
Best Regards,
Duarte Rocha
Am Freitag, 4. Januar 2019, 17:20:54 CET schrieb Duarte Rocha:
Regarding the module sipt and $sipt(redirection_number). Does this PV can show non digits correctly?
I have a redirection number that has one char in the middle, like this "12C34567899". However, when i print the PV, i get "12<34567899". How can i fix this?
Hello Duarte,
I quickly looked into the code, the respective function evaluate the value as a numerical value. If you want to change this there is probably a coding extension necessary.
Its probably this function in sipt.c:
static int sipt_get_presentation(struct sip_msg *msg, pv_param_t *param, pv_value_t *res)
Best regards,
Henning