[sr-dev] [kamailio/kamailio] tcpops fixup failure (#2772)

Julien Chavanton notifications at github.com
Wed Jun 9 21:00:25 CEST 2021


<!--
Kamailio Project uses GitHub Issues only for bugs in the code or feature requests. Please use this template only for bug reports.

If you have questions about using Kamailio or related to its configuration file, ask on sr-users mailing list:

  * http://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

If you have questions about developing extensions to Kamailio or its existing C code, ask on sr-dev mailing list:

  * http://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Please try to fill this template as much as possible for any issue. It helps the developers to troubleshoot the issue.

If there is no content to be filled in a section, the entire section can be removed.

You can delete the comments from the template sections when filling.

You can delete next line and everything above before submitting (it is a comment).
-->

### Description

Kamailio does not start when doing fixup for tcpops.

```
tcp_keepalive_enable("$avp(caller_conid)", "60", "5", "2");
```
```
 0(1) ERROR: <core> [core/route.c:1166]: fix_actions(): fixing failed (code=-1) at cfg:/etc/kamailio/kamailio.cfg:160
```

### Troubleshooting

I will try reverting the following commits 

```
commit 02240711239149e2f5c4890a70ab158d10fa8187
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Sat May 8 23:30:22 2021 +0200
    tcpops: use fixup_igp_all() instead of fixup_igp_null()
    - needed for functions with many parameters

commit 12fca1c369b6698cace66de171dcb166be8ae831
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Tue May 4 13:30:21 2021 +0200
    tcpops: use fixup function from core, remove internal wrapper
    - set also fixup free function in cmd exports
```


-- 
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/issues/2772
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210609/6650ec46/attachment.htm>


More information about the sr-dev mailing list