It took me a little longer then I hoped but I've now bundled up the relevant source code along with a console application version of the sipswitch. It can be downloaded from either of the two links below.
http://www.mysipswitch.com/downloads/my ... ch-0.1.zip
http://sourceforge.net/project/showfile ... _id=174323
There is zero documentation which I realise means the app is near useless and I'll get started on that as the next job.
The most basic instructions that may allow you to get it running are:
1. It is possible to run the sipswitch app on Linux but it requires mono to be installed and a few dll's to be copied across from Microsoft's v3 .Net framework. An easier approach is to run on Windows with the .Net framework v3.5 installed,
2. Create an SQL database using the attached .sql script (it's written for Postgresql),
3. Modify the config file, mysipswitch.exe.config to use the new database and adjust for the IP address of the machine the app will be running on,
4. Double click the mysipswitch.exe.
At that stage the app will be running as a stateful SIP Proxy and SIP Registrar. However to be useful as either stuff needs to go into the database and that's where the documentation will come in.
If anyone is thinking about running any kind of SIP Proxy behind NAT I'd strongly advise against it. It's possible but you end up having to do all sorts of mangling of SIP requests and tricks to get the RTP sockets accepted. Using a dynamic IP address with no NAT is not too bad but the best option is a public static IP address followed by a dynamic hostname using somehting like dyndns.org.
Regards,
Aaron