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
Hi list,
I wonder what's the difference in NATHELPER and NAT_TRAVERSAL modules.
They seem to do the same work and have similar functions and tests.
---
BR, Alexey
http://alexeyka.zantsev.com/
___
Users mai
Done.
1. ipset create SIPFLOOD hash:ip timeout 120 comment
2. iptables -A INPUT -m set --match-set SIPFLOOD src -j DROP
3. add to /etc/sudoers:
opensips ALL= NOPASSWD: /sbin/ipset
4. OpenSIPS config (OPTIONS processing for test environment):
exec
loadmodule "exec.so"
antiflood mod
If the shell syntax gets too complex and the OpenSIPS script cannot handle it
>anymore, you should make a wrapper .sh around all the logic, and only feed it
>parameters.
>
>Best regards,
>
>Liviu Chircu
>OpenSIPS Developer
>http://www.opensips-solutions.com
>
>On 23.0
Hi all.
I use module pike.so and exec.so to automatically add flooding IP addresses to
firewall rejecting rules.
The code is as follows:
pike_check_req();
switch($retcode) {
case -2:# detected once - simply drop the request
exit;
case -1:# detected again -
I had a mistake in previous advice, in a code snippet.
For INVITE requests it should be like this of course:
if(method=="INVITE" && $rU==00498970043400) {
forward("10.0.0.10:5060"); # ip of 1000 phone
}
---
BR, Alexey
http://alexeyka.zan
for: http://lists.opensips.org/pipermail/users/2018-April/039206.html
Hello
As the simplest example, having 10 or smth like that DIDs/inner phone numbers,
you may use just core functions -
https://www.opensips.org/Documentation/Script-CoreFunctions-2-3#toc18
and core variables
https://www.o
This is for http://lists.opensips.org/pipermail/users/2018-April/039337.html
Hi!
Try option 'f' for 'save' function of 'registrar' module.
I hope this is exactly what you need.
---
BR, Alexey
http://alexeyka.zantsev.com/
Hello
As the simplest example, having 10 or smth like that DIDs/inner phone numbers,
you may use just core functions -
https://www.opensips.org/Documentation/Script-CoreFunctions-2-3#toc18
and core variables
https://www.opensips.org/Documentation/Script-CoreVar-2-3#toc75
to determine the
Hello
As the simplest example, having 10 or smth like that DIDs/inner phone numbers,
you may use just core functions -
https://www.opensips.org/Documentation/Script-CoreFunctions-2-3#toc18
and core variables
https://www.opensips.org/Documentation/Script-CoreVar-2-3#toc75
to determine the us
Hello
As the simplest example, having 10 or smth like that DIDs/inner phone numbers,
you may use just core functions -
https://www.opensips.org/Documentation/Script-CoreFunctions-2-3#toc18
and core variables
https://www.opensips.org/Documentation/Script-CoreVar-2-3#toc75
to determine the us
Created a ticket on github:
https://github.com/OpenSIPS/opensips/issues/1306
But we removed all config files and decided to use MI_JSON
---
BR, Alexey
http://alexeyka.zantsev.com/ ___
Users mailing list
Us
We'll use http://www.opensips.org/html/docs/modules/2.2.x/mi_json.html
---
BR, Alexey
http://alexeyka.zantsev.com/___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listi
upd:
created /etc/snmp/snmp.conf like this:
mibs +OPENSER-MIB
mibs +OPENSER-REG-MIB
mibs +OPENSER-SIP-COMMON-MIB
mibs +OPENSER-SIP-SERVER-MIB
mibs +OPENSER-TC As for now, at least this works:
sip01 ~ # snmptranslate -IR -On openserSIPRegStats
.1.3.6.1.4.1.27483.3.1.2.1.6
sip01 ~ # snmpwalk -v 2
Hi all.
- CentOS 7.4.1708
- OpenSIPS 2.2.5
- configured as written here
http://www.opensips.org/html/docs/modules/2.2.x/snmpstats.html and
http://saevolgo.blogspot.ru/2012/09/opensips-monitoring-using-snmp-part-i.html
- OPENSER-MIB, OPENSER-REG-MIB, OPENSER-SIP-COMMON-MIB,
OPENSER-SIP-SERVER
Thank you Bogdan,
we will wait.
>Пятница, 26 января 2018, 19:45 +05:00 от Bogdan-Andrei Iancu
>:
>
>Hi Alexey,
>
>Right now OpenSIPs can "unregister" contacts which are no longer
> answering to pinging (OPTIONS based). For the new upcoming release
> 2.4 we are working to actively calc
Hello all.
What is the best way to measure the quality of SIP connection between OpenSIPS
as a registrar server and registered subscriber?
Something like in Asterisk 'sip show peers', column 'Status'.
We have a great number of subscribers which are connected from GSM smartphones
(via mobile i
Thank you Ovidiu.
Yes, everything works!
>
>Hello Alexey,
>
>The functionality of uac_auth module is required by uac_registrant in order to
>perform authentications.
>You don't need to configure uac_auth parameters for uac_registrant to work.
>
>Regards,
>Ovidiu Sas
>
So, I just loaded uac_auth.so as a dependency of uac_registrant.so,
and added SIP login/pass/etc via 'opensipsctl registrar add ...' and the
registration is successful.
But I steel not sure what should we configure in uac_auth parameters...
Though, I achieved what I wanted.
---
Hello all.
I can not understand where should I configure sip logins, passwords, etc for
outgoing SIP registrations.
The documentation says that we must use uac_registrant module, and load
uac_auth before it.
Both modules support configuring credentials used for SIP registration,
uac_registra
Thank you.
--
Best regards, Alexey
http://alexeyka.zantsev.com/
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Hello all.
It's about 'setflag' core function's documentation.
For releases 2.3 and 2.4 it's written " The value of the parameter can be in
range of 0..31 ". // setflag(13);
But as I know, we can also use a string parameter. // setflag(TCP_PERSISTENT);
So, it's like an error in documentation.
It
Thank you, Bogdan!
--
BR, Alexey___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
as here
http://www.opensips.org/html/docs/modules/2.3.x/load_balancer.html#idp5568448
Best regards, Alexey___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Oh. The sign you need is replaced here with the 'at' word. I hope you
understand tht you need the sign, not the word.
As here:
http://www.opensips.org/html/docs/modules/2.3.x/load_balancer.html#idp5568448
Best regards, Alexey
___
Users mailing lis
Oh. The sign you need is replaced here with the 'at' word. I hope you
understand tht you need the sign, not the word.
As here:
http://www.opensips.org/html/docs/modules/2.3.x/load_balancer.html#idp5568448
Best regards, Alexey
___
Users mailing list
Hello.
Try not this:
modparam("load_balancer", "probing_from", "x.x.x.x")
but this:
modparam("load_balancer", "probing_from", "ping@x.x.x.x")
Best regards, Alexey___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman
As my friend (Kirill Galinurov, an active OpenSIPS user) told me just now,
- use 'allow_register' function with register.allow/register.deny files;
- use 'check_address' function with 'address' table.
Though I haven't tried yet.
Regards, Alexey___
User
Hello all.
Preface
--
- OpenSIPS 2.3.2
- permissions module (register permissions handling)
I'd like to deny registrations from certain IP, and I've done it successfully
using register.deny file.
But now I'd like to add/remove addresses without restarting OpenSIPS each time.
The
29 matches
Mail list logo