Re: [SR-Users] Kamailio IMS + Asterisk PBX

2017-11-20 Thread Daniel-Constantin Mierla
Hello, On 20.11.17 14:44, Amar Tinawi wrote: > Dears;  > Good day ! > > is it possible to use Asterisk pbx server as an Application server for > the kamailio IMS users ? as if i want to correlate an IMS user with an > extension number.  > > My though is kamailio ims  will handle the registration

Re: [SR-Users] Failed to find command http_client_query

2017-11-20 Thread Daniel-Constantin Mierla
Hello, in your email in this thread, you said: > When I try to change http_query to http_client_query it fails to load with  error "failed to find command http_client_query". Is it still the case, or that was sorted out? Cheers, Daniel On 20.11.17 22:43, Alexandru Covalschi wrote: > Works ok

Re: [SR-Users] Failed to find command http_client_query

2017-11-20 Thread Alexandru Covalschi
Works ok on 4.4.6. So I suppose it's a weird 5.0.4 + my environment bug. I'm rolling back to 4.4.6 right now, will keep one 5.0.4 machine for testing (on debian 9) Let me know if I can provide any dumps/cores etc. Alexandru Covalschi VoIP Engineer and System

Re: [SR-Users] Failed to find command http_client_query

2017-11-20 Thread Alexandru Covalschi
So the weirdest thing is Kamailio actually sends the request, but it returns curl error 6 in the answer variable. I have a plenty of clonned servers and same behaviour is on all of them, also just now tried on a fresh debian 9 - same result. I'm inside a virtual machine (vmware), but not sure

Re: [SR-Users] Failed to find command http_client_query

2017-11-20 Thread Alexandru Covalschi
I often get WARNING: http_client [functions.c:281]: curL_query_url(): Couldn't resolve host, while I don't even use hostnames. After I changed IP address to hostname (which I've added into /etc/hosts) nothing changed. It seems like a weird bug, but I've no idea - is it CURL or kamailio, but

Re: [SR-Users] Failed to find command http_client_query

2017-11-20 Thread Alexandru Covalschi
To be specific - it actually loads with http_client, but works not really well - I get empty body even when I see there's a body in sngrep Alexandru Covalschi VoIP Engineer and System Administrator tel: +373 673 98 493 > 20 нояб. 2017 г., в 21:58, Alexandru

[SR-Users] Failed to find command http_client_query

2017-11-20 Thread Alexandru Covalschi
Hello everyone, Updated to 5.0.4 from repo, up-to-date debian 8, http_client.so is certainly loaded. When I try to change http_query to http_client_query it fails to load with error "failed to find command http_client_query". Any ideas? It is same on all my test servers.

[SR-Users] Kamailio KEMI Framework Tutorial

2017-11-20 Thread Daniel-Constantin Mierla
Hello, I started a tutorial for Kamailio KEMI Framework written in markdown format targeting use of mkdocs. It is published on github as part of kamailio-docs repository:   * https://github.com/kamailio/kamailio-docs/tree/master/kamailio-kemi-framework The mkdocs build (to browse and read) is

Re: [SR-Users] http_async_client problem with tls_ca_path

2017-11-20 Thread Giacomo Vacca
Hi Giovanni, I'm glad it's fixed. The patch was pushed in 5.0 branch after the latest release (5.0.4, Oct 25th 2017), so it should be available as soon as 5.0.5 will be released (I think soon). Best Regards, Giacomo On 20 November 2017 at 15:12, gmele wrote: > Hi, > >

Re: [SR-Users] http_async_client problem with tls_ca_path

2017-11-20 Thread gmele
Hi, I recompiled the http_async_client instead of using the one provided in the rpm repository: all is working fine! I think we can close the topic! Do do know where we can find rpm with the latest 5.0.4 release? Regards Giovanni -- Sent from:

[SR-Users] Kamailio IMS + Asterisk PBX

2017-11-20 Thread Amar Tinawi
Dears; Good day ! is it possible to use Asterisk pbx server as an Application server for the kamailio IMS users ? as if i want to correlate an IMS user with an extension number. My though is kamailio ims will handle the registration process and authentication and Asterisk will deal with IMS

Re: [SR-Users] http_async_client problem with tls_ca_path

2017-11-20 Thread gmele
Hello Giacomo, I installed latest rpm found on http://download.opensuse.org/repositories/home:/kamailio:/v5.0.x-rpms/CentOS_7/x86_64/. Build date is Nov 16. I also installed curl version 7.52.1. After the installation, I started to test the https connection and still get the same problem with

Re: [SR-Users] 183 acc records even if early_media equals to 0

2017-11-20 Thread Daniel-Constantin Mierla
Hello, the patch should be fine for now. My review is mainly targeting to see if other tm callbacks suffer from same situation and if I can find a better solution. But for your specific case, should be ok to use as it is now. Cheers, Daniel On 20.11.17 12:13, Marco Capetta wrote: > Hi Daniel, >

Re: [SR-Users] Dmq usage

2017-11-20 Thread José Seabra
I didn't have sure about the behavior of that function, i don't know if do you have to use it with the dmq_is_from_node() in order to avoid loops. BR 2017-11-20 11:13 GMT+00:00 Aidar Kamalov : > if I call dmq_handle_message() all kamailio will dead beacause of loop. > >

Re: [SR-Users] 183 acc records even if early_media equals to 0

2017-11-20 Thread Marco Capetta
Hi Daniel, did you have time to review the fix, or can I use the last suggested patch? Thanks! Cheers, Marco On 11/14/2017 08:39 AM, Daniel-Constantin Mierla wrote: Hello, ok, thanks for testing, good to know the issue was identified! I will do another review soon to see if there would be a

Re: [SR-Users] Dmq usage

2017-11-20 Thread Aidar Kamalov
if I call dmq_handle_message() all kamailio will dead beacause of loop. 2017-11-20 14:08 GMT+03:00 José Seabra : > The 7 dmq messages that the node receives seems that are re-transmissions. > I think that you must call the dmq_handle_message() function within your > REDIS

Re: [SR-Users] Dmq usage

2017-11-20 Thread José Seabra
The 7 dmq messages that the node receives seems that are re-transmissions. I think that you must call the dmq_handle_message() function within your REDIS route in order to stop re-transmissions, but i'm not sure, make a test please. Regarding to that ERROR msg that you sent, it seems that your

Re: [SR-Users] Dmq usage

2017-11-20 Thread Aidar Kamalov
Redis replication is not about multi-master. All kamailio has same dmq settings (except server_address). And I see that ERROR message not always and not only to 192.168.150.225. And it is very strange that kamailio receive 7 sip messages if only one sent. So, this way to usage dmq right?

Re: [SR-Users] Dmq usage

2017-11-20 Thread José Seabra
Hello, Why do you are using DMQ to replicate data across your redis servers since redis has its own replication mechanisms? BR José 2017-11-20 10:12 GMT+00:00 Aidar Kamalov : > Hello, I want to distribute some messages-actions for redis to my kamailio > servers. > I use

Re: [SR-Users] Dmq usage

2017-11-20 Thread Aidar Kamalov
And also I can see that in my logs. But network is working ok. Nov 20 10:14:04 sipchel /usr/sbin/kamailio[8362]: ERROR: dmq [notification_peer.c:588]: notification_resp_callback_f(): deleting server sip:192.168.150.225:5060 because of failed request Nov 20 10:14:04 sipchel

[SR-Users] Dmq usage

2017-11-20 Thread Aidar Kamalov
Hello, I want to distribute some messages-actions for redis to my kamailio servers. I use this code: For send: dmq_bcast_message("redis", "set early:$fU", "text/plain"); For recieve: request_route { xnotice("ROOT: $rm $rU [$ci]"); if(is_method("KDMQ")) { if($rU == 'redis') {

Re: [SR-Users] kamailio-wiki dead links to github.com/....master branch

2017-11-20 Thread Daniel-Constantin Mierla
Hello, kemi framework is implemented by Kamailio core (files src/core/kemi.{c,h}), there is no module to be packaged for it. KEMI interpreter modules are app_jsdt, app_lua, app_python and app_squirrel (as of master branch and 5.1). Cheers, Daniel On 18.11.17 09:15, Karsten Horsmann wrote: >

Re: [SR-Users] no event received for call disconnection

2017-11-20 Thread Daniel-Constantin Mierla
Thanks for testing and reporting. I will backport to branch 5.0, so next 5.0.x release will have these fixes. Cheers, Daniel On 20.11.17 09:57, Aleksandar Sosic wrote: > Everything is working now, > > thanks for your help and quick fix! > -- > Aleksandar Sosic > mail: alex.so...@timenet.it >

Re: [SR-Users] no event received for call disconnection

2017-11-20 Thread Aleksandar Sosic
Everything is working now, thanks for your help and quick fix! -- Aleksandar Sosic mail: alex.so...@timenet.it skype: alex.sosic cell: +385 91 2505 146 On Mon, Nov 6, 2017 at 11:34 AM, Daniel-Constantin Mierla wrote: > Hello, > > only master branch got the patches, you have