I tried to configure dmq module according to README, but got this kind of error:
Feb 20 07:32:55 rautu /usr/bin/pres-serv[17983]: ERROR: dmq [dmq.c:228]: mod_init(): server_uri is not a socket the proxy is listening on
In the config I have:
modparam("dmq", "server_address", "sip:192.26.133.10:5080")
and just above the error message there is this in syslog:
Feb 20 07:32:55 rautu pres-serv[17959]: Listening on Feb 20 07:32:55 rautu pres-serv[17959]: tcp: 192.26.133.10 [192.26.133.10]:5080
i.e., server is listening on the same ip/port as in server_address.
I tried also by configuring
modparam("dmq", "server_address", "tcp:192.26.133.10:5080")
since "sip" is not a transport protocol of a socket, but that was rejected with "server address invalid" error message.
It is confusing that error message refers to server_uri, when modparam is called server_address.
I must be missing something. Any ideas what it is?
-- Juha
Hi Juha,
You’re not missing anything. DMQ only works with UDP.
I agree the parameter naming is confusing - I have an improvements branch that I’ve been working on recently and it includes some updates to documentation. I will make sure this is one of them :)
Cheers,
Charles
On Tue, 20 Feb 2018 at 05:49, Juha Heinanen jh@tutpro.com wrote:
I tried to configure dmq module according to README, but got this kind of error:
Feb 20 07:32:55 rautu /usr/bin/pres-serv[17983]: ERROR: dmq [dmq.c:228]: mod_init(): server_uri is not a socket the proxy is listening on
In the config I have:
modparam("dmq", "server_address", "sip:192.26.133.10:5080")
and just above the error message there is this in syslog:
Feb 20 07:32:55 rautu pres-serv[17959]: Listening on Feb 20 07:32:55 rautu pres-serv[17959]: tcp: 192.26.133.10 [192.26.133.10]:5080
i.e., server is listening on the same ip/port as in server_address.
I tried also by configuring
modparam("dmq", "server_address", "tcp:192.26.133.10:5080")
since "sip" is not a transport protocol of a socket, but that was rejected with "server address invalid" error message.
It is confusing that error message refers to server_uri, when modparam is called server_address.
I must be missing something. Any ideas what it is?
-- Juha
Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
On Tue, 20 Feb 2018 at 09:11, Juha Heinanen jh@tutpro.com wrote:
Charles Chance writes:
You’re not missing anything. DMQ only works with UDP.
So no security over the Internet if TLS is not available? IPSec doesn't sound like a good idea.
I suppose it was only intended to be used over a private network. If you really have no alternative then I can recommend Tinc as nice, simple solution.
Cheers,
Charles