[OpenSIPS-Users] Users Digest, Vol 146, Issue 5

HS bullehs at gmail.com
Sat Sep 5 07:33:57 EST 2020


Anything else? I changed the database_url in the config file - but that
didn't make a difference.

> Message: 2
> Date: Fri, 4 Sep 2020 10:42:58 +0300
> From: Răzvan Crainea <razvan at opensips.org>
> To: users at lists.opensips.org
> Subject: Re: [OpenSIPS-Users] How to change default password -
>         opensipsrw
> Message-ID: <03974fcb-8306-973a-167c-d2af9fc88d08 at opensips.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Make sure you specify a different `database_url` in your configuration
> file[1].
>
> [1]
>
> https://github.com/OpenSIPS/opensips-cli/blob/master/opensipscli/defaults.py#L70
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 9/2/20 11:52 AM, HS wrote:
> > Hi there.
> >
> > I am using version 3.1 of opensips. I tried changing the database
> > password from the config files, however, it does not work.
> >
> > Can someone please share a list of locations of where the passwords
> > (incl. UI) needs to be changed? I am on a debian machine.
> >
> > Thanks.
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 4 Sep 2020 10:44:39 +0300
> From: Răzvan Crainea <razvan at opensips.org>
> To: users at lists.opensips.org
> Subject: Re: [OpenSIPS-Users] Dispatcher algorithm 9
> Message-ID: <86147906-cd9f-6a0e-4fa0-11c85696a07c at opensips.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Depending on the BYE's direction, the `$dd` variable may point to the
> gateway or to the caller. If the BYE comes from the gateway, you should
> decrease the statistic based on $si, not $dd.
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 9/3/20 7:10 PM, Social Boh wrote:
> > Hello,
> >
> > I'm trying to using DISPATCHER module with algorithm 9 together with
> > STATISTICS module:
> >
> > My configuration:
> >
> > #### STATISTIC module
> > loadmodule "statistics.so"
> > modparam("statistics", "stat_groups", "load_sip")
> >
> > #### DISPATCHER module
> > loadmodule "dispatcher.so"
> > modparam("dispatcher",
> > "db_url","mysql://opensips:password@localhost/opensips")
> > modparam("dispatcher", "algo_route", "disproute")
> > modparam("dispatcher", "ds_ping_method", "OPTIONS")
> > modparam("dispatcher", "ds_ping_from", "sip:proxy at 1.2.3.4")
> > modparam("dispatcher", "ds_ping_interval", 30)
> > modparam("dispatcher", "ds_probing_threshhold", 2)
> > modparam("dispatcher", "ds_probing_mode", 1)
> > modparam("dispatcher", "dst_avp", "$avp(271)")
> > modparam("dispatcher", "pvar_algo_pattern", "$stat(load_%u)")
> >
> > script:
> >
> > on the BYE block:
> >
> > update_stat("load_sip:$dd", -1)
> >
> > On the DISPATCHER route:
> >
> > route[DISP] {
> >                     if(!ds_select_dst(1,9)) {
> >                             send_reply(404, "No destination");
> >                             exit;
> >                     }
> >          xlog("L_NOTICE", "script: Call to $ru via $du\n");
> >          update_stat("load_sip:$dd", +1);
> >          t_on_failure("DISPATCHER_FAILURE");
> >          t_relay();
> >          exit;
> > }
> >
> > The problem is the when the call terminate, the load stay on 1. If I
> > make 6 calls and hangup:
> >
> > {
> >                              "URI": "sip:5.6.7.8:5060",
> >                              "state": "Active",
> >                              "first_hit_counter": 6
> >                          },
> >
> > The calls never go to second Gateway and never change the load.
> >
> > Any help is really appreciate.
> >
> > Regards
> >
>
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 4 Sep 2020 03:30:17 -0500
> From: Social Boh <social at bohboh.info>
> To: OpenSIPS users mailling list <users at lists.opensips.org>, Răzvan
>         Crainea <razvan at opensips.org>
> Subject: Re: [OpenSIPS-Users] How to change default password -
>         opensipsrw
> Message-ID: <042f8264-dcb5-1ee8-0cdc-b909e2d40e95 at bohboh.info>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> thank you.
>
> Solved
>
> ---
> I'm SoCIaL, MayBe
>
> On 4/09/20 2:42, Răzvan Crainea wrote:
> > Make sure you specify a different `database_url` in your configuration
> > file[1].
> >
> > [1]
> >
> https://github.com/OpenSIPS/opensips-cli/blob/master/opensipscli/defaults.py#L70
> >
> > Best regards,
> >
> > Răzvan Crainea
> > OpenSIPS Core Developer
> > http://www.opensips-solutions.com
> >
> > On 9/2/20 11:52 AM, HS wrote:
> >> Hi there.
> >>
> >> I am using version 3.1 of opensips. I tried changing the database
> >> password from the config files, however, it does not work.
> >>
> >> Can someone please share a list of locations of where the passwords
> >> (incl. UI) needs to be changed? I am on a debian machine.
> >>
> >> Thanks.
> >>
> >> _______________________________________________
> >> Users mailing list
> >> Users at lists.opensips.org
> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >>
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 4 Sep 2020 13:34:12 +0200
> From: johan <johan at democon.be>
> To: OpenSIPS users mailling list <users at lists.opensips.org>
> Subject: [OpenSIPS-Users] notify_on_event(event, filter, route,
>         timeout)
> Message-ID: <d027066e-0804-78a1-364a-8cb5394c5b33 at democon.be>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> What is the return of this function when the event is not received in
> the given timeout ?
>
>
> wkr,
>
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> ------------------------------
>
> End of Users Digest, Vol 146, Issue 5
> *************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200905/098679b7/attachment-0001.html>


More information about the Users mailing list