Re: [OpenSIPS-Users] capability of load balancer
Bogdan-Andrei Iancu writes: > > Hi Agung, > > Ok, ok, but what you want to LB ? calls going to GW, media servers? > Typically you do LB when you send traffic to multiple destinations (more > or less identical) and you want to have an even load over all > destinations ... > > So, what is your real case for LB? > > Regards, > Bogdan > My real case is that I want to do LB for audio and video INVITE. I see that I can differ the INVITE for audio and Video request via codec on message body. I use 5 computer, 1 for LB, 2 for audio destination, and 2 for video destination. And I hope that if I use LB, I can increase demand for audio and video. Can I increase request from user so I get more user that can communicate in the same time I need a paper or some research that can support my opinion. Regard Agung ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] capability of load balancer
Bogdan-Andrei Iancu writes: > > Hi Agung, > > I see - so you have a cluster of servers for audio and video playback > and you want to put opensips in front to load balance the incoming > traffic to the servers from the cluster. > > That is a correct applicability for a load balancer. Now, if you read > the LB tutorial, you know you have to define the resources (like a audio > channel or a video channel) and to use 2 set for balancing (one for > audio destinations, one for video destination). > > Regards, > Bogdan > Yes that what I do. And thanks to your doc, it help me a lot. Now I want to test my server using sipP. Did you have an example xml for register and INVITE??? I have create a thousand user but I still cannot test my server using my xml. This is my xml: And it say error like this: Jun 23 13:19:17 [13407] ERROR:core:parse_cseq: expecting CSeq EoL Jun 23 13:19:17 [13407] ERROR:core:parse_cseq: bad cseq Jun 23 13:19:17 [13407] ERROR:core:get_hdr_field: bad cseq Jun 23 13:19:17 [13407] INFO:core:parse_headers: bad header field Jun 23 13:19:17 [13407] ERROR:maxfwd:is_maxfwd_present: parsing MAX_FORWARD header failed! Jun 23 13:19:17 [13407] ERROR:core:parse_cseq: expecting CSeq EoL Jun 23 13:19:17 [13407] ERROR:core:parse_cseq: bad cseq Jun 23 13:19:17 [13407] ERROR:core:get_hdr_field: bad cseq Jun 23 13:19:17 [13407] INFO:core:parse_headers: bad header field Jun 23 13:19:17 [13407] ERROR:tm:t_lookup_request: too few headers Jun 23 13:19:17 [13407] ERROR:core:parse_cseq: expecting CSeq EoL Jun 23 13:19:17 [13407] ERROR:core:parse_cseq: bad cseq Jun 23 13:19:17 [13407] ERROR:core:get_hdr_field: bad cseq Jun 23 13:19:17 [13407] INFO:core:parse_headers: bad header field Jun 23 13:19:17 [13407] ERROR:rr:find_first_route: failed to parse headers Jun 23 13:19:17 [13407] ERROR:core:parse_cseq: expecting CSeq EoL Jun 23 13:19:17 [13407] ERROR:core:parse_cseq: bad cseq Jun 23 13:19:17 [13407] ERROR:core:get_hdr_field: bad cseq Jun 23 13:19:17 [13407] INFO:core:parse_headers: bad header field Jun 23 13:19:17 [13407] ERROR:textops:search_body_f: failed to get the message body Jun 23 13:19:17 [13407] ERROR:core:parse_cseq: expecting CSeq EoL Jun 23 13:19:17 [13407] ERROR:core:parse_cseq: bad cseq Jun 23 13:19:17 [13407] ERROR:core:get_hdr_field: bad cseq Jun 23 13:19:17 [13407] INFO:core:parse_headers: bad header field Jun 23 13:19:17 [13407] ERROR:dialog:init_leg_info: bad sip message or missing CSeq hdr :-/ Jun 23 13:19:17 [13407] ERROR:dialog:dlg_create_dialog: could not add further info to the dialog Jun 23 13:19:17 [13407] ERROR:load_balancer:do_load_balance: failed to create dialog Jun 23 13:19:17 [13407] ERROR:core:parse_cseq: expecting CSeq EoL Jun 23 13:19:17 [13407] ERROR:core:parse_cseq: bad cseq Jun 23 13:19:17 [13407] ERROR:core:get_hdr_field: bad cseq Jun 23 13:19:17 [13407] INFO:core:parse_headers: bad header field Jun 23 13:19:17 [13407] ERROR:auth:find_credentials: failed to parse headers Jun 23 13:19:17 [13407] ERROR:auth:pre_auth: failed to find credentials Jun 23 13:19:17 [13407] ERROR:core:parse_cseq: expecting CSeq EoL Jun 23 13:19:17 [13407] ERROR:core:parse_cseq: bad cseq Jun 23 13:19:17 [13407] ERROR:core:get_hdr_field: bad cseq Jun 23 13:19:17 [13407] INFO:core:parse_headers: bad header field Jun 23 13:19:17 [13407] ERROR:core:build_res_buf_from_sip_req: parse_headers failed Jun 23 13:19:17 [13407] ERROR:sl:sl_send_reply_helper: response building failed Jun 23 13:19:17 [13407] ERROR:signaling:sig_send_reply_mod: failed to send reply with sl module Jun 23 13:19:17 [13407] ERROR:auth:pre_auth: failed to send 400 reply ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] adding user but no password
Bogdan-Andrei Iancu writes: > > Hi Agung, > > Use the latest 1.6 version from SVN and let me know if you still have > this problem. > > BTW, what STORE_PLAINTEXT_PW you have in opensipsctlrc ? > > Regards, > Bogdan > Okay I will try using 1.6.2-notls soon. my STORE_PLAINTEXT_PW=0 , did it wrong??? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] adding user but no password
Agung writes: > > Bogdan-Andrei Iancu writes: > > > > > Hi Agung, > > > > Use the latest 1.6 version from SVN and let me know if you still have > > this problem. > > > > BTW, what STORE_PLAINTEXT_PW you have in opensipsctlrc ? > > > > Regards, > > Bogdan > > > > Okay I will try using 1.6.2-notls soon. > my STORE_PLAINTEXT_PW=0 , did it wrong??? > > I am sorry, it was my fault. I must setting STORE_PLAINTEXT_PW=1 not 0. There isn't opensips-1.6.1-notls problem, just my configuration that going wrong. Thanks bogdan. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] sipP finished with exit code 139 and Segmentation fault
Iñaki Baz Castillo writes: > > 2010/6/29 agung nugroho gmail.com>: > > I still don't get any idea. I have already more than 5000 users at my > > database. But Why I can only got less than 1000 users registered??? > > Did I have got wrong config at my server?? > > It seems more a problem in your SIPp scenario, right? > Is that true??? I am really curious because it say that it have "segmentation fault", so I am suspicious that my config at server isn't right. But if it is my scenario problem, hope that you can help me. This is my scenario: ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] sipP finished with exit code 139 and Segmentation fault
Saúl Ibarra Corretgé writes: > > > This may happen because you system ran out of resources. Try setting the > open files limit to unlimited before running sipp. > > ulimit -n unlimited > Hi Saul, thanks for your reply. I have try to setting "ulimit -n 100" because I can't setting to unlimited. But I still get that crash,less than 1000 user register,and I finish automatedly. I finished with "segmentation fault" again. Is there any other solution??? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] sipP finished with exit code 139 and Segmentation fault
Iñaki Baz Castillo writes: > > So, do you have a segfault in OpenSips or in SIPp? > I got segfault on SIPp. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] sipP finished with exit code 139 and Segmentation fault
Iñaki Baz Castillo writes: > > 2010/6/29 Agung gmail.com>: > > Is that true??? I am really curious because it say that it have > > "segmentation > > fault", so I am suspicious that my config at server isn't right. > > So, do you have a segfault in OpenSips or in SIPp? > I got segfault when I test SIPp. It says: "Finished with exit code 139. Resolving remote host "(my server SIP IP address)"...Done. Segmentation fault" Do you think that is my SIPp or OpenSIPS problem?? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] sipP finished with exit code 139 and Segmentation fault
Saúl Ibarra Corretgé writes: > > > I remember also raising the stack size and the user number of precesses. > (ulimit -s and ulimit -u). I can't tell you why, but it somehow did the > trick. > > Sorry for not being too specific, I did this quite some time ago... > I have done all of you tell. at opensips: "ulimit -a" core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 14327 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 100 pipe size(512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) unlimited cpu time (seconds, -t) unlimited max user processes (-u) unlimited virtual memory (kbytes, -v) unlimited file locks (-x) unlimited at SIPp: "ulimit -a" core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 20 file size (blocks, -f) unlimited pending signals (-i) 16382 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 100 pipe size(512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) unlimited cpu time (seconds, -t) unlimited max user processes (-u) unlimited virtual memory (kbytes, -v) unlimited file locks (-x) unlimited but I still get this on my SIPp: "Finished with exit code 139 Resolving remote host "172.168.1.1"...Done Segmentation Fault" 172.168.1.1 is my opensips IP address. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] sipP finished with exit code 139 and Segmentation fault
Agung writes: > > Saúl Ibarra Corretgé writes: > > > > > > > I remember also raising the stack size and the user number of precesses. > > (ulimit -s and ulimit -u). I can't tell you why, but it somehow did the > > trick. > > > > Sorry for not being too specific, I did this quite some time ago... > > > I have change that as you told but at openfiles and stack size, it came back to the default setting openfiles=1024 and stack size=8192 when i exit as root to user. I didn't know why that happen. Can I just setting that to fix setting ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] sipP finished with exit code 139 and Segmentation fault
Iñaki Baz Castillo writes: > > 2010/6/30 Agung gmail.com>: > > Iñaki Baz Castillo writes: > > > >> > >> So, do you have a segfault in OpenSips or in SIPp? > >> > > > > I got segfault on SIPp. > > Then it's not a problem in OpenSIPS but in SIPp. I suggest you to > asking this question in SIPp maillist as it's not a OpenSIPS problem. > Okay, I am sorry if I trouble you all. I think that maybe someone at opensips have ever get this when try to test opensips using sipp. Thanks before Inaki. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] sipP finished with exit code 139 and Segmentation fault
Agung writes: > > Agung writes: > > > > > Saúl Ibarra Corretgé writes: > > > > > > > > > > > I remember also raising the stack size and the user number of precesses. > > > (ulimit -s and ulimit -u). I can't tell you why, but it somehow did the > > > trick. > > > > > > Sorry for not being too specific, I did this quite some time ago... > > > > > > I found my problem. I use the webfronted SIPp. when I try to use terminal to run my scenario, it is going well. May be there is something needed to be fix on my SIPp webfronted. Thanks all. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] sipP finished with exit code 139 and Segmentation fault
Iñaki Baz Castillo writes: > > > You are specially rude. > I just suggested you to ask for this kind of issue in the SIPp > maillist, as it makes MORE sense than asking it here. > I am really sorry,Inaki. I dont mean to be rude. Finally I found my problem. That is on my webFronted SIPp. I just want to share that may be someone try to use webFonted SIPp to test the opensips had some problems like me. I suggest you to just use terminal to run SIPp. Because I think webFronted SIPp is not just run, but it needs to configure more. Regard Agung ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] no via found in reply
Bogdan-Andrei Iancu writes: > > Hi Agung, > > Is this a scenario with a proxied INVITE ? also, does the received 183 > contain a VIA hdr ? > > Regards, > Bgdan > Hi bogdan, thanks for fast reply. This is the scenario on load balancer actually. I want to test load balancer using sipp, I have make some xml. But unfortunately I got this error when running sipP. I just think maybe you can explain me, why do I get "ERROR:core:receive_msg: no via found in reply"??? Cause I think my xml is OK but opensips has trouble. But I am not sure yet. The receiver 183 will send PRACK with same Via. Regard Agung ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] nathelper+rtpproxy between IPv6 client and IPv4 client
I want to ask you all about nathelper modules. Is it can be using with rtpproxy?? i reasearch about how to connect IPv6 client with IPv4 client using IMS. And they can communicate with tripleplay. what is client software that i can use?? coz i use monster as a client but it cannnot connect to the server. can anyone help me??? sorry for my bad english. Thanks before. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Help!! How to do failover of mysql connection
Krunal Patel writes: > > > HiThanks for your help.I have installed mysql-proxy.I have tested it for > failover.It seems working.Thanks again..Krunal Patel Hi krunal Patel, I was read your post about failover of mysql. I still dont understand it. Actually my need is to connect opensips with mysql that in other PC. How can I do that?? I using opensips-1.6.1-notls. My configuration is opensips on 10.14.11.1 and mysql server on 10.14.11.2 I have been try this setting: modparam("usrloc", "db_url", "mysql://root:***...@10.14.11.2/opensips") or modparam("usrloc", "db_url", "mysql://root:***...@10.14.11.2:3306/opensips") But I still get error : ERROR:db_mysql:db_mysql_connect: driver error(2003): Can't connect to MySQL server on '10.14.11.2' (111) Is there any solution??? thanks before. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Help!! How to do failover of mysql connection
Bogdan-Andrei Iancu writes: > > Hi, > > are you sure the mysql server on 10.14.11.2 is configured to listen on a > network interface (and not only on local host) ? check on the > 10.14.11.2 with "netstat -tlnp | grep mysqld" and see if mysql is > listed as TCP listener. > > Regards, > Bogdan > Pardon me,Bogdan. It was my fault. I forget to setting mysql server. I have another problem. When I got finish the mysql problem, I got this error on my opensips server: WARNING:usrloc:dbrow2info: non-local socket...ignoring Is that make something goes wrong?? Can I just walk away?? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] capability of load balancer
Hi all I want to ask about load balancer module. I have created load balancing between audio and video calls. But I still confuse about the performance. Is the load balancer really help?? I haven't test my server yet, and actually I still confuse how can load balancer help me to make my system run smoothly. AFAIK all request is still going via the load balancer before the request is forwarded. And I think that make things more difficult for my server. Is there any papers that I can read about load balancer module in opensips??? Regard Agung. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] capability of load balancer
agung nugroho writes: > > Hi all > I want to ask about load balancer module. I have created load balancing > between > audio and video calls. But I still confuse about the performance. > Is the load balancer really help?? > Is there any papers that I can read about load balancer module in opensips??? > May be my question is not understandable. Lets make it easier. Did anyone have try to "code profiling" SIP server that use load balancer and without it??? and how does it look?? I just curious, Did load balancer really help to optimize our sip server?? I still confuse, AFAIK all request is still go through SIP server if I use load balancer. So I think that load balancer makes heavier the SIP server. I really hope that anyone try it and can share here. Thanks. Regard Agung ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] capability of load balancer
Bogdan-Andrei Iancu writes: > > Hi Agung. > > I guess you but the solution before the problem - you implemented > load-balancer as solution, and now you are asking about the problem - > like why do you need the LB > > Well, let me ask - what problem do you try to solve ? > > Also, have you read the LB tutorial - see > http://www.opensips.org/Resources/DocsTutLoadbalancing > > Regards, > Bogdan > Thanks bogdan for your reply, I am really appreciate it. My problem is to get server SIP can running smoothly using load balancer. 1. My first problem, I want to get high performance of my SIP server so I use load balancer as solution for load. But I am rethinking again,with load balancer module enable that means my INVITE going throught SIP server twice. First when INVITE is coming from user, and the second is when INVITE comes from destination load balancer. So I think that makes the load bigger. Is that true?? 2. My second problem, Is that module load balancer is more effective than when I use the default one??? AFAIK there is someone who did code profilling in http://www.opensips.org/Resources/TestsProfiling. I think he uses the default script. And my problem is, If I use load balancer as solution for my load problem, can I get better code profilling??? or worse?? I hope you understand what I mean and sorry for my bad english. Regard Agung ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] unable to register to OPENSIP using xlite
Premalatha Kuppan writes: > > /tmp/opensips_fifoERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")' in your config > ERROR: and also have loaded the mi_fifo module."mi_fifo is.so is available. But opensips_fifo is not available in that directory. From where should i copy the opensips_fifo in to /tmp.Can you please help me. I have attached my .cfg file.Thanks,Prem AFAIK you can create opensips_fifo by yourself. Using "touch /tmp/opensips_fifo" CMIIW Regard Agung ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] unable to register to OPENSIP using xlite
Iñaki Baz Castillo writes: > > 2010/5/31 Premalatha Kuppan ngintech.com>: > > Hi , > > > > I running Mysql server on seperate PC and OPENSIPS on seperate PC. First > > time when i start opensips, its taking lot of time to connect, appro: 2 min > > 50 secs. > > Your OpenSIPS CANNTO connect to the remote database, that's all and is > really visible in the logs. Check that your MySQL is listening in the > network (not just localhost as it comes by default), check the > firewall (port 3306) and so on. > > > So, all registration fails. > > > > I just want to share my research. AFAIK I can use remote database using opensips. Just enable my.cnf at mysql server then forward all request database from opensips to mysq server. CMIIW Regard Agung ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] adding user but no password
Hi all, I have another problem beside testing load balancer. I am adding user using command "opensipsctl add" but I get no password. I use command "opensipsctl add us...@server user1" but it only create username and domain only, there is no password created. I am using opensips-1.6.1-notls and MySQL as database user. Am I doing wrong command??? Regard Agung ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] sipP finished with exit code 139 and Segmentation fault
I was tested my server using sipP 2.0 and 3.1. I have create more than 5000 users on my database server. I was tested it, but when I got less than 1000 users register, I got error "Finished with exit code 139. Resolving remote host "(my server SIP IP address)"...Done. Segmentation fault" I still don't get any idea. I have already more than 5000 users at my database. But Why I can only got less than 1000 users registered??? Did I have got wrong config at my server?? I using opensips-1.6.1-notls as server SIP and mysql as database server. Regard Agung ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] no via found in reply
Hi all, I have another problem with opensips. INVITE --> 100 <-- 183 <-- When I reach 183, I got error in opensips: "ERROR:core:receive_msg: no via found in reply" is anyone have get this error??? but what kind of problem is that??? Regard Agung ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] no via found in reply
Bogdan-Andrei Iancu writes: > > OpenSIPS complains about receiving a reply with no 183 - so, check on > network if indeed, the 183 generated by SIPP has a VIA hdr. > > Regards, > Bogdan > Thanks bogdan. I make something wrong on my xml. But I have another problem, I think I will make new thread. Thanks before. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] ACC: call missed, 487 Request Terminated
Hi all, thanks for helping me so far. I have another problem. :-D I got this error "ACC: call missed: timestamp=1279477727;method=INVITE;from_tag=1-INV-UAC;to_tag=;call_id= 1-13...@172.168.1.1;code=487;reason=Request Terminated" I dont know what happen but I think my opensips.cfg goes wrong. I try using sipp with my xml, when i try my xml as UAC and UAS without opensips, It is going well. But when I try it as UAC and UAS via opensips, I got that error. I hope anyone can help me. Regard Agung Nugroho ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] ACC: call missed, 487 Request Terminated
I am sorry to disturb you all,, I have solve my problem. That is my sipp that cannot get the "right" VIA header. I used sipp 2.0 but after i change to use 3.1, I can running smoothly. Thanks all. Regard Agung ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users