Hello guys,
i'm seeing something weird, and i'm working if you can let me know.
I have a kamailio in AWS with a private IP listening on several sockets:
Listening on
udp: 10.1.2.36:5070
udp: 10.1.2.36:5080
udp: 10.1.2.36:5160 advertise 4.3.2.1:5160
udp: 0.0.0.0:5066
tls: 10.1.2.36:443 advertise sip.something.com:443
tls: 10.1.2.36:444 advertise sip.something.com:444
tls: 10.1.2.36:5061
When forwarding a udp invite received on 10.1.2.36:5080 to a public ip
provider say on 8.8.8.8:5060, i'm forcing the outgoing socket with
force_socket via 10.1.2.36:5160. But the outgoing invite does NOT use 5160,
it uses some random port...
Anybody knows why this might be?
my problem is, that call goes to freeswitch... call is setup properly and
connects fine. But 15 minutes later the end provider sends back a reINVITE,
which freeswitch then sends TO THE RANDOM PORT kamailio used to send the
INVITE... but by this time kamailio doesn't seem to even see the packet...
help is greatly appreciated!
David
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
Hi. I am using https://github.com/havfo/WEBRTC-to-SIP to have a web
sipcaller. it uses kamailio + rtpengine + web sipcaller (jssip)
right now it is working using internal kamailo account and can call to
another sip.
But I need to use websipcaller to call to voip provider. I tried to
register on my voip provider, and use just outbound websocket proxy, but
it not working giving 401
the config I am using is
https://github.com/havfo/WEBRTC-to-SIP/blob/master/etc/kamailio/kamailio.cfg
Please help adopt it to relay anything to external sip provider. I don't
know what I need, relay, sip trunk or path module.
kamailio configs are very hard for me to understand.
So I need it just as websocket proxy to my voip provider, that doesn't
support websocket.
thanks!
I have a Lua script which is split into multiple files, like:
/etc/kamailio/routing/
├── main.lua
├── logger.lua
└── db.lua
On restart, Kamailio fails to start with an error:
main.lua:2: module 'logger' not found:\n\tno field package.preload
If I set multiple files in the modparam parameter:
modparam("app_lua", "load", "/etc/kamailio/routing/main.lua")
modparam("app_lua", "load", "/etc/kamailio/routing/logger.lua")
I'm getting the same error.
Is it possible to load multiple files, or is this a limit to a single file currently?
HI kamailio users,
There is a WIP PR on master (and targeting 6.0) to clean-up legacy modules
on app_python3.
https://github.com/kamailio/kamailio/pull/3986/commits/a9eb4b35b67b58893772…
If you rely on pre-KEMI features (Core / Router / Logger / Ranks) can you
chime in here.
This work is also in preparation to enable the Kamailio module to use
free-threading builds of Python.
Regards
Richard