Re: [SR-Users] DMQ problems

2018-06-23 Thread Charles Chance
Hello,

Is there anything preventing the messages from reaching Kamailio? If you
have a pcap from one of the servers we may be able to see what’s happening.

Also, you have the notification address set to localhost - this should
instead point to one of the other nodes.

Cheers,

Charles

On Fri, 22 Jun 2018 at 21:35, Aleksandar Sosic 
wrote:

> Hi,
>
> I've set up a dmq server for other kamailio nodes with this parameters:
> ```
> modparam("dmq", "server_address","sip:10.0.0.101:5060")
> modparam("dmq", "notification_address", "sip:127.0.0.1:5060")
> modparam("dmq", "multi_notify", 1)
> modparam("dmq", "num_workers", 4)
> modparam("dmq", "ping_interval", 15)
> ```
>

Why are you setting the notification address as localhost?


> On the kamailio nodes the config is the following:
> ```
> modparam("dmq", "server_address", "sip:10.0.0.x:5060")
> modparam("dmq", "notification_address", "sip:10.0.0.101:5060")
> modparam("dmq", "multi_notify", 1)
> modparam("dmq", "num_workers", 4)
> modparam("dmq", "ping_interval", 15)
> ```
>
> On the kamailio dmq server I've got this in the logs:
> ```
> 25(41) ERROR: dmq [notification_peer.c:596]:
> notification_resp_callback_f(): deleting server sip:127.0.0.1:5060
> because of failed request
> 25(41) ERROR: dmq [notification_peer.c:599]:
> notification_resp_callback_f(): not deleting notification_peer
> ```
>
> On the kamailio nodes the same thing with the ip of the dmq server:
> ```
> 25(112) ERROR: dmq [notification_peer.c:596]:
> notification_resp_callback_f(): deleting server sip:10.0.0.101:5060
> because of failed request
> 25(112) ERROR: dmq [notification_peer.c:599]:
> notification_resp_callback_f(): not deleting notification_peer
> ```
>
> The request route on the dmq server is simple as this:
> ```
> request_route {
> if(is_method("KDMQ")){
> dmq_handle_message();
> }
> }#end request_route
> ```
>
> I've tried with some xlog-s inside the if(is_method("KDMQ")) but they
> don't show up so the dmq_handle_message() is not even executed.
>
> I've also tried to bind the dmq server to a different port but with no
> success on making it work.
>
> The dmq.list_nodes shows only the dmq server IP and the current node
> IP, the IPs of other nodes are not shown:
> ```
> root@proxy-94b6ccf46-t8fx2:/# kamcmd dmq.list_nodes
> {
> host: 10.0.0.101
> port: 5060
> resolved_ip: 10.0.0.101
> status: active
> last_notification: 0
> local: 0
> }
> {
> host: 10.0.0.45
> port: 5060
> resolved_ip: 10.0.0.45
> status: active
> last_notification: 0
> local: 1
> }
> ```
> And it's the same on all other kamailio nodes: dmq server ip and local ip.
>
> The kamailio version on all the nodes is:
> 5.2.0~dev6+0~20180616010152.1138+xenial
>
> Thanks,
> --
> Aleksandar Sosic
> mail: alex.sosic@evosip.cloud
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-- 
*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) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio installation

2018-06-23 Thread David Villasmil
For testing and development, sure.

In debian you need to add the Repo as stated above, adding the key:

wget -O- http://deb.kamailio.org/kamailiodebkey.gpg | sudo apt-key add -

Then adding the repo to the apt repo list:

echo "deb http://deb.kamailio.org/kamailio51 stretch main" >>
/etc/apt/sources.list

Then update apt:

apt-get update

Then install kamailio:

apt-get install kamailio kamailio-mysql...

To see exactly what you can install:

apt-get search kamailio

And take it from the list.

On Sat, Jun 23, 2018, 12:31 Kjeld Flarup 
wrote:

> Anybody would recommend using these ?
>
> https://hub.docker.com/u/kamailio/
>
>  Med Liberalistiske Hilsner --
> Civilingeniør, Kjeld Flarup - Mit sind er mere åbent end min tegnebog
> Sofienlundvej 6B, 7560 Hjerm
> ,
> Tlf: 40 29 41 49
> Den ikke akademiske hjemmeside for liberalismen - www.liberalismen.dk
>
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio installation

2018-06-23 Thread Kjeld Flarup

Anybody would recommend using these ?

https://hub.docker.com/u/kamailio/

 Med Liberalistiske Hilsner --
   Civilingeniør, Kjeld Flarup - Mit sind er mere åbent end min tegnebog
   Sofienlundvej 6B, 7560 Hjerm, Tlf: 40 29 41 49
   Den ikke akademiske hjemmeside for liberalismen - www.liberalismen.dk



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


[SR-Users] ims_usrloc_pcscf module hashing_type parameter does not work

2018-06-23 Thread tyd
Dear sir,

I'm working on Kamailio 4.4.0 and 5.1.4.
When registering to Kamailio IMS using the same ip and port for 30 user
(different contact user part),
the pcscf get the same hash number and aor value.
The hashing_type = 0 seems not to be work.

Can anyone help me?
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users