[OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.
Hi Can i use openser to insert Service Route header in 2xx Register response. If yes, how. -- Regards, Priyank ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.
insert_hf() priyank luthra wrote: Hi Can i use openser to insert Service Route header in 2xx Register response. If yes, how. -- Regards, Priyank ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Alex Balashov - Principal Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.
Hi Can you tell me in detail, which file to make this change in.. i am a newbie to opensips I have openSER 1.3.0. On Thu, Sep 17, 2009 at 12:03 PM, Alex Balashov abalas...@evaristesys.comwrote: insert_hf() priyank luthra wrote: Hi Can i use openser to insert Service Route header in 2xx Register response. If yes, how. -- Regards, Priyank ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Alex Balashov - Principal Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Regards, Priyank ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.
All changes are made in openser.cfg. priyank luthra wrote: Hi Can you tell me in detail, which file to make this change in.. i am a newbie to opensips I have openSER 1.3.0. On Thu, Sep 17, 2009 at 12:03 PM, Alex Balashov abalas...@evaristesys.com mailto:abalas...@evaristesys.com wrote: insert_hf() priyank luthra wrote: Hi Can i use openser to insert Service Route header in 2xx Register response. If yes, how. -- Regards, Priyank ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Alex Balashov - Principal Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Regards, Priyank ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Alex Balashov - Principal Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Import
Hey Philipp, I would recommend you adapting your rates plan to the one CDRTool understands ( for more info see 'doc/RATING.txt' ), and use the 'scripts/importRatingTables.php' from CDRTool to import them afterwards. DanB On Wed, Sep 16, 2009 at 2:31 PM, Philipp Hoffmann philipp-hoffm...@arcor.de wrote: Hi list, I want to use CDRTool and Call Controll to billing congestions over OpenSIPS. We have already created a rates plan in a csv file, like this: Name;Price;BillingIntervall;Prefix Germany;0.01;60/60;+49 Germany-Mobilphone;0.12;60/60;+49172,+49173,+49174,+49175 Can you tell me a simple method (script) to import this in CDRTool? Is it posible to make 10 calls at the same time over one prepaid card? Thank you, Philipp Comedy-Battle! Jetzt ablachen und voten! Neue Comedians, Spontanhumoristen und Nachwuchs-Spaßmacher machen gute Laune - bestimmen Sie den Wochensieger! http://comedy-battle.arcor.de/ ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] CDRTool billing based on routes taken
Hi Ashwini, I personally use a trick for that, by overwriting the SourceIP with the DestinationIP. Works for me! DanB On Thu, Sep 17, 2009 at 7:48 AM, ASHWINI NAIDU ashwini.na...@gmail.com wrote: hi all, I wanted to know if the rates can be applied based on the route taken by the sip call. User A taking route 1 should be charged 0.1 User B taking route 2 should be charged 0.2 User C taking route 3 should be charged 0.5 Does anyone know how this can be done using CDRTool. -- Thanking You, Ashwini BR Naidu ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] CDRTool billing based on routes taken
hi , But where do u overwrite the source ip with destination ip in opensips script or in the CDRTool On Thu, Sep 17, 2009 at 1:53 PM, DanB d...@sms4sip.com wrote: Hi Ashwini, I personally use a trick for that, by overwriting the SourceIP with the DestinationIP. Works for me! DanB On Thu, Sep 17, 2009 at 7:48 AM, ASHWINI NAIDU ashwini.na...@gmail.com wrote: hi all, I wanted to know if the rates can be applied based on the route taken by the sip call. User A taking route 1 should be charged 0.1 User B taking route 2 should be charged 0.2 User C taking route 3 should be charged 0.5 Does anyone know how this can be done using CDRTool. -- Thanking You, Ashwini BR Naidu ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Thanking You, Ashwini BR Naidu ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.
2009/9/17 Alex Balashov abalas...@evaristesys.com: insert_hf() But that is just for request, not for responses... There is some function in tm module to add headers in responses (AFAIR). -- Iñaki Baz Castillo i...@aliax.net ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.
Iñaki Baz Castillo wrote: 2009/9/17 Alex Balashov abalas...@evaristesys.com: insert_hf() But that is just for request, not for responses... There is some function in tm module to add headers in responses (AFAIR). That's not true, AFAIK: http://www.opensips.org/html/docs/modules/1.5.x/textops.html#id271292 This function [insert_hf] can be used from REQUEST_ROUTE, ONREPLY_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE. -- Alex Balashov - Principal Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.
2009/9/17 Alex Balashov abalas...@evaristesys.com: Iñaki Baz Castillo wrote: 2009/9/17 Alex Balashov abalas...@evaristesys.com: insert_hf() But that is just for request, not for responses... There is some function in tm module to add headers in responses (AFAIR). That's not true, AFAIK: http://www.opensips.org/html/docs/modules/1.5.x/textops.html#id271292 This function [insert_hf] can be used from REQUEST_ROUTE, ONREPLY_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE. Ops, great! -- Iñaki Baz Castillo i...@aliax.net ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] OpenSIPS maximum performance in a multiprocessor machine (SMP)
Adrian Georgescu wrote: Exactly to the point. Optimizing on how many transaction OpenSIPS can do natively is useless. In real cases when you enable the whole chain of things that make a complete SIP service running with accounting, DNS lookups, dips in external databases, number portability, LCR if you score 50 cps you are lucky. The point is that OpenSIPS is fast enough for its main purpose, there are the other parts or processes that slows it down and is very little you can do to optimize on that. The round trip time for all database queries will add up enough to slow the proxy down to tens cps depending how many you do and how far the queries systems are. Adrian, Thank you for your insightful comments. I will take them into account in my experiments. ID ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] OpenSIPS maximum performance in a multiprocessor machine (SMP)
Stanis?aw Pitucha wrote: I just thought about something different. What kind of link are you using on each side and what throughput can you get (using for example `iperf`) on that host. Assuming that your INVITE messages are just below 700B: 20k-msg/s * 700B == 104Mbit Maybe you've just saturated your 100Mbit connection? Are you sure that the whole path is 1Gbit? Can Iperf do more than 100Mbit at all? Stanislaw: yes, that what my first thought too. However, the whole path is Gbit Ethernet. I measured it with Iperf and I can measure more than 100 Mbit (around 900 Mbit). I also checked the network switch utilization, and everything is fine (no packets dropped, etc). Thank you for your suggestion anyway. ID ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] opensipsctl fifo hangs
Hello list,I periodically call opensipsctl fifo profile_get_values profile name. Manually, it always works great.. but called from cron every minute, it frequently hangs indefinitely until I kill it. Often I run ps ax and see about 5 of them in there. Running 1.5.3. Any ideas? -Brett ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] opensips vs kamailio
Hello, Could you please tell me the difference between these two products: OpenSIPS Kamailio every time I check them I feel they are very similar. Regards. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] opensipsctl fifo hangs
Hi Brett, if you get a hang, do try to attach with gdb to the fifo proc (you can do a fifo ps in the beginning to see the PID of the fifo process). A backtrace of the fifo proc will help in understanding the issue. BTW - what about cpu load ? Regards, Bogdan Brett Nemeroff wrote: Hello list, I periodically call opensipsctl fifo profile_get_values profile name. Manually, it always works great.. but called from cron every minute, it frequently hangs indefinitely until I kill it. Often I run ps ax and see about 5 of them in there. Running 1.5.3. Any ideas? -Brett ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] opensips vs kamailio
Hi Ghaith, both projects have a common origin (the openser project), but in the last year they had different paths, driven by different mentalities and targets. I'm working on OpenSIPS, so my info in pertinent only about this project. In the last year (since OpenSER) , OpenSIPS got some new stuff like: - b2bua support - load balancer - prepared statements - call_control (prepaid) - virtual databases - dynamic routing - caching support (local and remote) - built-in stun server and a lot others.. Maybe seeing : http://www.opensips.org/Main/Ver150 http://www.opensips.org/Main/Ver160 will provide more information Regards, Bogdan Ghaith ALKAYYEM wrote: Hello, Could you please tell me the difference between these two products: OpenSIPS Kamailio every time I check them I feel they are very similar. Regards. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] opensipsctl fifo hangs
Bogdan,CPU Idle fluctuates from 10% idle to 99% idle depending on the cycle of some other processes running; however, it's normally about 95% idle. CPU Load is between 0.80 and 2.1 Nothing seems bottlenecked. vmstat 1 seems ok to me: procs ---memory-- ---swap-- -io --system-- -cpu-- r b swpd free buff cache si sobibo in cs us sy id wa st 0 0 84852 99896 17276 32195080036 27132 18 1 80 1 0 0 0 84852 99648 17380 321956000 8 420 1188 669 1 0 98 1 0 0 0 84852 99524 17420 321976400 8 352 1205 673 0 0 99 1 0 0 0 84852 99524 17420 321976400 892 1093 481 0 0 99 0 0 0 0 84852 99524 17440 321974800 4 324 1177 443 0 0 99 1 0 0 0 84852 99220 17456 321980800 104 3812 1342 792 1 1 96 3 0 0 0 84852 99220 17472 32200320012 288 1166 567 0 0 98 2 0 0 0 84852 99096 17536 322001600 4 268 1146 539 1 0 98 1 0 0 0 84852 98972 17584 321996800 8 552 1240 652 0 0 99 1 0 12 0 84852 32632 15856 321576800 0 1596 1420 1334 73 6 21 0 0 6 0 84852 52036 15904 321586800 0 1456 1275 1020 98 2 0 0 0 7 1 84852 51024 15912 32158760016 4032 1657 730 98 1 0 0 0 6 1 84852 79344 15920 321609600 0 2448 1532 997 84 1 14 2 0 2 0 84852 86996 15936 321635200 0 1816 1381 557 55 1 44 0 0 0 0 84852 102632 16000 321627200 0 792 1291 654 12 0 87 1 0 0 0 84852 102580 16052 32162800064 3924 1332 745 1 1 96 3 0 0 0 84852 102588 16064 3216268001696 1070 298 0 0 100 0 0 You'll see I caught the periodic process run.. it doesn't last long. This was 1 sec intervals. -Brett On Thu, Sep 17, 2009 at 11:10 AM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote: Hi Brett, if you get a hang, do try to attach with gdb to the fifo proc (you can do a fifo ps in the beginning to see the PID of the fifo process). A backtrace of the fifo proc will help in understanding the issue. BTW - what about cpu load ? Regards, Bogdan Brett Nemeroff wrote: Hello list, I periodically call opensipsctl fifo profile_get_values profile name. Manually, it always works great.. but called from cron every minute, it frequently hangs indefinitely until I kill it. Often I run ps ax and see about 5 of them in there. Running 1.5.3. Any ideas? -Brett ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Can i use openser to insert Service Route header in 2xx Register response.
Iñaki Baz Castillo wrote: 2009/9/17 Alex Balashov abalas...@evaristesys.com: Iñaki Baz Castillo wrote: 2009/9/17 Alex Balashov abalas...@evaristesys.com: insert_hf() But that is just for request, not for responses... There is some function in tm module to add headers in responses (AFAIR). That's not true, AFAIK: http://www.opensips.org/html/docs/modules/1.5.x/textops.html#id271292 This function [insert_hf] can be used from REQUEST_ROUTE, ONREPLY_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE. Ops, great! probably you confused with append_to_reply() (from textops) which adds a header to the future localy-generated replies to the currently processed request. Regards, Bogdan ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] mysql engine type for opensips tables
Hello, I noticed in the .sql files used to create the tables in MySQL for Opensips it forces the table type to MyISAM. I would suggest to remove the ENGINE declaration altogether allowing the tables to be created in the default engine for the database server. In most cases for most folks this will result in MyISAM tables anyway. I write this after having stripped the engine manually in each .sql file after each update of Opensips since in my case they're created by default with ENGINE=ndb. Others may wish to use a type such as InnoDB for the acc table while MyISAM for the rest. Just a thought. - Jeff ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] simple pattern-matching SIP proxy
JM,I'm not sure if I'm reading too little into what you are saying, but just adding entries into the LCR table isn't going to do anything. OpenSIPs is largely a toolkit. Like asterisk, it doesn't do anything until you set the configuration to perform a certain way. So out of the box, the example configs are pretty useless and only show basic functionality. It certainly doesn't use drouting or LCR to do anything. It's possible that with some minimal reconfiguration of opensips.cfg example you can achieve what you want. But there is limitless opportunity for complexity. :) BTW, don't bother working with the LCR module. Go ahead and go for the drouting module. -Brett On Thu, Sep 17, 2009 at 1:00 PM, J M gspdj...@gmail.com wrote: Hello, I'm pretty new to OpenSIPS. I've lurked on this list a bit and read anything I could find, but I'm struggling with figuring things out. It feels like there is a steep learning curve. Right now I have been able to register SIP devices to the proxy and place calls between them, but that's about it. I'm going to start off saying if I missed some very basic documentation or a nice walk-through, please point me in the right direction and I'll be on my way. I'll also be happy to create a nice tutorial when I get my setup working. I think what I'm trying to do should be very simple, but maybe not. Currently, I have a group of Asterisk servers. In front of the Asterisk servers is a basic payware SIP proxy (I want to replace it as it would be good having a database backend to make adding many routes a lot easier. The payware solution only has a web-based interface.). The SIP proxy only has a handful of routing rules currently. For example: Any SIP traffic to an extension matching 555 routes to Asterisk server1, anything matching 444 routes to Asterisk server2, and so on. Right now I just want to replicate this configuration and from that point, I would hope I could use that knowledge to add a large number of specific routes - preferably being held in a SQL table. I have played around a bit with trying to add a lcr gateway and route (didn't seem to do anything), and I've also seen mention of using dispatcher or drouting, but I can't make heads or tails of how (I've seen the cookbook but so far I haven't had any bit of success). Even if I don't get a specific how-to, anything to point me in the right direction would be greatly appreciated. Regards, Josh ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Can i use openser to insert Servi ce Route header in 2xx Register response.
El Jueves, 17 de Septiembre de 2009, Bogdan-Andrei Iancu escribió: probably you confused with append_to_reply() (from textops) which adds a header to the future localy-generated replies to the currently processed request. yes, tahnks :) -- Iñaki Baz Castillo i...@aliax.net ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] simple pattern-matching SIP proxy
Hello, I'm pretty new to OpenSIPS. I've lurked on this list a bit and read anything I could find, but I'm struggling with figuring things out. It feels like there is a steep learning curve. Right now I have been able to register SIP devices to the proxy and place calls between them, but that's about it. I'm going to start off saying if I missed some very basic documentation or a nice walk-through, please point me in the right direction and I'll be on my way. I'll also be happy to create a nice tutorial when I get my setup working. I think what I'm trying to do should be very simple, but maybe not. Currently, I have a group of Asterisk servers. In front of the Asterisk servers is a basic payware SIP proxy (I want to replace it as it would be good having a database backend to make adding many routes a lot easier. The payware solution only has a web-based interface.). The SIP proxy only has a handful of routing rules currently. For example: Any SIP traffic to an extension matching 555 routes to Asterisk server1, anything matching 444 routes to Asterisk server2, and so on. Right now I just want to replicate this configuration and from that point, I would hope I could use that knowledge to add a large number of specific routes - preferably being held in a SQL table. I have played around a bit with trying to add a lcr gateway and route (didn't seem to do anything), and I've also seen mention of using dispatcher or drouting, but I can't make heads or tails of how (I've seen the cookbook but so far I haven't had any bit of success). Even if I don't get a specific how-to, anything to point me in the right direction would be greatly appreciated. Regards, Josh ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Authorizing Register messages for multiple domains
Hi, I got it working now. The problem seems to have been with the domain_reload not working properly. I had to touch /tmp/opensips_fifo chmod 755 /tmp/opensips_fifo to get it working. I have a doubt now. I added users us...@domain1 and us...@domain2. Is there a way I could stop them from being able to contact each other. That is users from one domain cannot contact the 2nd domain? Thanks, Srikanth Hi Srikanth, The default opensips config script does have support for multidomains, what you have to do is to simply to un-comment all the relevant parts (follow the indications from the file). If you get a too many hops it typically means your opensips did not recognized the SIP domain from the REGISTER as a local SIP domain (and to be handled locally). So, check if the SIP domain from RURI of the REGISTER is configured in the domain table. Also depending of the db_mode you have in domain module, you may need or not to restart your opensips after adding the a new domain in the table. Regards, Bogdan Yahoo! India has a new look. Take a sneak peek http://in.yahoo.com/trynew___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] SVN freeze - testing and preparing 1.6 release
Hi, The SVN trunk is freeze for preparing the 1.6 release - no more new code is allowed into SVN, but only fixes to the existing code. I would like to thank to all people who contributed (in different way) to the new adds-on or enhancement in 1.6. With this occasion I would like to publicly welcome the new developers who got involved in the OpenSIPS project: Irina Maria Stanescu Andrei Dragus Razvan Pistolea In the next weeks, a lot of effort will be put in testing and fixing the eventual bugs in the new 1.6 code. I welcome all of you to to start testing and reporting any issues related to the 1.6 code. Following this idea, I would like to thank to Thomas Gelf, who took the risk and start using 1.6 in real-traffic platforms and helped a lot with testing, debugging and fixing the code. In the next days, the web page listing all the goodies in 1.6 (http://www.opensips.org/Main/Ver160) will be update to reflect the new additions from the last days. Also we will start building a the docs describing the migration process from 1.5 to 1.6 (database and scripting). Best regards and thanks to all of you, Bogdan ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] CANCEL handling in 1.6
Hi Jeff, Jeff Pyle wrote: Hello, Have there been any changes in 1.6 that would change the way CANCELs are processed, compared to 1.5? Not really. I have a functioning 1.5 config (very basic) and when updated to 1.6, CANCELs fail. I cannot detect them with xlogs entering route[0] or any failure or reply route. Very strange. so you actually do not get any CANCEL in your script? do you see it at network level getting to your server? also tried to place some xlog in the very beginning of the script? Revision 6091. even if thers is no CANCEL related, try upgrading to the latest SVN. Regards, Bogdan - Jeff ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Latest SVN and Memory issuses
I upgraded to 6147 and still same issue, I also tried making the memory bigger, same issue. I do get a core dump, can i debug that somehow? Thanks On Thu, Sep 17, 2009 at 4:16 AM, andrei dragus andreidra...@yahoo.comwrote: There was a memory leak in the dialog module. If you were using this module then this was probably the cause. It was fixed starting with revision 6147. Please update and try again, and report if you still have issues. Andrei. --- On Wed, 9/16/09, Brett Nemeroff br...@nemeroff.com wrote: Look in config.h for:#define PKG_MEM_POOL_SIZE 1024*1024 and try changing that to:#define PKG_MEM_POOL_SIZE 1024*1024*2 On Wed, Sep 16, 2009 at 5:34 PM, Ron McCarthy ronmc...@gmail.com wrote: Hi List, I just upgraded to the latest SVN relase and after a few thousand calls I start getting: Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]: ERROR:core:get_hdr_field: out of pkg memory Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]: ERROR:tm:t_check: reply cannot be parsed Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]: ERROR:core:parse_from_header: out of pkg_memory Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]: ERROR:dialog:pre_match_parse: failed to get From header Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]: ERROR:core:parse_from_header: out of pkg_memory Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]: ERROR:tm:parse_dlg: From broken Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]: ERROR:tm:matching_3261: dlg parsing failed Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]: ERROR:core:build_req_buf_from_sip_req: out of pkg memory Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]: ERROR:core:forward_request: building req buf failed Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]: ERROR:core:get_hdr_field: out of pkg memory Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]: ERROR:tm:t_check: reply cannot be parsed Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]: ERROR:core:get_hdr_field: out of pkg memory Sep 16 15:25:37 sips /usr/local/sbin/opensips[2271]: ERROR:tm:t_check: reply cannot be parsed Ive got it using -m 2048 at startup, from what I can tell never more then 1 gig of RAM get's used. This is at around 70CPS on a single dual core Xeon, CPU is at 90%+ idle. Anything else I can tweek, or this a bug/memory leak perhaps? We are using quit a few memcache_fetch calls for LCR and other purposes, about 12 or so per call. It's also dumping a core, will that help me? Thanks! ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -Inline Attachment Follows- ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] question about tls
Hello everybody: I've have some questions about tls connection. How to build the tls connection between two proxy? there's just one function is_peer_verified() in tlsops module. Is it that we set the paramer, the proxy will connect by itself or we should build the connection in the config file explicitly? could someone give me a example? Proxy1TLS---Proxy2 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] mysql engine type for opensips tables
On 17 Sep 2009, at 20:14, Jeff Pyle wrote: Hello, I noticed in the .sql files used to create the tables in MySQL for Opensips it forces the table type to MyISAM. I would suggest to remove the ENGINE declaration altogether allowing the tables to be created in the default engine for the database server. In most cases for most folks this will result in MyISAM tables anyway. I write this after having stripped the engine manually in each .sql file after each update of Opensips since in my case they're created by default with ENGINE=ndb. Others may wish to use a type such as InnoDB for the acc table while MyISAM for the rest. I disagree. Stripping it would make all the tables the same type. I currently make all my tables InnoDB, except the sip_trace table which I keep MyISAM. With your suggestion, this would not be possible anymore. I would recommend you to change the type in db/schema/entities.xml to whatever you need before you build opensips. Maybe this can be made configurable at runtime, so that no recompiling is necessary. Also if you need a different type only for some specific tables you can add an entry in their xml schema like: type db=mysqlMyISAM/ type -- Dan ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users