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

Daniel-Constantin Mierla notifications at github.com
Fri Aug 12 17:46:40 CEST 2022


That was a behaviour due to a mistake, respectively the IF had the condition **if function name pointer is not null and first character is `\0`** -- practically on empty string was trying to find the acc function with empty string name:

```
		/* import the acc stuff */
		if(acc_fct_s != 0 && acc_fct_s[0] == '\0') {
			fct = find_export(acc_fct_s, 2, REQUEST_ROUTE);
```
Obviously it was supposed to find the acc function when the name was not null and not empty string. The new version of the module fixed the mistake and the function name has to be set to emtpy string via modparam.

If that does not work, reopen.

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

Message ID: <kamailio/kamailio/issues/3188/1213255701 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220812/90c1bbd6/attachment-0001.htm>


More information about the sr-dev mailing list