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