[OpenSIPS-Users] [CFP] FOSDEM 2019, RTC devroom, speakers, volunteers neeeded

2018-10-29 Thread FOSDEM RTC Team
FOSDEM is one of the world's premier meetings of free software developers, with over five thousand people attending each year. FOSDEM 2019 takes place 2-3 February 2019 in Brussels, Belgium. https://fosdem.org This email contains information about: - Real-Time Communications dev-room and lounge

Re: [OpenSIPS-Users] CPU 100% with TCP

2018-10-29 Thread Bogdan-Andrei Iancu
Hi Ben, I checked the error trace and it should not leave any dangling lock (due mishandled error). Before disabling HEP, try to disable the async support for HEP. If you claim that the same 100% CPU happens with HEP + UDP, send me a trap for that too, as in the previous case, the deadlock w

[OpenSIPS-Users] cache store local

2018-10-29 Thread Vishal Pai
Hello everyone I want to store $ci in local cache but i am unable to do that in Opensips 2.4 Here is what i have did Let $ci = 220569877bd3fca37e1c37f4483e1250@192.168.1.100:5060 modparam("cachedb_local", "cachedb_url", "local://") cache_store("local","$ci","1"); but when i am fetching it i a

Re: [OpenSIPS-Users] SUBSCRIBE

2018-10-29 Thread Slava Bendersky
In that setup freeswitch boxes directly connected to opensips LAN side and opensips listen for for two interfaces internal and external. UDP and TCP. volga629 From: "Bogdan-Andrei Iancu" To: "OpenSIPS users mailling list" , "Slava Bendersky" Sent: Monday, October 29, 2018 2:13:06 PM Sub

Re: [OpenSIPS-Users] SUBSCRIBE

2018-10-29 Thread Bogdan-Andrei Iancu
Hi Slava, Maybe the same destination may be reached (from the IP routing table perspective) via multiple interfaces like via interface A and interface B - and OS (via mhomed) selected interface A , but OpenSIPS listen only on B. Such a setup may lead to the error you listed - OS picking up f

Re: [OpenSIPS-Users] Presence issue

2018-10-29 Thread Bogdan-Andrei Iancu
Hi all, Thanks to Dan's help, I managed to locate and fix the issue, see : https://github.com/OpenSIPS/opensips/commit/1ac9010f4fb8fff513ce25e06fdf210412c4a39b Once again, thank you Dan ! Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2

Re: [OpenSIPS-Users] SDP and ptime, maxptime removal

2018-10-29 Thread Răzvan Crainea
Hi, Stefan! There is no bug here - ptime and maxptime are not associated to a codec, but to the entire media session. So it should not be removed if you delete a certain. Best regards, Razvan On 10/26/18 3:00 PM, Stefan Carlsson wrote: Hi ! We have a serious issue that force us to remove al

Re: [OpenSIPS-Users] SUBSCRIBE

2018-10-29 Thread Slava Bendersky
That error message in log Oct 29 09:00:16 vprx00 /usr/sbin/opensips[1506]: ERROR:core:get_out_socket: no socket found Oct 29 09:00:16 vprx00 /usr/sbin/opensips[1506]: ERROR:tm:t_uac: no corresponding socket for af 2 Oct 29 09:00:16 vprx00 /usr/sbin/opensips[1506]: ERROR:pua:send_publish_int:

[OpenSIPS-Users] SUBSCRIBE

2018-10-29 Thread Slava Bendersky
Hello Everyone, What possible cause that opensips generate 500 error on SUBSCRIBE Presence loadmodule "presence.so" loadmodule "presence_mwi.so" loadmodule "presence_xml.so" loadmodule "presence_dialoginfo.so" loadmodule "presence_callinfo.so" loadmodule "pua.so" loadmodule "pua_dial

Re: [OpenSIPS-Users] presence blf

2018-10-29 Thread Bogdan-Andrei Iancu
Well, you need to get the Pwd from the 3cx somehow - it depends on what interfacing capabilities the 3cx has Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2018 http://opensips.org/training/OpenSIPS_Bootcamp_2018/ On 10/29/2

Re: [OpenSIPS-Users] presence blf

2018-10-29 Thread Slava Bendersky
Hello Bogdan, So only option is get to 3CX database or API ? volga629 From: "Bogdan-Andrei Iancu" To: "Slava Bendersky" , "OpenSIPS users mailling list" Sent: Monday, October 29, 2018 9:31:29 AM Subject: Re: [OpenSIPS-Users] presence blf you do not need mid_registrar. The logic should

Re: [OpenSIPS-Users] presence blf

2018-10-29 Thread Bogdan-Andrei Iancu
you do not need mid_registrar. The logic should be : route[PUBLISH_407] { if(is_method("PUBLISH") && has_body("application/dialog-info+xml") && $avp(DLG_dir)=="frompbx") { xlog("L_INFO", "[$rm] from $si\n"); t_on_failure("SUPPLY_AUTH"); } failure_route[

Re: [OpenSIPS-Users] presence blf

2018-10-29 Thread Bogdan-Andrei Iancu
Hi Salva, In failure route, you should check first for the 407 (btw, you do not have to go via the onreply route, you can use only failure_route, directly). If so, call uac_auth(), but be sure you the $avp(10), $avp(11) and $avp(12) *already* contain the values for realm, username and passwor

Re: [OpenSIPS-Users] Location table update instead of insert

2018-10-29 Thread Schneur Rosenberg
I do have a shared DB and "skip_replicated_db_ops" is set to "1" and I have the problem that the lots of users were erased from the location table somehow and the server thinks the record is there and just does a update, I think the system should do a insert if it sees that 0 rows were updated duri