Re: [OpenSIPS-Users] presence and dns

2019-03-07 Thread Bogdan-Andrei Iancu
Hi Slava, 1) NOTIFY'es The presence NOTIFY requests are in dialog requests (part of the SUBSCRIBE dialog). And a sequential request is sent to a RR or Contact URI (from SUBSCRIBE) which typically hold IP addresses - so how do you get the @domain.com URI when sending the NOTIFY ? Do you have

Re: [OpenSIPS-Users] Use of multiple outgoing TCP Trunks with B2B

2019-03-07 Thread Bogdan-Andrei Iancu
Hi Xaled, First of all, you do not need b2b in order to do TCP conn reusage. How the conns are managed in OpenSIPS : the conns are reused if the destination of the package matches the remote destination of an existing TCP conn. IF not, a new conn will be open. In your case, the first tcp

Re: [OpenSIPS-Users] locally generated replies

2019-03-07 Thread Pasan Meemaduma via Users
Hi Bogdan, Thanks for the reply. writing inline replies "Using t_on_reply() is harmless as it simply set a holder in the msg/transaction, nothing more. And a locally generated reply does NOT trigger on_reply_route - this route is triggered only by *RECEIVED* replies." My problem was that

Re: [OpenSIPS-Users] tls -> udp

2019-03-07 Thread Bogdan-Andrei Iancu
Hi John, For (2), there is nothing special you need to do - the double_rr is by default enabled and you just need to do record_route() - opensips is automatically figure out that there is a protocol changing and do a double RR headers. Regarding (1) and (3) - the proto info in

Re: [OpenSIPS-Users] locally generated replies

2019-03-07 Thread Bogdan-Andrei Iancu
Hi Pasan, Using t_on_reply() is harmless as it simply set a holder in the msg/transaction, nothing more. And a locally generated reply does NOT trigger on_reply_route - this route is triggered only by *RECEIVED* replies. So the bottom problem for you is why the processes stuck ? do they

Re: [OpenSIPS-Users] opensips 2.4.4: bug in tls_mgm

2019-03-07 Thread Vlad Patrascu
Hi Johan, The issue is probably caused by the fact that OpenSIPS tries to initialize a 'default' client and server domain and the certificate file is inexistent at the default path ('/usr/local/opensips//etc/opensips/tls/cert.pem'). So even if you define your "sv_dom" custom server domain,

Re: [OpenSIPS-Users] OpenSIPS 2.4.4, db_postgres.so number of connections

2019-03-07 Thread Bogdan-Andrei Iancu
Hi Alexey, Couple of notes on how the DB conns are handled in the OpenSIPS 1) each process has its own connections, even if to the same DB 2) if multiple modules need to connect to the same DB, from the same process, the conn is shared (between all modules using the same DB). Now, depending

Re: [OpenSIPS-Users] Presence

2019-03-07 Thread Bogdan-Andrei Iancu
Hi Mark, Who is generating the PUBLISH ? the end-device ? or some pua module from opensips ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 02/09/2019 06:06 PM,

Re: [OpenSIPS-Users] SDP manipulation & rtpengine

2019-03-07 Thread Bogdan-Andrei Iancu
Hmmm, indeed, passing SDP as variable to rtpengine is possible only with 3.0 , my badtoo many versions. This is the commit you are looking for: https://github.com/OpenSIPS/opensips/commit/a27797d04ba418eb3ac4c2d6dadd0cdf7f3c17b6#diff-069ca6b59f3521936eca7bf3684ae63d maybe you can grab the

[OpenSIPS-Users] [Blog] Achieving service redundancy in two steps with unified clustering in OpenSIPS 3.0

2019-03-07 Thread Bogdan-Andrei Iancu
A hot backup means redundancy, redundancy means more uptime, more uptime means a better SLA, a better SLA means happier customers and more money. Building redundancy is a must when moving your service into production. How can you achieve this with OpenSIPS 3.0? Well, thanks to the new

Re: [OpenSIPS-Users] [RELEASE] OpenSIPS 2.4.5 minor release

2019-03-07 Thread Răzvan Crainea
Hello to you all! I am happy to inform you that we've just released OpenSIPS 2.4.5, the latest release of the OpenSIPS 2.4 stable branch. We strongly encourage you to update your setup to the latest release as soon as possible, to make sure you get all the bug fixes we've done for this

Re: [OpenSIPS-Users] locally generated replies

2019-03-07 Thread Bogdan-Andrei Iancu
Hi Pasan, Have you checked if there is traffic on looping on your OpenSIPS ? maybe due bad routing, OpenSIPS is keep sending to itself some traffic, causing the loops and the load. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS

[OpenSIPS-Users] registrar lookup function

2019-03-07 Thread Pasan Meemaduma via Users
Hi Guys, Would someone able to shed some light on the method filtering flag (m) in registrar lookup function do  ? I'm having trouble understanding its purpose. Can somone give me an example of how it works ? registrar Module | | | | registrar Module | | | Thank you.