
There comes a point where Asterisk, great as it is, starts to hit user limits. While asterisk 1.8 is said to handle larger loads, it's simply not mature enough for me for a mission critical platform. The consensus seems to be that with 1.4 at least, 200 phones (SIP endpoints) is about the maximum. Opensips on the other hand, boasts 2,000. So rather than wait until the platform falls over, I'm kicking off some Opensips/asterisk development.
Aim
The aim of the project is to front end Asterisk with Opensips. In addition, we also use the excellent A2Billing for billing and account maintenance.
While there is a lot of Opensips<->Asterisk documentation out there, most of the Opensips/Openser 'How to's are based on Debian. I don't want to get into a discussion about which is the better variant, but for us, we like Centos. We went for Centos 6, because at this time there is no upgrade path from 5, and we also plumbed for the 64 bit version. We also elected to use MediaProxy. The web is littered with people asking for sample, working configs, but for some reason, very few are published. As a company built on open source products, we feel it only fair that we share our trials and tribulations, which will include all of our configuration scripts.
Logging
To enable logging to a specific file, you will need to do the following
opensips.cfg
log_facility=LOG_LOCAL0
create the file
# touch /var/log/opensips.log
Modify syslog, on Centos it's rsyslog
#vi /etc/rsyslog.conf
Add the line in bold
# Save boot messages also to boot.log
local7.* /var/log/boot.log
local0.* /var/log/opensips.log
Restart syslog:
# service rsyslog restart
***On some later versions of 1.6, the module xlog.so is embeded in the core, so you don't need to load it.

We use and recommend Zen Business Broadband for the best possible call quality when using a VoIP phone system.