[OpenSIPS-Users] drouting() number matching

2019-03-25 Thread Mark Farmer
Hi everyone, can I use pattern matching in drouting groups and rules? So for example I'd like to match on +4412345678*@example.com In Asterisk dialplan I would do _+4412345678X Many thanks Mark. -- Mark Farmer farm...@gmail.com ___ Users mailing

Re: [OpenSIPS-Users] drouting() number matching

2019-03-25 Thread Mark Farmer
OK I think I realised my mistake - rules are matched on longest prefix. So I think my question should be: Can I use the same principle for usernames in groups? On a side note, is it possible to match the group based on the destination domain instead of the source domain? Thanks Mark. On Mon,

Re: [OpenSIPS-Users] CRLF support over TLS

2019-03-25 Thread Răzvan Crainea
Hi, Vitalii! Did you try to tune your tls_crlf_* parameters? https://opensips.org/html/docs/modules/2.4.x/proto_tls.html#param_tls_crlf_drop Best regards, Răzvan On 3/22/19 8:16 PM, Vitalii Aleksandrov wrote: Hi, One of my SIP endpoints send CRLF (0x0d 0x0a) messages over TLS connections to

[OpenSIPS-Users] I need some suggestions regarding registrar and usrloc module .

2019-03-25 Thread Sasmita Panda
Hi All , I was using opensips-1.11 previously . Now trying to upgrade this to opensips-2.4 . I have a query . I was using a feature , if a username is register from more that 10 different places , then for that username in 200 OK reply opensips always send latest 10 contacts not all . We have

Re: [OpenSIPS-Users] CRLF support over TLS

2019-03-25 Thread Vitalii Aleksandrov
Thanks a lot. It helped! I was searching for a global para and completely forgot about proto_tls module. Hi, Vitalii! Did you try to tune your tls_crlf_* parameters? https://opensips.org/html/docs/modules/2.4.x/proto_tls.html#param_tls_crlf_drop Best regards, Răzvan

[OpenSIPS-Users] strange TCP handling in opensips 2.4

2019-03-25 Thread Artem Chalkov
Hi all.Today i encountered some strange behavior in TCP handling. Case:A - caller, proto=tcp, behind NATB - callee, proto=udp, not behind NATNathelper is active, so A is pinged by OPTIONS from opensips.A registering and then calling to B, B answers, A sends ACK for 200 and in some moment after

Re: [OpenSIPS-Users] TLS traffic is being relayed as UDP but on the TLS Port?

2019-03-25 Thread John Kiniston
I'm still fighting with this and would love some assistance. Is there more data I should be collecting? do I need to post more configuration details? On Wed, Mar 20, 2019 at 4:09 PM John Kiniston wrote: > Phone sends it's request to the Proxy, the VIA specifies TLS, The From & > To are using

Re: [OpenSIPS-Users] Control TLS client domain

2019-03-25 Thread Bogdan-Andrei Iancu
Hi Alexey, Well, the AVPs (as variables) are not visible for the TLS send operation. In local route, the actual "send" is outside the route context, so the AVP you set in the local route are not impacting the later TLS "send". On the other hand, you can select the TLS certificate to use

Re: [OpenSIPS-Users] async and event handlers

2019-03-25 Thread Bogdan-Andrei Iancu
Hi John, I don't think you can "replicate" the event triggers with some avp_db_query() from script. When you so a save(location), you never know if that call will translate into updating an existing contact or in inserting a new one - this is no visible at script level Regards,

Re: [OpenSIPS-Users] Is it possible to generate Notify from OpenSIPS on Freeswitch NOTIFY ESL event

2019-03-25 Thread SamyGo
Hi Sagar, So if I can glue info provided by Bogdan then yes you can pull data from incoming ESL event and create a new NOTIFY and send it to (where ) ! I would send this new NOTIFY to myself(127.0.0.1:5060) so opensips can find the location of the desired registered client and relay it swiftly.

Re: [OpenSIPS-Users] Calculate the nearest destination based on GeoIP

2019-03-25 Thread Bogdan-Andrei Iancu
Hi, I don't think the geo location data may be relevant (in order to pick up the best rtpp) - the most relevant data would be the ping roundtrip from client to your RTPPs, so you can use the closest as network delay Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] Is it possible to generate Notify from OpenSIPS on Freeswitch NOTIFY ESL event

2019-03-25 Thread Bogdan-Andrei Iancu
Hi Sagar, Theoretically you can get ESL events via freeswitch_scripting module [1] and from OpenSIPS, using an event_route[E_FREESWITCH] [2], you can build and send SIP request [3] - the question is if you have all the info and flexibility to construct the Notify requests [1]

Re: [OpenSIPS-Users] Control TLS client domain

2019-03-25 Thread Alexey Vasilyev
Hi Bogdan, It would be nice to get rid of these AVPs, and select client domain by destination IP, but the problem that I have only 1 destination gw IP for all customers domains. I have cloud platform, which I’d like to connect from OpenSIPS. And I have many customers with their domains. So the