[sr-dev] [kamailio/kamailio] acc: add to-tag for locally generated replies (#2422)

Julien Chavanton notifications at github.com
Wed Aug 12 18:34:39 CEST 2020


Would be good if I could also improve this to always have the real reason phrase sent.
Having a look at the options.

```
acc_env.code = code;
if (reply==FAKED_REPLY || reply==NULL) {
        /* code */
        acc_env.code_s.s =
                int2bstr((unsigned long)code, code_buf, &acc_env.code_s.len);
        /* reason */
        acc_env.reason.s = error_text(code);                                  
        acc_env.reason.len = strlen(acc_env.reason.s);
```

-- 
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/pull/2422#issuecomment-672982260
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200812/71aa7e83/attachment.htm>


More information about the sr-dev mailing list