Re: [OpenSIPS-Users] route_to_carrier using a random gateway

2019-09-12 Thread Dominic
yes thats what I did. On Thu, Sep 12, 2019, 6:53 AM Alexey Kazantsev via Users, < users@lists.opensips.org> wrote: > Dominic, > > so, you use the same weight of gateways for random selection, right? > > > >i tried it it out and looks to be working (random).

Re: [OpenSIPS-Users] route_to_carrier using a random gateway

2019-09-12 Thread Dominic
i tried it it out and looks to be working (random). thanks for the help Ben On Thu, Sep 12, 2019, 5:24 AM Alexey Kazantsev via Users, < users@lists.opensips.org> wrote: > Hi Ben, > > does it mean that the gateways will be selected in random order if they > have the same weight? > > > >You just

[OpenSIPS-Users] route_to_carrier using a random gateway

2019-09-10 Thread Dominic
Hi, I'm using OpenSIPS 2.4 and I want to use the route_to_carrier from the drouting module to send a call to a random gateway of that carrier instead of using the first one that is defined. for example: carrier1 has gw1 and gw2, I would like to send calls to gw1 and gw2 randomly instead of always

Re: [OpenSIPS-Users] mid_registrar not updating exipres when receiving 200 ok

2018-09-20 Thread Dominic
Thanks for the reply Liviu, let me know if I can do anything to help, this is a dev environment so I can try anything on it if it can be usefull. Dominic On Thu, Sep 20, 2018 at 10:11 AM Liviu Chircu wrote: > Hi Dominic, > > The 200 OK returned by OpenSIPS should definitely conta

[OpenSIPS-Users] mid_registrar not updating exipres when receiving 200 ok

2018-09-20 Thread Dominic
t and send the correct value or should opensips be doing that automatically? Currently I am calling mid_registrar_save("location") when I receive the REGISTER but doing nothing when I receive the 200 ok. Thanks in advance Dominic ___

Re: [OpenSIPS-Users] mid_registrar unregister on expire

2018-09-12 Thread Dominic
for the initial email, I had not looked properly on my end before submitting. On Wed, Sep 12, 2018 at 9:58 AM Liviu Chircu wrote: > Hi Dominic, > > This should be working -- are you able to reproduce this problem? Also, > any setup details (binary version, mid-registrar modparams, SI

[OpenSIPS-Users] mid_registrar unregister on expire

2018-09-12 Thread Dominic
on the asterisk (sip show peers) but it is expired on OpenSIPS (opensipsctl ul show). Could anyone point me in the right direction? Thanks Dominic ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] help setting up TLS

2018-09-05 Thread Dominic
ne standards: > #modparam("tls_mgm", "ciphers_list", > "EECDH+AESGCM,EDH+AESGCM,AES256+EECDH,AES256+EDH") > #modparam("tls_mgm", "verify_cert", "1") > #modparam("tls_mgm", "require_cert", "1") >

[OpenSIPS-Users] help setting up TLS

2018-09-04 Thread Dominic
Hi all, I'm currently trying to setup OpenSIPS to use tls. For this I am following the steps described here: http://www.opensips.org/Documentation/Tutorials-TLS-2-2 This is a dev box, so for now I just want to get things working, my setup is as follows: UACs are registering to Opensips, which is

Re: [OpenSIPS-Users] routing calls to several asterisks

2018-08-30 Thread Dominic
thank you I'll give that a try On Thu, Aug 30, 2018, 3:18 AM vasilevalex, wrote: > In the same situation I used dialplan and dynamic routing modules like > this: > > # Get ID of destination Asterisk server according to CustomerID > dp_translate("1", "$var(cust_id)/$var(dst_srv)"); > if

[OpenSIPS-Users] routing calls to several asterisks

2018-08-29 Thread Dominic
is as always, very appreciated. Dominic ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Help with my OpenSips architecture

2018-08-09 Thread Dominic
Thanks a lot once again, that was the issue (flags=seed), here is the output of the command now: # opensipsctl fifo clusterer_list_cap Cluster:: 1 Capability:: usrloc-contact-repl State=Ok Dominic On Thu, Aug 9, 2018 at 5:13 AM, John Quick wrote: > Hi Dominic, > > I have a simi

Re: [OpenSIPS-Users] Help with my OpenSips architecture

2018-08-08 Thread Dominic
instances if I run "opensipsctl ul show". So it looks as though the usrloc is replicated properly so I wonder why "opensipsctl fifo clusterer_list_cap" has the "not synced" state. Dominic On Wed, Aug 8, 2018 at 8:00 AM, Dominic wrote: > > > On Wed, Aug

Re: [OpenSIPS-Users] Help with my OpenSips architecture

2018-08-08 Thread Dominic
On Wed, Aug 8, 2018 at 4:52 AM, Bogdan-Andrei Iancu wrote: > Hi Dominic, > > Please see inline. > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > http://www.opensips-solutions.com > OpenSIPS Bootcamp 2018 > http://opensips

[OpenSIPS-Users] Help with my OpenSips architecture

2018-08-07 Thread Dominic
with this type of setup or am I missing something big here? It's also worth mentioning that I am using OpenSIPS 2.4 Any advice/links with info on similar setup/code examples are very welcome Thanks Dominic ___ Users mailing list Users@lists.opensips.org http

Re: [OpenSIPS-Users] mid-registrar question

2018-07-25 Thread Dominic
Alexey I basically started over from scratch using your script as a guide and everything is working fine so far, I wish I could tell what I initially did wrong, but I had a LOT of strange things in there, being a dev box and all. Thanks a LOT for the help On Wed, Jul 25, 2018 at 8:13 AM, Dominic

Re: [OpenSIPS-Users] mid-registrar question

2018-07-25 Thread Dominic
Thanks Alexey, I will give it another shot first thing this morning. On Wed, Jul 25, 2018 at 1:05 AM, Alexey Kazantsev via Users < users@lists.opensips.org> wrote: > ... and yes, route[RELAY] is like this: > > > route[RELAY] { > if ( !t_relay() ) { > send_reply("500","Internal

[OpenSIPS-Users] mid-registrar question

2018-07-24 Thread Dominic
hat is sent back to Alice so that Alice keeps sending me REGISTERs every 60 seconds. Thanks Dominic ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users