Hi all,
i have a problem with my Kamailio SIP Server.
I set up a Kamailio SIP server in a virtual machine on a private network and i connect to this with a WireGuard VPN.
The problem is that i can connect to the SIP server throught different clients and users and i can call the other users, the devices ring and i can answer to the calls but unfortunatly there is no audio during the call :(
I can't understand why, it seems all si OK, a year ago i set up another SIP server with the same configuration and all works correctly with it.
Can anyone help me to understand why? I can copy and paste here all the config files if you need it.
Thank you so much in advance
Christian
Hi,
I set up a transparent kamailo proxy for IPv4 and IPv6.
The PBX which should be reached can handle both.
Now I have the case that the phone comes in on IPv6, but kamailio sends
it out via IPv4.
If I ping the PBX on the kamailio server (debian) I get the IPv6
address, since it is preferred.
Why does kamailio send to the IPv4 address of the PBX?
And how can I change this?
There are only A and AAAA records in the DNS
dns_try_ipv6=yes
is set.
Debian 12.5
Kamailio 5.6.5
Any hint is welcome.
Best regards
Bernd
Hi all,
I am using Kamailio 5.7.4 on a Debian 12 machine. I used ansible to
template some files, and a newline was omitted at the end of the uacreg
table due to a templating issue.
This caused kamailio to crash on start up, with the error:
20(27) CRITICAL: <core> [core/pass_fd.c:281]: receive_fd(): EOF on 24
Even with debug enabled it still wasn't clear the issue was caused by the
uac module. I had to do a gdb backtrace to figure it out.
Whilst the mistake was on my part, I wondered if this should be handled
more cleanly?
Cheers
Matthew
I am trying to build Kamailio with repo tags/5.6.4 to get my hands on the stirshaken module that was not part of apt repositories, however it results in a build error:
root@ip-fobby:/usr/src/kamailio# make modules modules=modules/stirshaken
make -C src/ modules
make[1]: Entering directory '/usr/src/kamailio/src'
CC (gcc) [M stirshaken.so] stirshaken_mod.o
stirshaken_mod.c:28:10: fatal error: stir_shaken.h: No such file or directory
28 | #include <stir_shaken.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [../../Makefile.rules:100: stirshaken_mod.o] Error 1
make[1]: *** [Makefile:511: modules] Error 1
make[1]: Leaving directory '/usr/src/kamailio/src'
make: *** [Makefile:34: modules] Error 2
Obviously there’s no stir_shaken.h file withib the directory src/modules/stirshaken, but I cannot see why, or how I proceed? Is this a likely symptom of faulty libstirshaken installation?
/M
Hi, I'm trying to capture the content of an AVP from the LCR module and assign it to another variable to make use of what is obtained by the regex. For this, I have used the avp_subst.
The content of $avp(i:709):
1|sip:|0|||2416027840||5061||;transport=udp|11|1
I need to extract the index that indicates the port "5061" at position 8.
I haven't been able to achieve this by trying several regex patterns.
Has anyone experienced something similar?
Thanks!
Hi,
The kamailio version we are using is "5.5.5", We are facing a kamailio
crash issue recently and it has generated the core-dump. Based on the
core-dump analysis we could see that "*si_desc = "udp receiver
child=3" *getting
crashed. We could see the below error in the core-dump trace,
#22 0x0000562c33524750 in udp_rcv_loop () at core/udp_server.c:543
tmp = 0x1150955ff0 <error: Cannot access memory at address 0x1150955ff0>
Please suggest how to fix this and your inputs will be appreciated.
Note: Due to confidentiality, I'm not able to share the core-dump trace.
Thanks.
Currently digest authentication hash algorithm (MD5 or SHA-256) is
selected when auth module is loaded. How about allowing to select it
also dynamically using the function flags?
-- Juha