Re: [sr-dev] dmq server address question

2018-02-20 Thread Charles Chance
On Tue, 20 Feb 2018 at 09:11, Juha Heinanen  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
-- 
*Charles Chance*
Managing Director

t. 0330 120 1200m. 07932 063 891

-- 
Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered 
office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, 
Birmingham Science Park, Birmingham B7 4BB.
___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] dmq server address question

2018-02-20 Thread Juha Heinanen
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.

-- Juha

___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] dmq server address question

2018-02-20 Thread Charles Chance
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  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
>
-- 
*Charles Chance*
Managing Director

t. 0330 120 1200m. 07932 063 891

-- 
Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered 
office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, 
Birmingham Science Park, Birmingham B7 4BB.
___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] dmq server address question

2018-02-19 Thread Juha Heinanen
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