Re: [OpenSIPS-Users] ipv6 address check

2018-04-04 Thread Pasan Meemaduma via Users
Hi Guys, Should I open up a bug request for this ? On Tuesday, April 3, 2018, 2:33:34 PM GMT+5:30, Pasan Meemaduma via Users wrote: Hi Guys, I'm testing ipv6 on opensips 2.3. and I'm using the following script function to findout if the requesting ip is

Re: [OpenSIPS-Users] NAT Pings in v2.4 with Edge Proxy

2018-04-04 Thread John Quick
Hi Liviu, I had no idea that it was necessary to use "seed". Where is this documented? I've just added it to the flags column for my first node. This seems to have fixed some of the problems: - NAT Pings are now only coming from one node, not from both - Location data is being replicated when

Re: [OpenSIPS-Users] NAT Pings in v2.4 with Edge Proxy

2018-04-04 Thread Liviu Chircu
Quick question, before I read everything: did you designate a "seed" node in your cluster? To achieve this, you must pick a node and set the "flags" column to the "seed" string. We're patching up a lot of documentation during these days, including this "seed" idea. Liviu Chircu OpenSIPS

Re: [OpenSIPS-Users] Opensips 2.5 and fraud module

2018-04-04 Thread Liviu Chircu
Hi Denis, Some interesting data! Here's some analysis: 1) First we have this detection suite: 4/2/18 0:12 270675427b234658 X.X.X.X 11 8102463894929 Fraud_detectead 0 This is due to the "cpm" throttling (> 5 cpm within the last 2 minutes) hitting. Once he makes a pause until

Re: [OpenSIPS-Users] ipv6 address check

2018-04-04 Thread Pasan Meemaduma via Users
Thanks Liviu, I have submitted a bug request On Wednesday, April 4, 2018, 4:07:45 PM GMT+5:30, Liviu Chircu wrote: Hi Pasan, Yes, if you could move it over to GitHub [1], that would be great. Thanks! [1]: https://github.com/OpenSIPS/opensips/issues

Re: [OpenSIPS-Users] Opensips 2.5 and fraud module

2018-04-04 Thread Denis via Users
Liviu, and another interesting case.Here, https://yadi.sk/i/-vRrJXtz3U5m2Z, you can find cdr of the fraud case.In the table:time - time of the callcallid - sip callidsrc_domain - source ipsrc_user - caller (from one number)dst_user - calleesip_reason and duration - column from acc table. Several

Re: [OpenSIPS-Users] force socket to destination ip

2018-04-04 Thread Donato Zito
Dear Bogdan,  Thanks for your response. I suppose that record route is implicit using topology hiding module: is that correct? Greetings, -- Donato Zito | CTO N4COM S.R.L. Tel: +39 0909148000 Cel: +39 3471388322 Fax: +39 0909148970 mail : donato.z...@n4com.it Il

Re: [OpenSIPS-Users] ipv6 address check

2018-04-04 Thread Liviu Chircu
Hi Pasan, Yes, if you could move it over to GitHub [1], that would be great. Thanks! [1]: https://github.com/OpenSIPS/opensips/issues Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 04.04.2018 13:29, Pasan Meemaduma via Users wrote: Hi Guys, Should I open up a bug

[OpenSIPS-Users] nathelper function for ipv6

2018-04-04 Thread Pasan Meemaduma via Users
Hi Guys, Are nathelper module functions ipv6 safe ? I'm getting true for nat test with following call for an ipv6 address which is a globally unique unicast address. nat_uac_test("19") ___ Users mailing list Users@lists.opensips.org

Re: [OpenSIPS-Users] Opensips 2.5 and fraud module

2018-04-04 Thread Liviu Chircu
Ok, it seems the UTC theory was right. Quoting from "man gmtime_r": "The gmtime() function converts the calendar time timep to broken-down time representation, expressed in Coordinated Universal Time (UTC)". This is an ugly behavior IMO (to reset counters at 21:00), and we should consider

Re: [OpenSIPS-Users] Opensips 2.5 and fraud module

2018-04-04 Thread Liviu Chircu
Did OpenSIPS crash or restart between 0:25 - 3:20? I double checked, and "total_calls" cannot be reset in another way. Another possibility is that the code sees GMT time. Since Москва is on GMT+3, this may well explain the situation: first calls were placed around 21:25 GMT, then the "total

Re: [OpenSIPS-Users] Opensips 2.5 and fraud module

2018-04-04 Thread Denis via Users
Ok, i will check it. And what about "sequential call"? Should i make TT? P.S. I will ask you about one thing yet.Can i detect current 'time' using Opensips script? And compare it someway? Thank you. -- С уважением, Денис.Best regards, Denis 04.04.2018, 15:13, "Liviu Chircu"

Re: [OpenSIPS-Users] h264 webrtc and opensips

2018-04-04 Thread Esty, Ryan
Razvan, So I'm not sure if this helps or not but we just tested Janus and I was able to connect our device using that. I must have something wrong with my webrtc gateway approach in rtpengine. We would like to use opensips as it is more versatile at least we can prove not it isn't our devices.

Re: [OpenSIPS-Users] Opensips 2.5 and fraud module

2018-04-04 Thread Denis via Users
Hmmm it is interesting hypothesis. About time.I tried to check it directly. Now we have 04/04/2018 I made a test call and time answer was "Ср апр  4 14:45:37 MSK 2018" from unix shell command 'date', where апр - aprilСр - Wednesday4 - 4 april14:45:37 - timeMSK 2018 - timezone and a year. So in

Re: [OpenSIPS-Users] register to a sip server

2018-04-04 Thread Atux Atux
Any ideas, please? On Wed, Apr 4, 2018 at 8:46 AM, Atux Atux wrote: > Thanks a lot for the answers. I am have a couple of providers that offers > sip trunks in the format: > username, password, domain, did > john, whateverpass, sip.domaina.com,00498970043400-9 > tuxies,

Re: [OpenSIPS-Users] Opensips 2.5 and fraud module

2018-04-04 Thread Liviu Chircu
I will take care of the seq calls + "UTC time" investigation. Just let me know if you find anything else that refutes the theory in the meantime. For example, if fraud alerts are also skipped during daylight hours. Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On

Re: [OpenSIPS-Users] HEP Address Hostname error

2018-04-04 Thread Bogdan-Andrei Iancu
Hi Ben, So, from siptracemodule, you have multiple options in terms of what to do with the traced data: * you can duplicate it via SIP * you can dump it into DB * you can packit over HEP for Homer This is controlled via trace_id parameter in siptrace module. Now, next step: if you

Re: [OpenSIPS-Users] I need help to store the contact details after DB lookup and use the same value latter .

2018-04-04 Thread Bogdan-Andrei Iancu
Hi Sasmita, As MESSAGE does not create any dialog (at SIP level) and no Contact hdr is present, you may rely only on transaction related data, like to look in the VIA stack and identify the sender by the last/bottom VIA header. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] HEP Address Hostname error

2018-04-04 Thread Ben Newlin
Bumping this again. I can open a bug on Github if that is preferred. Thanks, Ben Newlin From: Ben Newlin Date: Friday, March 30, 2018 at 10:15 AM To: OpenSIPS users mailling list Subject: Re: HEP Address Hostname error Has anyone had a chance

Re: [OpenSIPS-Users] force socket to destination ip

2018-04-04 Thread Bogdan-Andrei Iancu
Hi Donato, If you do TH, there is no need to do RR as opensips will act as end-point, not as proxy. So do not need to do record_route() and were you have loose_route() in script, just use topology_hiding_match() function. Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] HEP Address Hostname error

2018-04-04 Thread Bogdan-Andrei Iancu
Hi Ben, Let me look quickly into this ;) Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit 2018 http://www.opensips.org/events/Summit-2018Amsterdam On 04/04/2018 05:49 PM, Ben Newlin wrote: Bumping this again. I can open a bug

Re: [OpenSIPS-Users] HEP mi_datagram tracing

2018-04-04 Thread Bogdan-Andrei Iancu
Hi Ben, Do you have tracing enabled for at least one MI backend (does not matter which one) ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit 2018 http://www.opensips.org/events/Summit-2018Amsterdam On 03/30/2018 05:43 PM,

Re: [OpenSIPS-Users] Remove Sdp line

2018-04-04 Thread Bogdan-Andrei Iancu
Hi Kirill, Please see http://lists.opensips.org/pipermail/users/2018-April/039219.html Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit 2018 http://www.opensips.org/events/Summit-2018Amsterdam On 04/03/2018 05:36 PM, Kirill

Re: [OpenSIPS-Users] HEP mi_datagram tracing

2018-04-04 Thread Ben Newlin
No, I only have the mi_datagram backend configured as shown and tracing is not enabled. Thanks, Ben Newlin From: Bogdan-Andrei Iancu Date: Wednesday, April 4, 2018 at 11:31 AM To: OpenSIPS users mailling list , Ben Newlin

Re: [OpenSIPS-Users] HEP Address Hostname error

2018-04-04 Thread Bogdan-Andrei Iancu
OK, it was a quick one :D... The "duplicate_uri" from 1.11 was duplicating the traffic via SIP, not via HEP, so if you want to translate this setting, it has nothing to do with the proto_hep module, but still with the siptrace module like: /*sip trace id*/ modparam("siptrace",

Re: [OpenSIPS-Users] HEP Address Hostname error

2018-04-04 Thread Ben Newlin
Bogdan, That is very good to know. I thought the siptrace module was using HEP. But still, if I want to switch to HEP in the future, which I do, I need to be able to properly use a domain name in the proto_hep config. Any idea why that is not working as I described originally? Thanks, Ben

Re: [OpenSIPS-Users] How to send multiple parameters to event handlers?

2018-04-04 Thread Bogdan-Andrei Iancu
Hi Robert, Sorry for the late reply, the 2.4 release sucked all our time. So, by looking at the network level, you see only the last set (of attr=val) being sent over ? Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit 2018

Re: [OpenSIPS-Users] HEP Address Hostname error

2018-04-04 Thread Ben Newlin
Bogdan, I’m confused by your statement about the duplicate_uri in siptrace in 1.11 doing SIP, not HEP. The siptrace module in 1.11 has many different configuration settings to use HEP, but the documentation specifies that the URI must still be a SIP URI. This is how I have siptrace currently

Re: [OpenSIPS-Users] HEP Address Hostname error

2018-04-04 Thread Bogdan-Andrei Iancu
Oh...you mentioned in the first email that you are looking to migrate the "duplicate_uri" from 1.11 to something 2.3 specific. This is why I pointed out the SIP based tracing. Now, checking the hep_id parser, I guess it does not expect the '-' char in the URI part - could you check out this

Re: [OpenSIPS-Users] HEP mi_datagram tracing

2018-04-04 Thread Bogdan-Andrei Iancu
Ben, I did my own tests and I found and fixed the error - the fix is already committed on all affected branches, so updating it should to the trick. Shortly I will backport the other fix too. Thanks and regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] HEP Address Hostname error

2018-04-04 Thread Bogdan-Andrei Iancu
OK, backported, thanks for the confirmation ! Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit 2018 http://www.opensips.org/events/Summit-2018Amsterdam On 04/04/2018 08:36 PM, Ben Newlin wrote: Bogdan, Yes, this patch does

Re: [OpenSIPS-Users] HEP mi_datagram tracing

2018-04-04 Thread Ben Newlin
Bogdan, Excellent! I have pulled the latest and verified the errors are gone. Thanks so much for looking at this so quickly! Sorry to be pushing these issues so much but I am very anxious to get off 1.11 and onto 2.3 and then of course to 2.4! Thanks, Ben Newlin From: Bogdan-Andrei Iancu

[OpenSIPS-Users] UnixODBC

2018-04-04 Thread William Luke
Hi there, I’m trying to get the dialog module to work via unixodbc going to SQL Server 2017. I’ve tried with both the FreeTDS and the Microsoft ODBC driver and getting the same issue. When inserting into the dialog table it appears that single quotes are not escaped inside the ‘vars’ column.

Re: [OpenSIPS-Users] HEP Address Hostname error

2018-04-04 Thread Ben Newlin
Bogdan, Yes, this patch does work. The full URI is now being processed. Thanks! Thanks, Ben Newlin From: Bogdan-Andrei Iancu Date: Wednesday, April 4, 2018 at 12:08 PM To: Ben Newlin , OpenSIPS users mailling list

[OpenSIPS-Users] Cannot start opensips after a reboot

2018-04-04 Thread Atux Atux
Hi. Running Debian 8 and i am trying to install opensips to start with. I am afraid that after the reboot, opensips it does not start ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] register to a sip server

2018-04-04 Thread Atux Atux
Hi. I have seen that page. Since i have not any experience with Opensips, i am asking for an example. is there any example to setup my sip provider and the incoming/outgoing DID one to one to extension, please? On Wed, Apr 4, 2018 at 6:52 PM, Bogdan-Andrei Iancu wrote: >

Re: [OpenSIPS-Users] HEP mi_datagram tracing

2018-04-04 Thread Bogdan-Andrei Iancu
Hey, I have to thank you for doing this testing and reporting - it is of a real help for the project and for the rest of the community. If you consider joining us for the OpenSIPS Summit, you have a free ticket (training also) from us ;). Best regards, Bogdan-Andrei Iancu OpenSIPS Founder

Re: [OpenSIPS-Users] NAT Pings in v2.4 with Edge Proxy

2018-04-04 Thread John Quick
Hi Liviu, Here are the modparam settings I'm using: modparam("usrloc", "working_mode_preset", "full-sharing-cluster") modparam("usrloc", "location_cluster", 1) modparam("usrloc", "cluster_mode", "full-sharing") modparam("usrloc", "restart_persistency", "sync-from-cluster") modparam("usrloc",