[sr-dev] [kamailio/kamailio] uac_redirect: Module fails to load [regression] (Issue #3188)

Daniel-Constantin Mierla notifications at github.com
Wed Aug 10 22:34:55 CEST 2022


Analysing the snippet in previous comment, there is a bug obviously, probably the acc function was looked up by the fixup function, not by mod init -- in the `get_redirect_fixup()` function the condition is:

```
			/* must import the acc stuff */
			if (acc_fct_s==0 || acc_fct_s[0]==0) {
				LM_ERR("acc support enabled, but no acc function defined\n");
				return E_UNSPEC;
			}
```
So, the bug could have been the reason to not require empty value for acc function parameter to disable acc.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3188#issuecomment-1211240724
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3188/1211240724 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220810/6bad57a9/attachment-0001.htm>


More information about the sr-dev mailing list