Re: [OpenSIPS-Users] including auth nonce header in next hop

2014-09-16 Thread Tito Cumpen
Bogdan, the branch route seems pretty limited in functionality. How would you compare a $du to allow credentials to traverse when they are going to a neighbor proxy? Also noticed you cant use consume_credentials(). if(uri != myself ) { #consume_credentials(); xlo

Re: [OpenSIPS-Users] dispatcher not doing fail over itself

2014-09-16 Thread Satish Patel
After doing couple of TEST look like its marking "Probing" for failed gateway but not auto failover to next gateway, i meant call get disconnect and i need to re-initiate call then all call goes to second active gateway.. I believe it should first mark gateway "Probing" and then fall-back to secon

[OpenSIPS-Users] 408 for non-invite request

2014-09-16 Thread Patrick Wakano
Hello list, I have a scenario with mobile user - Opensips - Asterisk and I was having some trouble with Options requests sent from Asterisk to mobile user. Due to a high value of the qualify timeout on Asterisk a and low value of the fr_timeout from tm module, Options requests sent to unreachable

Re: [OpenSIPS-Users] OpenSIPS installation problem

2014-09-16 Thread Sandeep Sharma
Hi, After reinstalling different version of mysql devlopment package problem sorted out & below are o/p:- [root@linux rpm]# mysql_config --libs -rdynamic -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl –lcrypto But while starting opensips scripts from /etc/init.d its g

Re: [OpenSIPS-Users] dispatcher not doing fail over itself

2014-09-16 Thread Satish Patel
Here is the result of debug, It is saying "ds_mark_dst: mode [2] grp [1] dst [sip:xxx.xxx.xxx.xxx:5071]" but not doing it, i can still see status is "Active" One more thing let me tell you, I am running both FS1 and FS2 on same box to testing dispatcher so they are running on 5061 and 5071, it s

Re: [OpenSIPS-Users] dispatcher not doing fail over itself

2014-09-16 Thread Bogdan-Andrei Iancu
Hi, Use debug=4 when doing the ds_next_dst() - see the setdebug() function : http://www.opensips.org/Documentation/Script-CoreFunctions-1-11#toc47 Also try an avp_print() after ds_select_dst() to see what data is kept into transaction. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Develo

Re: [OpenSIPS-Users] dispatcher not doing fail over itself

2014-09-16 Thread Satish Patel
Thanks for point out but still its not working, does my flags looks good? "F" or do i need something else? If i manually shutdown FS1 then it is going inside failure route and saying "No more gateways in route set" but i have FS2 active state and if i call again next call works.. do i need to set

Re: [OpenSIPS-Users] using TCP/TLS in a large scale deployment

2014-09-16 Thread Bogdan-Andrei Iancu
Only one, similar to UDP. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 16.09.2014 13:03, george wu wrote: Does SCTP need only one socket for 100K end points? Can it be secure? If so, that's really great. George Wu At 2014-09-16 05:54:42,

Re: [OpenSIPS-Users] OpenSIPS crashed after "out of pkg memory"

2014-09-16 Thread Mickael Hubert
Hi all, after upgrade Opensips, I've faced same memory error (see below). Have you a help for me please ? Thanks in advance Sep 16 15:05:23 asbc2 /usr/local/sbin/opensips[15783]: ERROR:core:build_res_buf_from_sip_req: out of pkg memory; needs 395 Sep 16 15:05:23 asbc2 /usr/local/sbin/opensips[1

Re: [OpenSIPS-Users] RTPPROXY-NG with openSIPS 1.11

2014-09-16 Thread Bogdan-Andrei Iancu
Hi Jonathan, In OpenSIPS trunk (1.12), there is the rtpengine module for that. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 16.09.2014 14:05, Jonathan Hunter wrote: Hi Guys, I am wondering if RTPPROXY-NG can now be used with the latest open

[OpenSIPS-Users] RTPPROXY-NG with openSIPS 1.11

2014-09-16 Thread Jonathan Hunter
Hi Guys, I am wondering if RTPPROXY-NG can now be used with the latest openSIPS stable release? As I'm looking to test RTP-SRTP functionality. I notice this thread; http://opensips-open-sip-server.1449251.n2.nabble.com/opensips-RFC-An-initial-attempt-of-porting-rtpproxy-ng-module-from-your-twin-pr

Re: [OpenSIPS-Users] OpenSIPS installation problem

2014-09-16 Thread Sandeep Sharma
Hi, Can you please confirm whether to install mysql 32 bit or 64 package on CentOS 5.8 64 bit machine also is there any mysql version dependencies for open SIP (right now 5.5.39 is installed). Thanks & Regards Sandeep Sharma IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033. T +91 99

Re: [OpenSIPS-Users] OpenSIPS installation problem

2014-09-16 Thread Sandeep Sharma
Hi Liviu, After executing trailing mail option also same problem persists, is there any dependencies of mysql package i.e, 32 bit or 64 bit coz right now mysql 64 bit package is installed. Thanks & Regards Sandeep Sharma From: Liviu Chircu Sent: Tuesday, September 16, 2014 2:49 PM To: users@

[OpenSIPS-Users] OpenSIPS 2.0 - results, updates and implications

2014-09-16 Thread Bogdan-Andrei Iancu
Hello, I'm coming back with results and updates in regards to the OpenSIPS New Design (2.0). OpenSIPS 2.0 successfully implemented and validated several key concepts - global reactor, async I/Os, context based processing, multi-threaded architecture, etc. Now is the time to get use of all th

Re: [OpenSIPS-Users] using TCP/TLS in a large scale deployment

2014-09-16 Thread Bogdan-Andrei Iancu
SCTP ? Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 16.09.2014 12:41, george wu wrote: Bogdan-Andrei Iancu: One more question, I know there is tls for tcp, is there any similar for udp so that the udp package is secure? Thanks. George At 2014

Re: [OpenSIPS-Users] OpenSIPS installation problem

2014-09-16 Thread Liviu Chircu
Hello Sandeep, Two quick solutions: a) configure linker to look in /usr/lib/mysql as well echo -e '/usr/lib/mysql\n/usr/lib64/mysql' > /etc/ld.so.conf.d/mysql ldconfig b) simply create some additional symbolic links ln -s /usr/lib/mysql/libmysqlclient.so /usr/lib/libmysqlclient.so

Re: [OpenSIPS-Users] OpenSIPS installation problem

2014-09-16 Thread Bogdan-Andrei Iancu
Funny, the mysql_config should report the /usr/lib64/mysql/ dir and not /usr/lib64 ... Looks like a problem with your mysqlclient package... Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 16.09.2014 11:59, Sandeep Sharma wrote: Hi, I can locat

Re: [OpenSIPS-Users] OpenSIPS installation problem

2014-09-16 Thread Sandeep Sharma
Hi, I can locate libmysqlclient.so in /usr/lib64/mysql50/mysql/ and /usr/lib/mysql50/mysql/ folder as per below o/p:- [root@linux lib64]# locate libmysqlclient.so /usr/lib/mysql/libmysqlclient.so.15 /usr/lib/mysql/libmysqlclient.so.15.0.0 /usr/lib/mysql/libmysqlclient.so.16 /usr/lib/mysql/libmy

Re: [OpenSIPS-Users] db_check_from function

2014-09-16 Thread Bogdan-Andrei Iancu
Hi, In a SIP request you have two identities : - the SIP identity, in the FROM hdr - the caller - the auth identity (username and password) from the Authorize header. In SIP specs there is nothing says that the 2 identities must be the same. So you can have several SIP identities using

Re: [OpenSIPS-Users] OpenSIPS installation problem

2014-09-16 Thread Bogdan-Andrei Iancu
According to "mysql_config", the libmysqlclient library should be under "/usr/lib64". Do you have an "libmysqlclient.so" in there ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 16.09.2014 10:45, Sandeep Sharma wrote: Hi, Below are o/p (I am

Re: [OpenSIPS-Users] OpenSIPS installation problem

2014-09-16 Thread Sandeep Sharma
Hi, Below are o/p (I am unable to locate lmysqlclient in my system but all mysql related rpm are installed). [root@linux db_mysql]# mysql_config --libs -L/usr/lib64 -lmysqlclient -lpthread -lm -lrt -ldl [root@linux db_mysql]# locate lmysqlclient Thanks & Regards Sandeep Sharma IMImobile Plot 7

Re: [OpenSIPS-Users] using TCP/TLS in a large scale deployment

2014-09-16 Thread Bogdan-Andrei Iancu
Hi George, There are advantages and disadvantages for each protocol you use: UDP is much lighter as protocol for the OS (100K UDP end points -> only one socket, 100K TCP end points -> 100K sockets) and also for the application (OpenSIPS) - managing TCP connection is more resource intensive ra

Re: [OpenSIPS-Users] OpenSIPS installation problem

2014-09-16 Thread Bogdan-Andrei Iancu
As it got the linking part, I suppose you have the mysql devel header files. But the linking failed as the mysqlclient library was not found. Could you check where that lib is located on your system ? Also, do you have "mysql_config" installed on your system ? if yes, what is the output of "mys

Re: [OpenSIPS-Users] OpenSIPS installation problem

2014-09-16 Thread Sandeep Sharma
Hi, Below are error if make modules is executed:- [root@linux opensips-1.11.2-tls]# make modules which: no lynx in (/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/dialogic/bin:/usr/java/jdk1.6.0_43/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin) mak

Re: [OpenSIPS-Users] dispatcher not doing fail over itself

2014-09-16 Thread Bogdan-Andrei Iancu
Hi, your logic in failure route is broken - do the "ds_mark_dst" before selecting a new destination via "ds_next_dst". Firs mark the used one as probing and then use the next one. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 16.09.2014 07:

Re: [OpenSIPS-Users] OpenSIPS installation problem

2014-09-16 Thread Bogdan-Andrei Iancu
Hi, And what happens if you run "make modules" from command line ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 16.09.2014 07:10, Sandeep Sharma wrote: Hi Team, I am facing necessary library generation problem while compiling & below are de

Re: [OpenSIPS-Users] avpops module

2014-09-16 Thread Bogdan-Andrei Iancu
Hi, I guess you try to load from avpops table the "myvar" avp belonging to UUID "1.2.3.4" (which is actually the src IP) ? So: 1) are you sure you properly order the values according to the dbtext header . Note that the official db structure is a bit different (see scripts/dbtext/opensips/u

Re: [OpenSIPS-Users] src_ip in DB

2014-09-16 Thread Bogdan-Andrei Iancu
Hi, See the permissions module : http://www.opensips.org/html/docs/modules/1.11.x/permissions.html with the check_source_address() function and "address" table : http://www.opensips.org/html/docs/modules/1.11.x/permissions.html#id294950 http://www.opensips.org/Documentation/Install-DBSchema-1-11