Re: [SR-Users] Kamailio v5.1.5 Released

2018-09-04 Thread Ben Hood
Hey Daniel, Just FYI the FreeBSD maintainers have just uprev'ed port to the 5.1.5 upstream. Cheers, Ben > On 22 Aug 2018, at 11:45, Daniel-Constantin Mierla wrote: > > Hello, > > Kamailio SIP Server v5.1.5 stable release is out. > > This is a maintenance release of the latest stable

Re: [SR-Users] Problem with reconnection to database server

2018-09-04 Thread Henning Westerholt
Am Dienstag, 4. September 2018, 15:17:20 CEST schrieb Minh Phan: > My Kamailio instance is disconnected from database server (Postgres) quite > often (after running for some days) and it won't manage to reconnect. Any > idea why this happens? Normally it try to reconnect when connection with > the

Re: [SR-Users] dlg.end_dlg on RTP timeout

2018-09-04 Thread Igor Olhovskiy
As of now - just string in logs ) Regards, Igor On Sep 4, 2018, 1:52 PM +0200, Daniel-Constantin Mierla , wrote: > Hello, > what do you get from rtpengine on rtp timeout? An RPC call back or an http > request? > Cheers, > Daniel > > On 04.09.18 12:48, Igor Olhovskiy wrote: > > Hi all! > > > >

Re: [SR-Users] DMQ mem leak issues

2018-09-04 Thread Joel Serrano
Hi Charles, I'm trying to move _away_ from database for data replication and pass over to DMQ as much as possible, currently I have db_mode=1 for usrloc so that is why I asked. If I understand correctly, on a 2 node cluster, without database for usrloc and only using DMQ, as long as both nodes

Re: [SR-Users] DMQ mem leak issues

2018-09-04 Thread Charles Chance
Hi Joel, I have not had much time recently to find the cause of the issue with db_mode 1, although I should have some more time over the next couple of weeks. Out of interest, what will you be using the database for? Cheers, Charles On Fri, 24 Aug 2018 at 04:00, Joel Serrano wrote: > I’m

[SR-Users] Ipv6_to_ipv4

2018-09-04 Thread Karlheinz Knapp
i have tested the sample config from: https://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6 i found that i can register with v4 to kamailio and to the provider if i user ipv6 to kamailio and ipv4 to provider i can´t register. the packet from the provider contain a via entry which is missing

Re: [SR-Users] event_route [tcp:closed] not executed

2018-09-04 Thread Daniel-Constantin Mierla
On 04.09.18 15:46, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> The event_route was defined for the specific case where its name can be >> anything and it is a matter of modules to execute some as they need. >> >> The interpreter which is defined in core has no clue about what

Re: [SR-Users] event_route [tcp:closed] not executed

2018-09-04 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > The event_route was defined for the specific case where its name can be > anything and it is a matter of modules to execute some as they need. > > The interpreter which is defined in core has no clue about what names > can be there. The modules cannot complain

[SR-Users] Problem with reconnection to database server

2018-09-04 Thread Minh Phan
Hi List, My Kamailio instance is disconnected from database server (Postgres) quite often (after running for some days) and it won't manage to reconnect. Any idea why this happens? Normally it try to reconnect when connection with the DB is lost, desn't it? Bellow are the related log messages.

Re: [SR-Users] Missing ACC record in case of canceled call forking

2018-09-04 Thread Marco Capetta
Hello, Yes Flag 3 is set at the very beginning when we start handling the received INVITE message. I checked and it is still active in both the branches of the outgoing INVITEs. In the 1st case the following ACC is generated:     id: 311     method: INVITE   from_tag:     to_tag:    

Re: [SR-Users] event_route [tcp:closed] not executed

2018-09-04 Thread Daniel-Constantin Mierla
On 04.09.18 13:23, Juha Heinanen wrote: > Juha Heinanen writes: > >> I loaded tcpops module but still nothing to syslog from: >> >> event_route [tcp:close] > I had typo in above: should be closed instead of close. > > This again shows that it would be nice if it would be checked that each >

Re: [SR-Users] dispatcher probe

2018-09-04 Thread volga629
Hello Federico, Thank you for reply that exactly what I was looking for local route. The following worked as expected event_route[tm:local-request] { if(is_method("OPTIONS") && $hdr(User-Agent)=~"kamailio") { xlog("L_INFO", "Adding X-Node-ID header.\n");

Re: [SR-Users] dlg.end_dlg on RTP timeout

2018-09-04 Thread Daniel-Constantin Mierla
Hello, what do you get from rtpengine on rtp timeout? An RPC call back or an http request? Cheers, Daniel On 04.09.18 12:48, Igor Olhovskiy wrote: > Hi all! > > Is there any way to end dialog in Kamailio on RTP Timeout event on > RTPEngine? > > Or only look at logs/redis database with external

Re: [SR-Users] event_route [tcp:closed] not executed

2018-09-04 Thread Juha Heinanen
Juha Heinanen writes: > I loaded tcpops module but still nothing to syslog from: > > event_route [tcp:close] I had typo in above: should be closed instead of close. This again shows that it would be nice if it would be checked that each event_route has a home. -- Juha

Re: [SR-Users] event_route [tcp:closed] not executed

2018-09-04 Thread Juha Heinanen
I loaded tcpops module but still nothing to syslog from: event_route [tcp:close] Debug (below) now shows this: Sep 4 14:07:52 char /usr/bin/sip-proxy[6487]: DEBUG: tcpops [tcpops.c:233]: tcpops_handle_tcp_closed(): received TCP closed event Sep 4 14:07:52 char /usr/bin/sip-proxy[6487]:

Re: [SR-Users] event_route [tcp:closed] not executed

2018-09-04 Thread Juha Heinanen
I had not loaded tcpops module. Should work after that. How about checking that all event routes in config have corresponding modules loaded? -- Juha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

[SR-Users] dlg.end_dlg on RTP timeout

2018-09-04 Thread Igor Olhovskiy
Hi all! Is there any way to end dialog in Kamailio on RTP Timeout event on RTPEngine? Or only look at logs/redis database with external tool? Regards, Igor ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] event_route [tcp:closed] not executed

2018-09-04 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Can you test with latest master and debug=3, then send all debug > messages from tcp connect to disconnect? Below is the debug. First REGISTER comes at 13:13:26 and un-REGISTER at 13:13:29 followed by tcp connection close. -- Juha Sep 4 13:13:26 char

Re: [SR-Users] event_route [tcp:closed] not executed

2018-09-04 Thread Daniel-Constantin Mierla
On 04.09.18 11:41, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> Can you list the tcp connections via rpc and see if the one you expect >> to be closed is still listed there? > core.tcp_list after quiting baresip shows that the tcp connection has been > removed, i.e., is not

Re: [SR-Users] event_route [tcp:closed] not executed

2018-09-04 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Can you list the tcp connections via rpc and see if the one you expect > to be closed is still listed there? core.tcp_list after quiting baresip shows that the tcp connection has been removed, i.e., is not anymore in the list -- Juha

Re: [SR-Users] Missing ACC record in case of canceled call forking

2018-09-04 Thread Daniel-Constantin Mierla
Hello, is flag 3 set for the INVITE transaction? In the 1st case, is the CANCEL accounted or the INVITE transaction or both? Cheers, Daniel On 04.09.18 11:18, Marco Capetta wrote: > HiAll, > > As additional step I tested the scenario with kamailio v5.1.5 but the > problem seems still there. >

[SR-Users] TOPOH module im REGISTER method.

2018-09-04 Thread Mojtaba
Hello, I am used topoh module in kamailio, Why this module does not work (No change ) in Register request Method? I need to change UA' ip address in Via header in Register request before forwarded to my network? Does the topoh module used in this situation? I have not this issue in INVITE request,

Re: [SR-Users] event_route [tcp:closed] not executed

2018-09-04 Thread Daniel-Constantin Mierla
Can you list the tcp connections via rpc and see if the one you expect to be closed is still listed there? I haven't added the feature and not used it so far, but it might be the cleanup timer routing for tcp connections that trigger the event route. Cheers, Daniel On 04.09.18 11:07, Juha

[SR-Users] Missing ACC record in case of canceled call forking

2018-09-04 Thread Marco Capetta
HiAll, As additional step I tested the scenario with kamailio v5.1.5 but the problem seems still there. Best regards. Marco On 08/28/2018 03:10 PM, Marco Capetta wrote: Hi All, I'm facing a strange problem of missing ACC record in case of parallel call forking. The scenario is the

[SR-Users] event_route [tcp:closed] not executed

2018-09-04 Thread Juha Heinanen
Based on comment: https://github.com/kamailio/kamailio/issues/171#issuecomment-418175840 I gave event_route [tcp:closed] a try: event_route [tcp:closed] { # Handle TCP connection close xlog("L_INFO", "$proto connection closed ($conid)\n"); } Nothing comes to syslog when I quit my

Re: [SR-Users] Can't connect to local MySQL server (13 "Permission denied")

2018-09-04 Thread Ginhoux, Patrick
Hi, Looking at your message, I checked again the installation and mainly the symlink I had created for Kamailio to get the socket file. For some reason, this link were corrupted. Hereafter what was the issue: The initial symlink for the socket file was : ln -s

Re: [SR-Users] Can't connect to local MySQL server (13 "Permission denied")

2018-09-04 Thread David Villasmil
You should paste your failing cfg line. On Tue, Sep 4, 2018, 08:39 David Villasmil wrote: > Make sure the password is correct and try with "localhost" and if that > doesn't work, try with 127.0.0.1 > > On Tue, Sep 4, 2018, 07:35 Henning Westerholt wrote: > >> Am Freitag, 31. August 2018,

Re: [SR-Users] Can't connect to local MySQL server (13 "Permission denied")

2018-09-04 Thread David Villasmil
Make sure the password is correct and try with "localhost" and if that doesn't work, try with 127.0.0.1 On Tue, Sep 4, 2018, 07:35 Henning Westerholt wrote: > Am Freitag, 31. August 2018, 21:01:13 CEST schrieb Ginhoux, Patrick: > > Usually I connect on a command line like this ; > > > > su-

Re: [SR-Users] dispatcher probe

2018-09-04 Thread Federico Cabiddu
Hi, you can access locally generated packets in the event_route[tm:local-request]. Cheers, Federico On Tue, Sep 4, 2018 at 2:41 AM wrote: > Hello Everyone, > Is possible access OPTIONS packet generated by dispatcher probe ? > I am trying insert something like this. > >

Re: [SR-Users] dispatcher probe

2018-09-04 Thread volga629
Hello Mojtaba, Probe packet is generated by kamailio him self and it not visible in REQINIT, at least xlog not showing. volga629 On Tue, Sep 4, 2018 at 3:23 AM, Mojtaba wrote: Hi, Sure, You could add in REQINIT route block in Kamailio. With Regads.Mojtaba On Tue, Sep 4, 2018 at 5:11 AM

Re: [SR-Users] Can't connect to local MySQL server (13 "Permission denied")

2018-09-04 Thread Henning Westerholt
Am Freitag, 31. August 2018, 21:01:13 CEST schrieb Ginhoux, Patrick: > Usually I connect on a command line like this ; > > su- mysql > > mysql > > use siprouter; > > If now I use > > mysql -u siprouter -p > > Enter password: > > mysql:siprouter:(none)> use siprouter; > > Database changed >

Re: [SR-Users] dispatcher probe

2018-09-04 Thread Mojtaba
Hi, Sure, You could add in REQINIT route block in Kamailio. With Regads.Mojtaba On Tue, Sep 4, 2018 at 5:11 AM wrote: > > Hello Everyone, > Is possible access OPTIONS packet generated by dispatcher probe ? > I am trying insert something like this. > > if(is_method("OPTIONS") &&