[SR-Users] sip code and sip reason read only

Kelvin Chua kelchy at gmail.com
Sat Mar 15 00:43:32 CET 2014


for anyone looking for the same thing, it's in textopsx module

onreply_route {
    if (@status == "603") {
        change_reply_status(404, "Not Found");
        exit;
    }
}

Kelvin Chua


On Fri, Mar 14, 2014 at 6:06 AM, Kelvin Chua <kelchy at gmail.com> wrote:

> How can i alter at least the sip reason in transit?
>
> $rr is read only
>
> for example:
> what i wanted to do is when an egress switch returned,
>   404 i am ugly
> i wanted to return this to ingress
>   404 he is ugly
>
> Kelvin Chua
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140315/ecb30bdd/attachment.html>


More information about the sr-users mailing list