Re: [OpenSIPS-Users] rest_append_hf

2018-03-06 Thread Pasan Meemaduma via Users
Hi Liviu, Apologies for the delayed reply, But your fix works, I have tested and its working as expected now. Thank you. On Friday, 16 February 2018, 7:25, Pasan Meemaduma via Users wrote: HI Liviu, Thanks for the prompt reply as you guys always do :). I'll

[OpenSIPS-Users] Opensips module like htable in kamailio

2018-03-06 Thread Kirill Galinurov
Hi. we need some module to store some keys like %ip -> { port => 15643, username => 'test', domain => 'test', auth_count => '2'} to do protect against dictionary attacks. Like in Kamaillio. What is the best module to do this in Opensips

Re: [OpenSIPS-Users] dialog replication

2018-03-06 Thread Pasan Meemaduma via Users
Hi Vlad, Thanks for your tip. I'll give it try. On Tuesday, 6 March 2018, 19:57, Vlad Patrascu wrote: Hi Pasan, You could have another OpenSIPS instance that exposes the service IP, in front of the 2 clustered HA nodes. Calls would first land on this box and then

Re: [OpenSIPS-Users] SNMPstats not working

2018-03-06 Thread Alexey K . via Users
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

[OpenSIPS-Users] topology_hinding & load_balancer

2018-03-06 Thread Mirko Csiky
Hi community, since we activated the topology hiding module in our load_balance test scenario (sipp uac -> opensips & load_balance -> 5x - sipp uas), load balance functionality always choose the same destination (from 5 possible). I can not see the link between topology_hiding &

Re: [OpenSIPS-Users] opensips 2.3.3 rtpproxy behind the NAT

2018-03-06 Thread Callum Guy
Apologies, got a little carried away there... *CALLER *- client--NAT--| *PROXY *- |--NAT--Opensips *CALLED *- client--NAT--| A little more detail required for full assistance however given your diagram if the caller hopes to get in touch with the called party you will need to get

Re: [OpenSIPS-Users] opensips 2.3.3 rtpproxy behind the NAT

2018-03-06 Thread Callum Guy
Ah, zee NAT, sacre bleu! On Tue, Mar 6, 2018 at 2:27 PM 2289959...@qq.com <2289959...@qq.com> wrote: > Dears > I have a environment > > client--NAT--| > |NAT--Opensips > client--NAT--| > > so rtpproxy and opensips in same server , and behind zhe NAT. > How can i

Re: [OpenSIPS-Users] mid_registrar

2018-03-06 Thread Slava Bendersky
Sorry, I was pulled away to another work. I will provide info soon, but I liked more first approach with rid (just make it short), because it not modify Caller ID or contact header. Right now I noticed when contact overwritten it use long...@domain.com;params that causing show on the phone

Re: [OpenSIPS-Users] dialog replication

2018-03-06 Thread Vlad Patrascu
Hi Pasan, You could have another OpenSIPS instance that exposes the service IP, in front of the 2 clustered HA nodes. Calls would first land on this box and then would be dispatched to one of the 2 floating IPs. You could for example hash over the From tag or Callid in order to send to the

[OpenSIPS-Users] rl_check in failure route

2018-03-06 Thread William Luke
Hi there, Hoping for some guidance. We have multiple carriers we place calls out to the PSTN over, and some have CPS limits which we check using rl_check and then choose a different carrier if we’re over the limit. This all works great. Sometimes calls fail with reasons that would mean we

[OpenSIPS-Users] opensips 2.3.3 rtpproxy behind the NAT

2018-03-06 Thread 2289959...@qq.com
Dears I have a environment client--NAT--| |NAT--Opensips client--NAT--| so rtpproxy and opensips in same server , and behind zhe NAT. How can i do? now just config listen. Can do sip protocol, but rtp no sound. No Error Message. Please help me Thanks.

[OpenSIPS-Users] SNMPstats not working

2018-03-06 Thread Alexey K . via Users
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, 

Re: [OpenSIPS-Users] Need help to print Shared memory and package memory used in opensips in logs .

2018-03-06 Thread Liviu Chircu
Hi Sasmita, Hmmm... indeed, the error is somewhat unhelpful to the script writer. The problem is that "statistics.so" is not loaded, hence "pvar $stat... is not defined". A similar thing happens with $json. I, myself, was a bit puzzled when I first hit this error. Best regards, Liviu

Re: [OpenSIPS-Users] Need help to print Shared memory and package memory used in opensips in logs .

2018-03-06 Thread Sasmita Panda
version: opensips 1.11.2-notls (x86_64/linux) flags: STATS: On, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support:

[OpenSIPS-Users] Need help to print Shared memory and package memory used in opensips in logs .

2018-03-06 Thread Sasmita Panda
Hi All , I am using opensips-1.11.2 . *xlog("Real SHMEM used size is $stat(real_used_size) \n");* Trying to print logs through this but its not working . giving below error . * ERROR:core:pv_parse_spec: pvar "stat"(inner_name) not found* * ERROR:core:pv_parse_spec: wrong char [$/36] in

Re: [OpenSIPS-Users] Username in DB URL

2018-03-06 Thread Bogdan-Andrei Iancu
Just as an update, the fix was confirmed and backported on 2.2 and 2.3 also. Thanks Olle! Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Summit 2018 http://www.opensips.org/events/Summit-2018Amsterdam On 03/02/2018 07:32 PM,