minhvu7896 created an issue (kamailio/kamailio#4199)
<!-- 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:
* https://lists.kamailio.org/mailman3/postorius/lists/sr-users.lists.kamailio....
If you have questions about developing extensions to Kamailio or its existing C code, ask on sr-dev mailing list:
* https://lists.kamailio.org/mailman3/postorius/lists/sr-dev.lists.kamailio.or...
Please try to fill this template as much as possible for any issue. It helps the developers to troubleshoot the issue.
Note that an issue report may be closed automatically after about 2 months if there is no interest from developers or community users on pursuing it, being considered expired. In such case, it can be reopened by writing a comment that includes the token `/notexpired`. About two weeks before considered expired, the issue is marked with the label `stale`, trying to notify the submitter and everyone else that might be interested in it. To remove the label `stale`, write a comment that includes the token `/notstale`. Also, any comment postpone the `expire` timeline, being considered that there is interest in pursuing 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 (5.8.x): SIP proxy FreeSWITCH: Media
ref: https://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6 https://lists.kamailio.org/pipermail/sr-users/2018-April/101159.html
OS: Debian 12 gateway: aaaa:bbb:cccc:20::1 ipv6: aaaa:bbb:cccc:20::41e
kamailio.cfg: ``` #!define ADDR_IPV4 xxx.xxx.xxx.xxx #!define ADDR_IPV6 [aaaa:bbb:cccc:20::41e]
listen=ADDR_IPV4 listen=ADDR_IPV6 ```
I execute ```netstat -nlutp``` ``` tcp6 0 0 aaaa:bbb:cccc:20:::5060 :::* LISTEN 1691274/kamailio tcp6 0 0 aaaa:bbb:cccc:20:::5061 :::* LISTEN 1691274/kamailio udp6 0 0 aaaa:bbb:cccc:20:::5060 :::* 1691222/kamailio ```
Why I set listen ip is ```aaaa:bbb:cccc:20::41e``` but kamailio stripped the last part of the address ```aaaa:bbb:cccc:20::```
Thank you.
github-actions[bot] left a comment (kamailio/kamailio#4199)
This tracker is for reporting issues in the C code, for questions about kamailio use sr-users@lists.kamailio.org mailing list.
Closed #4199 as completed.
henningw left a comment (kamailio/kamailio#4199)
It works for me in a quick test. When it works for you without the define, then ask at the kamailio mailing list as said.