[OpenSIPS-Users] Dialog profiles replication issues
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Jan 6 06:05:40 EST 2020
reposting
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Summit, Amsterdam, May 2020
https://www.opensips.org/events/Summit-2020Amsterdam/
OpenSIPS Bootcamp, Miami, March 2020
https://opensips.org/training/OpenSIPS_Bootcamp_2020/
On 1/6/20 4:21 AM, SamyGo wrote:
> Hi Bogdan,
> Thanks for taking time out, here are the related config params.
>
> listen=bin:OPENSIPS_IP:6677
>
> ### dialog module for profiles/limits
> loadmodule "dialog.so"
> modparam("dialog", "db_mode", 0)
> modparam("dialog", "profiles_with_value",
> "userConcurrent/b;userInbound/b;userOutbound/b;userInternational/b;userTotalCalls/b;inboundDomain/b;outboundDomain/b;globalDomain/b;prefixx
> /b;countryPrefix/b")
> modparam("dialog", "profile_replication_cluster", 1)
> modparam("dialog", "replicate_profiles_timer", 3000)
> modparam("dialog", "replicate_profiles_check", 10)
>
> ### Clustering Module
> loadmodule "clusterer.so"
> modparam("clusterer", "db_mode", 1)
> modparam("clusterer", "my_node_id", 3)
> modparam("clusterer", "sharing_tag", "gw1/1=active")
> modparam("clusterer", "node_timeout", 20)
> modparam("clusterer",
> "db_url","DB_MODULE://DB_USER:DB_PASS@DB_HOST/DB_NAME")
>
> Routing logic:
> https://pastebin.com/6whjkhCs
>
> Related Logs are here.
> https://pastebin.com/a9a3iDQh
>
> image.png
> Wireshark graph showing storm of binary packets when SIP invite
> initiates the related route.
>
> *BONUS CRASH: *When in a cluster I add a new profile_with_value , say
> someVariable/b and restart the first box with this variable, the other
> boxes in cluster crash by saying something along the lines of
> "unexpected someVariable received"
>
> I'm trying to get hold of the core files and as soon as possible will
> share that here.
>
>
> Regards,.
> Sammy.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200106/f4142976/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 76424 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20200106/f4142976/attachment-0001.png>
More information about the Users
mailing list