[OpenSIPS-Users] cache_raw_query for fetching data from mongodb in opensips 2.4.x

2021-01-11 Thread Vinayak Makwana
hello everyone ,
I am using opensips 2.4.x. i want to know about how to use cache_raw_query
for fetching data from mongodb? Because their is no syntax for fetch data
in module.
Please help me  what changes I need to make into the opensips.cfg file?

-- 
*Disclaimer*
In addition to generic Disclaimer which you have agreed on our 
website, any views or opinions presented in this email are solely those of 
the originator and do not necessarily represent those of the Company or its 
sister concerns. Any liability (in negligence, contract or otherwise) 
arising from any third party taking any action, or refraining from taking 
any action on the basis of any of the information contained in this email 
is hereby excluded.



*Confidentiality*
This communication (including any 
attachment/s) is intended only for the use of the addressee(s) and contains 
information that is PRIVILEGED AND CONFIDENTIAL. Unauthorized reading, 
dissemination, distribution, or copying of this communication is 
prohibited. Please inform originator if you have received it in error.


*Caution for viruses, malware etc.*
This communication, including any 
attachments, may not be free of viruses, trojans, similar or new 
contaminants/malware, interceptions or interference, and may not be 
compatible with your systems. You shall carry out virus/malware scanning on 
your own before opening any attachment to this e-mail. The sender of this 
e-mail and Company including its sister concerns shall not be liable for 
any damage that may incur to you as a result of viruses, incompleteness of 
this message, a delay in receipt of this message or any other computer 
problems. 
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] call api

2021-01-11 Thread Johan De Clercq
Thanks Razvan, that's exactly the info that  I was looking for.
call api is very interesting to create an ACD like opensips instance.

Op ma 11 jan. 2021 om 11:08 schreef Răzvan Crainea :

> Hi, Johan!
>
> Check out this repo[1].
>
> [1]
>
> https://github.com/razvancrainea/opensips-summit-distributed-2020/blob/call-api/opensips.cfg
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 1/8/21 5:08 PM, johan wrote:
> > Hello Razvan,
> >
> >
> > is there already an opensips.cfg example config available for using call
> > api ?
> >
> >
> > wkr,
> >
> >
> > ___
> > Users mailing list
> > Users@lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Transparent TLS

2021-01-11 Thread Johan De Clercq
Anycast can in my opinion only work in IP6.

Op ma 11 jan. 2021 om 09:35 schreef Giovanni Maruzzelli :

> Hi Yavari,
>
> On Sat, Jan 9, 2021 at 8:03 AM H Yavari via Users <
> users@lists.opensips.org> wrote:
>
>> Clients must have TLS connection and we have an OpenSIPS cluster on the
>> front of Asterisk servers. So in this case, if client's connection with one
>> SIP proxy node goes down, it should be re-establish with other node in
>> cluster? or as all cluster nodes are using shared DB and they talk to each
>> other via BIN, client connection remains? thanks.
>>
>>
> I do not think there is a way to have TCP (TLS, WebRTC, etc) connection to
> survive a server failover.
>
> You may want to have the clients to re-connect (reregister and reinvite)
> in case of failover.
>
> Or, maybe clustering OpenSIPSs in active-active via anycast.
>
> -giovanni
>
> --
> Sincerely,
>
> Giovanni Maruzzelli
> OpenTelecom.IT
> cell: +39 347 266 56 18
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] call api

2021-01-11 Thread Răzvan Crainea

Hi, Johan!

Check out this repo[1].

[1] 
https://github.com/razvancrainea/opensips-summit-distributed-2020/blob/call-api/opensips.cfg


Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 1/8/21 5:08 PM, johan wrote:

Hello Razvan,


is there already an opensips.cfg example config available for using call
api ?


wkr,


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Transparent TLS

2021-01-11 Thread Giovanni Maruzzelli
Hi Yavari,

On Sat, Jan 9, 2021 at 8:03 AM H Yavari via Users 
wrote:

> Clients must have TLS connection and we have an OpenSIPS cluster on the
> front of Asterisk servers. So in this case, if client's connection with one
> SIP proxy node goes down, it should be re-establish with other node in
> cluster? or as all cluster nodes are using shared DB and they talk to each
> other via BIN, client connection remains? thanks.
>
>
I do not think there is a way to have TCP (TLS, WebRTC, etc) connection to
survive a server failover.

You may want to have the clients to re-connect (reregister and reinvite) in
case of failover.

Or, maybe clustering OpenSIPSs in active-active via anycast.

-giovanni

-- 
Sincerely,

Giovanni Maruzzelli
OpenTelecom.IT
cell: +39 347 266 56 18
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users