Re: [OpenSIPS-Users] mid registrar question

2022-11-07 Thread nutxase via Users
I suppose even uac_registrar could be the right way any suggestions Thanks, Mike Sent with [Proton Mail](https://proton.me/) secure email. --- Original Message --- On Monday, November 7th, 2022 at 11:51 AM, nutxase via Users wrote: > Hi All, > > I am setting up the mid registrar modu

[OpenSIPS-Users] mid registrar question

2022-11-07 Thread nutxase via Users
Hi All, I am setting up the mid registrar module and was wondering if the following is possible when the UAC drops its registration that the opensips keeps the registration active on asterisk example we have a mobile softphone that goes to sleep and then opensips deregisters on asterisk, so t

[OpenSIPS-Users] Mid-registrar with AOR throttling - clearing registration

2021-09-28 Thread Mark Allen
We have a mid-registrar (OpenSIPS 3.1) in front of an Asterisk node. Mid-registrar saves with the 'memory only' flag. We are using AOR throttling We've had a few occasions where something has gone wrong with the registration on Asterisk so that Asterisk thinks an extension is no longer registered,

[OpenSIPS-Users] Mid-Registrar and SUBSCRIBE

2020-08-07 Thread Yury Kirsanov
Hi, I've successfully tested OpenSIPS with Mid-Registrar module in front of Asterisk server, it works fine for REGISTER messages and INVITEs. But I'm facing a problem with SUBSCRIBE/NOTIFY messages that I'd like to forward to Asterisk server and back. How do I change Contact field in original SUBSC

[OpenSIPS-Users] Mid Registrar Presence/Subscribe - Suggestions

2020-02-06 Thread Sharad Kumar via Users
Hey guys, We want to add presence feature in our existing openSIPS deployment, currently we are using mid-registrar and we would like to handle BLF messages. So what you guys recommend ? that we go for XCAP server or just relay SUBSCRIBE message to the PBX instead of using presence server ? Th

[OpenSIPS-Users] Mid-Registrar REGISTER with Auth header

2019-02-12 Thread Slava Bendersky
Hello Everyone, When REGISTER with Auth header ( registration update ) is send out contact header is not rewritten. Is this normal behavior ? Mid-Registrar is operation mode 2 REGISTRAR module loadmodule "mid_registrar.so" modparam("mid_registrar", "mode", 2) modparam("mid_registrar"

Re: [OpenSIPS-Users] mid registrar g lookup

2018-10-10 Thread Răzvan Crainea
Hello, Slava! The user is properly URL encoded. Are you calling mid_registrar_lookup() [1] to "resolve" this contact, or simple lookup()[2]? You should call the first one, because most likely you are also using mid_registrar. [1] https://opensips.org/html/docs/modules/2.4.x/mid_registrar.htm

[OpenSIPS-Users] mid registrar g lookup

2018-10-09 Thread Slava Bendersky
Hello Everyone, Current setup is full federated cluster with mongo and pgsql. I see in trace $ru IVITE sip:13is is INVITE sip:130%40domain.com@10.100.104.8:5060 SIP/2.0 Right now we returning 404 same as m flag lookup. What should happens if user found or not found, because I think $rU part is no

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 Error")

Re: [OpenSIPS-Users] mid-registrar question

2018-07-24 Thread Alexey Kazantsev via Users
... and yes, route[RELAY] is like this: route[RELAY] { if ( !t_relay() ) { send_reply("500","Internal Error"); } exit; } or you may simply do: # REGISTER processing if ( is_method("REGISTER") ) { mid_registrar_save("location");

Re: [OpenSIPS-Users] mid-registrar question

2018-07-24 Thread Alexey Kazantsev via Users
Hi Dominic! Could you show your script? It seems that there's some misconfiguration. I can share you my own: ... loadmodule "mid_registrar.so" modparam("mid_registrar", "mode", 1) modparam("mid_registrar", "outgoing_expires", 3600) modparam("mid_registrar", "retry_after", 30) ... # RE

[OpenSIPS-Users] mid-registrar question

2018-07-24 Thread Dominic
Hi all, I'm currently a bit stuck trying to implement a mid-registrar in my dev environment. My setup is that I have a hardphone that is registering to opensips, opensips challenges the register, and once authenticated, the register is sent to an Asterisk server that is setup with no authentication

Re: [OpenSIPS-Users] mid registrar

2018-06-25 Thread vasilevalex
Hi Liviu! After 2 days testing everything seems to work fine. Thanks a lot! -- Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cg

Re: [OpenSIPS-Users] mid registrar

2018-06-21 Thread Liviu Chircu
Indeed, I agree that this is a solid fix.  Just pushed it, thanks! Best regards, Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 21.06.2018 16:26, vasilevalex wrote: Hi Liviu. I installed opensips with these commits on both servers. Now when we make several switch-overs i

Re: [OpenSIPS-Users] mid registrar

2018-06-21 Thread vasilevalex
Hi Liviu. I installed opensips with these commits on both servers. Now when we make several switch-overs in short time phones don't loose their registration. But I have new error in logs: ERROR:mid_registrar:calc_max_ct_diff: 'expires' key not found! ERROR:mid_registrar:calc_max_ct_diff: 'expires'

Re: [OpenSIPS-Users] mid registrar

2018-06-20 Thread vasilevalex
Hi Liviu! Thank you very much. I'll test them and will answer here. -- Sent from: http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/ma

Re: [OpenSIPS-Users] mid registrar

2018-06-20 Thread Liviu Chircu
Hi, Alex! I have pushed a set of commits [1], [2] on master branch which fix this issue.  Please let me know if you need any more help including them in your test build. Best regards, [1]: https://github.com/OpenSIPS/opensips/commit/d8fe587cef17421 [2]: https://github.com/OpenSIPS/opensips/c

Re: [OpenSIPS-Users] mid registrar

2018-06-20 Thread Slava Bendersky
Thank you for explanation. volga629 On Fri, Jun 8, 2018 at 6:34 AM, Liviu Chircu wrote: First of all: mid-registrar + clustering is still uncharted territory, I haven't done any testing yet with this setup. Disclaimer aside, this setup should somewhat work: * [CORRECT] mid-registrar saved c

Re: [OpenSIPS-Users] mid registrar

2018-06-13 Thread Liviu Chircu
Hi Alexei, Indeed, it seems the mid-registrar data ("kv_store" column) only gets sync'ed to DB starting with the 2nd REGISTER, despite the "write-through" mode.  I'll take a closer look and will update you on the progress in this thread.  Thank you for the report! Best regards, Liviu Chircu

Re: [OpenSIPS-Users] mid registrar

2018-06-12 Thread vasilevalex
I have issue with very simple setup. Two OpenSIPS servers (first is Active, second starts with keepalived only on Active server failure, so not a cluster at all) connected to MariaDB with same configs. Asterisk farm is registrar. # USeR LOCation module loadmodule "usrloc.so" modparam("usrloc", "n

Re: [OpenSIPS-Users] mid registrar

2018-06-08 Thread Liviu Chircu
First of all: mid-registrar + clustering is still uncharted territory, I haven't done any testing yet with this setup. Disclaimer aside, this setup should somewhat work: * [CORRECT] mid-registrar saved contacts should propagate through the cluster just like with registrar. They will contain th

Re: [OpenSIPS-Users] mid registrar

2018-06-08 Thread volga629
Hello Liviu, What will happened if set federation-cachedb-cluster and mid registrar is in use. volga629 On Fri, Jun 8, 2018 at 5:41 AM, Liviu Chircu wrote: Hi Volga, The mid-registrar has full DB persistency support since 2.4. It works with all the user location presets except the "DB onl

Re: [OpenSIPS-Users] mid registrar

2018-06-08 Thread Liviu Chircu
Hi Volga, The mid-registrar has full DB persistency support since 2.4. It works with all the user location presets except the "DB only" ones. For example, you only have to set: modparam("usrloc", "working_mode_preset", "single-instance-sql-write-through") or modparam("usrloc", "working_mo

Re: [OpenSIPS-Users] mid registrar

2018-06-07 Thread Alexey K . via Users
Hi, isn't it what you need? Flag 'm' of mid_registrar_save function - save the contacts only in memory cache without no DB operation; Otherwise, without using it, they are seved in DB. http://www.opensips.org/html/docs/modules/2.4.x/mid_registrar.html#func_mid_registrar_save

[OpenSIPS-Users] mid registrar

2018-06-07 Thread volga629
Hello Everyone, Is possible configure mid registrar with database persistency ? volga629 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] mid-registrar and WSS

2018-03-14 Thread Esty, Ryan
All, Never mind it is registering now. I still have some work to do but after more investigation the SIP server was deleting the second VIA which was the via for WSS. Now on the register I save it to an avp and then in my register's onreply_route I just do an append_hf("Via: ..."). The client s

[OpenSIPS-Users] mid-registrar and WSS

2018-03-14 Thread Esty, Ryan
Hi opensips users, I have a couple of questions and I'm hoping someone can point me in the right direction. We have a SIP PBX that doesn't do WSS for example using sipml5. I'm trying to put opensips in the middle of the SIP PBX and the WSS client with limited success using mid-registrar in ope

Re: [OpenSIPS-Users] Mid-Registrar Capabilities

2017-10-20 Thread Liviu Chircu
Hi Nathan, Please find some answers below. Regards, Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 20.10.2017 02:43, Nathan Baker wrote: In addition to the general usage scenarios The "proxy-registrar" blog setup should cover your NAT'ing requirements, while also provid

[OpenSIPS-Users] Mid-Registrar Capabilities

2017-10-19 Thread Nathan Baker
Hello All, I was hoping to get some insight on some capabilities of the relatively-new mid-registrar module. I'm not sure if this is the best place for that, but I thought it might be a good place to start. I'm hoping to use OpenSIPS as an SBC for remote users to handle far end NAT, extra securi

Re: [OpenSIPS-Users] Mid-Registrar Absorb 2nd Register(w/ AuthHeader) Request - Only on Reg Renewal.

2017-07-12 Thread Liviu Chircu
Thanks for the nice report, Ali - I'm already testing a fix for this, and will keep you posted! Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 12.07.2017 16:26, Ali Raza wrote: Hello Guys, I am new to OpenSIPS. I am currently test mid-registrar module with FreeSwitch an

[OpenSIPS-Users] Mid-Registrar Absorb 2nd Register(w/ AuthHeader) Request - Only on Reg Renewal.

2017-07-12 Thread Ali Raza
Hello Guys, I am new to OpenSIPS. I am currently test mid-registrar module with FreeSwitch and I am facing a issue not sure if its a bug or its me. Let me explain whats happening: I am running OpenSIPS mid-registrar in contact-throttling mode(mode:1) with usrloc mode:0 - because mid-registr