Re: [OpenSIPS-Users] Push notification implementation Opensips 3.0

2021-06-22 Thread HS
Liviu, Thanks again. You are looking at the fixed version. This is the ticket I had raised: https://github.com/AGProjects/sylk-pushserver/issues/3 Don't think anyone who had used the repo could have missed it :) Best wishes. On Wed, Jun 23, 2021 at 10:09 AM Liviu Chircu wrote: > May I ask wha

Re: [OpenSIPS-Users] Push notification implementation Opensips 3.0

2021-06-22 Thread Liviu Chircu
On 23.06.2021 04:40, HS wrote: Correct, the queries were unterminated in the sample config on github. They are correct now. However, considering no one had pointed out in almost a year - makes me feel there's some other methodology used for push notifications by the community. May I ask what

Re: [OpenSIPS-Users] Push notification implementation Opensips 3.0

2021-06-22 Thread HS
Liviu, Thanks a lot for taking the time to respond. Correct, the queries were unterminated in the sample config on github. They are correct now. However, considering no one had pointed out in almost a year - makes me feel there's some other methodology used for push notifications by the community.

Re: [OpenSIPS-Users] Opensips generate ring and hangup after x seconds

2021-06-22 Thread Liviu Chircu
On 09.06.2021 13:40, Schneur Rosenberg wrote: Hi, I would like to have OpenSIPs generate a ring tone on a incoming call, and hang up after x seconds, I dont want to the call to ring on any device, I just want to reply to the client with a 180 and a cancel after x seconds, is it possible? Hi Sch

Re: [OpenSIPS-Users] ACK with wrong RURI

2021-06-22 Thread Liviu Chircu
On 15.06.2021 08:57, Miha via Users wrote: when call is not pickup on teams and just canceled I get 603 Declined which opensips send it further to SBC (our main sbc). When we get back ACK and from SBC, there is wrong RURI and opensips does not relay this ACK to MS teams. Hi Miha, I have stop

Re: [OpenSIPS-Users] Push notification implementation Opensips 3.0

2021-06-22 Thread Liviu Chircu
On 12.06.2021 05:31, HS wrote: Jun 11 11:40:47 [15463]             $avp(query) = "SELECT token from push_tokens where username = '" + $(tU{s.escape.common}) + "' and domain = '" + $(td{s.escape.common}) + "' and app Jun 11 11:40:47 [15463]             ^~ Jun 11 11:40:47 [15463]            

Re: [OpenSIPS-Users] proxy_authorize : credentials with given realm not found

2021-06-22 Thread Liviu Chircu
On 03.06.2021 17:11, BASSAGET Cédric wrote: proxy_authorize(realm, table) Realm is an opaque string that the user agent should present to the user so it can decide what username and password to use. Usually this is domain of the host the server is running on. If an empty string “” is used then

Re: [OpenSIPS-Users] REST Client

2021-06-22 Thread Alexander Perkins
Thank you so much for the help! On Tue, Jun 22, 2021 at 8:47 AM Liviu Chircu wrote: > On 15.06.2021 20:30, Alexander Perkins wrote: > > Where should we include the x-api-key header with using rest_client. > > I would suggest looking into the rest_append_hf() function [1], which > can be used to

Re: [OpenSIPS-Users] [RELEASE] OpenSIPS 3.1.3 and 2.4.11 minor releases planning

2021-06-22 Thread Răzvan Crainea
Hello everyone! OpenSIPS 3.1.3 (LTS) and 2.4.11 (LTS) are out now! We strongly advise you to use these latest releases in your production environments. Note that for 2.4.11, this was the latest release - starting from today, it becomes unmaintained - this means it will no longer accept any bug

Re: [OpenSIPS-Users] REST Client

2021-06-22 Thread Liviu Chircu
On 15.06.2021 20:30, Alexander Perkins wrote: Where should we include the x-api-key header with using rest_client. I would suggest looking into the rest_append_hf() function [1], which can be used to append as many HTTP headers to a request as you need. [1]: https://opensips.org/docs/module