Hello,
Just to add the obvious solution as well, the change_reply_status(..) could be
adapted to support pseudo-variables. But of course, this needs some code
extensions.
Cheers,
Henning
--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services -
Thanks Alex.
great indeed.
De : sr-users de la part de Alex Balashov
Envoyé : vendredi 12 août 2022 18:12
À : Kamailio (SER) - Users Mailing List
Objet : Re: [SR-Users] Change reply code reason other than using
change_reply_status
Depending on what you’re
Depending on what you’re trying to accomplish, you could intercept the negative
reply (if a negative reply is what you’re trying to change) in a failure_route
and use send_reply() to send back an entirely different reply to the caller,
functionally altering the status/reason.
— Alex
> On Aug
hello is there a way to change reply code reason other than using () function.
because the first parameterc of change_reply_status needs to be a constant so
i can not use pseudo var for first argument of that function.
so i use change_reply_status_code to change to code with a pseudo. but i
Heya
I try to use mutli tree mtree to define multiple 'named' prefixes.
id(int,auto) tname(string) tprefix(string) tvalue(string)
0:tech:+1:1
0:tech:+9:1
0:cust:+1:1
0:cust:+9:0
Kamailio is not complaining while loading this file, but mtree.summary
shows no entries.
Any hint on what I may be