[SR-Users] Call reconnect in case of loss network

2019-05-08 Thread Gaurav Bmotra
HI i m gaurav i have installed kamailio 5.1.x on Ubuntu server 18.4 when i call from one to another extension , in case of loss network it disconnect the call or stuck there , how can i make it as re-connection when network loss , and it will try to reconnect for some seconds like 30 sec "Example

Re: [SR-Users] Sending in-dialog requests from custom module's C code

2019-05-08 Thread Henning Westerholt
Hello Ivan, this type of questions are better suited to our developer list, not the users list - adding it to CC. I haven't looked yet that deep into your previous e-mail, but have you already looked e.g. to the dialog module? This does something similar, e.g. bridging an existing dialog. It u

[SR-Users] DMQ re-ordering concern

2019-05-08 Thread Julien Chavanton
Yesterday at Kamailio World there was an interesting question, raising a concern about replication of user location and DMQ in general, we should track it in the mailing list and use it as a feature request and I can share my initial thoughts on the topic. The concern was about DMQ reordering tran

Re: [SR-Users] GDB debugging Kamailio 5.2.2 IMS authorization failed by the SCSCF

2019-05-08 Thread Federico Cabiddu
Hi, if I'm not wrong you should attach to the udp receiver process (8457). The cdp threads are used to send Diameter messages and process asynchronously the replies. Cheers, Federico On Wed, 8 May 2019, 12:43 Woscek, Martin W., wrote: > Hi, > > > > Looking for some advice running the debugger

Re: [SR-Users] How to configure Kamailio 5.1 with Asterisk pjsip

2019-05-08 Thread David Villasmil
This isn’t how you ask for help, buddy. Nobody on this mailing list is forced to help you. We’re all doing it because we love the project. We all started off by reading documentation. Even if it’s still old, most of it still applies. Moreover, this is a community effort. If you don’t like the doc

Re: [SR-Users] http_client_query module?

2019-05-08 Thread Andrew Chen
Sorry...my bad. It does work. I was looking at the wrong part of the log. thanks. On Wed, May 8, 2019 at 9:51 AM Andrew Chen wrote: > It is: > > #!define WITH_TLS 1 > > #!ifdef WITH_TLS > > loadmodule "tls.so" > > loadmodule "http_client.so" > > #!endif > > > is there any specific package I n

Re: [SR-Users] http_client_query module?

2019-05-08 Thread Andrew Chen
It is: #!define WITH_TLS 1 #!ifdef WITH_TLS loadmodule "tls.so" loadmodule "http_client.so" #!endif is there any specific package I need to have installed? On Wed, May 8, 2019, 03:32 Federico Cabiddu wrote: > Hi, > the errors are about http_client module not about tls. > did you load http

Re: [SR-Users] How to configure Kamailio 5.1 with Asterisk pjsip

2019-05-08 Thread Social Boh
Try and failure. The best for you. --- I'm SoCIaL, MayBe On 5/8/19 07:31, PICCORO McKAY Lenz wrote: El dom., 5 de may. de 2019 a la(s) 15:25, David Villasmil (david.villasmil.w...@gmail.com ) escribió: http://www.kamailio.org/wiki/tutorials/getting-

Re: [SR-Users] Udp errors on High Availability Setup

2019-05-08 Thread Arnd Schmitter
You could also activate/deactivate probing via RPC interface on failover. I think, that suppressing the error messages would require patching the code or setup some kind of filter in syslog or something similiar. On Mi, Mai 08, 2019 um 12:42:47, Duarte Rocha wrote: > Hello Arnd, > > Thank you f

Re: [SR-Users] Udp errors on High Availability Setup

2019-05-08 Thread Duarte Rocha
Hello Arnd, Thank you for answering me That would be a solution but i can't use it since i need to be able to specify sockets on a per Nap basis. My listen config has more addresses than those mentioned by me and the sockets are part of the NAP identification. The best way to solve this would be

Re: [SR-Users] Udp errors on High Availability Setup

2019-05-08 Thread Arnd Schmitter
Hello, you can give each Kamailio an own address on top of the HA addresses and setup dispatcher in config to use this address on default for probing. Small benefit: even if both HA addresses are running on one node only, pinging is still working. https://kamailio.org/docs/modules/5.2.x/module

Re: [SR-Users] How to configure Kamailio 5.1 with Asterisk pjsip

2019-05-08 Thread PICCORO McKAY Lenz
El dom., 5 de may. de 2019 a la(s) 15:25, David Villasmil ( david.villasmil.w...@gmail.com) escribió: > http://www.kamailio.org/wiki/tutorials/getting-started/main > Pretty vage, VAGE! > http://kb.asipto.com/asterisk:index which is about integrating Kamailio > and asterisk. It’s pretty old (4.0)

Re: [SR-Users] Udp errors on High Availability Setup

2019-05-08 Thread Duarte Rocha
Thank you for your answer. I forgot to mention, the Probing is being done by the dispatcher module and this is a Kamailio that works without registration A quarta, 8/05/2019, 13:04, Duarte Rocha escreveu: > Greetings, > > I have two Machines with Kamailio in a High Availability (HA) > configur

Re: [SR-Users] Udp errors on High Availability Setup

2019-05-08 Thread Boden Garman
Hi Duarte, You can enable a filter on the nathelper module to help with this https://www.kamailio.org/docs/modules/5.2.x/modules/nathelper.html#nathelper.p.filter_server_id Check the similar setting for usrloc if you're using cache mode https://www.kamailio.org/docs/modules/5.2.x/modules/usrloc.h

[SR-Users] Udp errors on High Availability Setup

2019-05-08 Thread Duarte Rocha
Greetings, I have two Machines with Kamailio in a High Availability (HA) configuration. Both machines are active and processing calls and both have one HA IP that can jump to the other machine in case of failure. I also have probing for NAPs configured with each IP as the socket. So, in each ma

[SR-Users] GDB debugging Kamailio 5.2.2 IMS authorization failed by the SCSCF

2019-05-08 Thread Woscek, Martin W.
Hi, Looking for some advice running the debugger and setting breakpoints in Kamailio modules such as the SCSCF. Example: We were trying to watch the authenticate() function: 714 int authenticate(struct sip_msg* msg, char* _realm, char* str2, int is_proxy_auth) { Our Kamailio 5.2.2 code was comp

Re: [SR-Users] http_client_query module?

2019-05-08 Thread Federico Cabiddu
Hi, the errors are about http_client module not about tls. did you load http_client module in your config? loadmodule "http_client.so" Federico On Tue, May 7, 2019 at 11:48 PM Andrew Chen wrote: > Hey guys, > > Need help here. What module besides tls.so I need to load in order to get > http_c

Re: [SR-Users] Sending in-dialog requests from custom module's C code

2019-05-08 Thread Ivan Ribakov
Anyone with module dev experience here who had to do something similar or used tm_load.h interface for other purposes? > On 7 May 2019, at 16:39, Ivan Ribakov wrote: > > I’m working on a custom Kamailio module where I need to send new-dialog and > in-dialog requests on timer (hence I’m being f