[OpenSIPS-Users] Does anyone have sample return output using the Enum module's enum_query?

2020-04-30 Thread Gordon Yeong
hi guys, im going to be using the Enum module https://opensips.org/html/docs/modules/3.0.x/enum.html . However , my DEV box has no access to the private enum server . Can anyone show me how the return output actually looks like after calling enum_query on a given phone number? Is it a string

[OpenSIPS-Users] [Blog] Back-to-Back & Clustering, a love story in OpenSIPS 3.1

2020-04-30 Thread Bogdan-Andrei Iancu
The need for the clustering support in Back-2-Back is even stronger as coming from the High-Availability direction. Yes, in order to build a highly available system for OpenSIPS, with an hot (fully sync’ed) stand-by, you need clustering support, mainly the ability of the back-2-back engine

Re: [OpenSIPS-Users] Drouting failover by carrier only

2020-04-30 Thread Johan De Clercq
Can you please send your routing rules. Mine don't work in 3.0.2. Although they were good in 3.0 On Thu, 30 Apr 2020, 15:31 Alex A, wrote: > 3.0.2 > On Apr 30, 2020, at 9:12 AM, Johan De Clercq wrote: >> >> on what version is this ? >> >> Op do 30 apr. 2020 om 15:09 schreef Alex A < >>

Re: [OpenSIPS-Users] Drouting failover by carrier only

2020-04-30 Thread Alex A
3.0.2 On Apr 30, 2020, 9:12 AM, at 9:12 AM, Johan De Clercq wrote: >on what version is this ? > >Op do 30 apr. 2020 om 15:09 schreef Alex A >>: > >> Setting the "First Only" flag on the carrier seem to be done the >trick for >> me. >> It round-robins, while failing over to another carrier

Re: [OpenSIPS-Users] Drouting failover by carrier only

2020-04-30 Thread Johan De Clercq
on what version is this ? Op do 30 apr. 2020 om 15:09 schreef Alex A : > Setting the "First Only" flag on the carrier seem to be done the trick for > me. > It round-robins, while failing over to another carrier directly. > > > Thank you for your help. > > > > > On Thu, 30 Apr 2020 07:12:04

Re: [OpenSIPS-Users] Drouting failover by carrier only

2020-04-30 Thread Alex A
Setting the "First Only" flag on the carrier seem to be done the trick for me. It round-robins, while failing over to another carrier directly. Thank you for your help. On Thu, 30 Apr 2020 07:12:04 -0400 Alex A wrote Thank you for the

Re: [OpenSIPS-Users] Need help to use alias db .

2020-04-30 Thread Giovanni Maruzzelli
On Thu, Apr 30, 2020 at 1:15 PM Sasmita Panda wrote: > Thank u so much . I am just wandering . > In opensips 3.0 there is opensips_cli . Is this possible through cli > command also ? I haven't tried yet . > > may I suggest reading the documentation? ;) -giovanni -- Sincerely, Giovanni

Re: [OpenSIPS-Users] Need help to use alias db .

2020-04-30 Thread Sasmita Panda
Thank u so much . I am just wandering . In opensips 3.0 there is opensips_cli . Is this possible through cli command also ? I haven't tried yet . *Thanks & Regards* *Sasmita Panda* *Senior Network Testing and Software Engineer* *3CLogic , ph:07827611765* On Thu, Apr 30, 2020 at 1:46 PM

Re: [OpenSIPS-Users] Drouting failover by carrier only

2020-04-30 Thread Alex A
Thank you for the tip, Ben. Do you by chance have a script snipped for this scenario? For some reason, the drouting part:     if (!do_routing(0,"F")) {     xlog("DRoute GATEWAY: Failed. source:$si -$fU -> $rU\n");     send_reply(500, "No Gateway to Route found");

Re: [OpenSIPS-Users] Drouting failover by carrier only

2020-04-30 Thread Alex A
Hi Bogdan, Will "use only the first gateway from the carrier"  allow for round-robin for the regular calls (ie. does it choose the first gw randomly ) ? Thank you. Alex On Thu, 30 Apr 2020 03:40:21 -0400 Bogdan-Andrei Iancu wrote Hi Alex, Have you

Re: [OpenSIPS-Users] Need help to use alias db .

2020-04-30 Thread Bogdan-Andrei Iancu
Just use the domain module for that: https://opensips.org/html/docs/modules/2.4.x/domain.html#func_is_uri_host_local Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com On 4/30/20 11:08 AM, Sasmita Panda wrote: I have one opensips server , and I have mapped

Re: [OpenSIPS-Users] Need help to use alias db .

2020-04-30 Thread Giovanni Maruzzelli
you reload the domain table via MI interface each time you change it -giovanni On Thu, Apr 30, 2020 at 10:11 AM Sasmita Panda wrote: > I have one opensips server , and I have mapped 2 domain into that . In the > config file I have added the alias list for that domain . > for example : >

Re: [OpenSIPS-Users] Need help to use alias db .

2020-04-30 Thread Sasmita Panda
I have one opensips server , and I have mapped 2 domain into that . In the config file I have added the alias list for that domain . for example : alias="freeswitch-registrar.xyz.com" alias="freeswitch-cisco.xyz.com" route{ if (!uri==myself) {

Re: [OpenSIPS-Users] Drouting failover by carrier only

2020-04-30 Thread Bogdan-Andrei Iancu
Hi Alex, Have you tried the "use only the first GW" flag in the carrier definition? See https://opensips.org/html/docs/modules/3.0.x/drouting.html#idp25339408, "Carriers" subsection: flags : 0x1 - use weight for sorting the list and not definition order; 0x2 - use only the first gateway

Re: [OpenSIPS-Users] opensips 3.0.2 100% CPU after enable tls?

2020-04-30 Thread Bogdan-Andrei Iancu
Thanks for the confirmation, we will soon get new minor releases out and get the release packages also fixed. Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com On 4/30/20 3:00 AM, William Jin wrote: ok, thanks. I can confirm the nightly

Re: [OpenSIPS-Users] Need help to use alias db .

2020-04-30 Thread Bogdan-Andrei Iancu
Hi Sasmita, To be honest I do not understand what you want to achieve. Could you provide an example of aliasing you want to have ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com On 4/30/20 9:33 AM, Sasmita Panda wrote: Ok . But username

Re: [OpenSIPS-Users] Need help to use alias db .

2020-04-30 Thread Sasmita Panda
Ok . But username cant be fixed . That can be anything . When I am adding aliase in the config file that only matches the domain and process the request . Isn't the aliase_db do the same thing ? *Thanks & Regards* *Sasmita Panda* *Senior Network Testing and Software Engineer* *3CLogic ,