Trying to Run SipSwitch-local

Discussions about using SIP Sorcery on your own computer/server

Trying to Run SipSwitch-local

Postby fixup77 » Sun Jan 27, 2008 10:41 pm

Hello,

I downloaded the V2.0 to my Windows XP SP2, but I have not been able to start the console. It quits with error "Exception Main. The type initializer for 'BlueFace.VoIP.SIP.StatefulProxy.StatefulDaemon' threw an exception."

Failed with that, I downloaded the source code and tried to compile it. I have VS .NET 2003 with V2.0 SDK kit. When I try to open the sln file or the service project file, it says invalid. What development environment do I need?

Thank you for the fantastic service and software, exactly what I've been looking for. I prefer to run it locally because I have a dial-up connection (EVDO).
fixup77
 
Posts: 71
Joined: Sun Jan 27, 2008 1:56 am

Postby Aaron » Sun Jan 27, 2008 11:58 pm

Hi fixup77,

To run you will need to install v3.0 of the .Net Framework, you can get it from msdn.microsoft.com.

We are currently using VS 2008 to compile. It used to be available for free from MSDN as a beta version but that may be finished now.

Regards,

Aaron
User avatar
Aaron
Site Admin
 
Posts: 2547
Joined: Thu Jul 12, 2007 12:13 am

Postby fixup77 » Mon Jan 28, 2008 2:57 am

I see, thank you. Downloading .NET 3...
fixup77
 
Posts: 71
Joined: Sun Jan 27, 2008 1:56 am

Success!

Postby fixup77 » Mon Jan 28, 2008 7:21 am

Downloaded .NET FW 3.0 and all the latest updates and Sipswitch-local now starts fine.

I had to change some of the default values to make the calls to go through
in sipswitchconsole.exe.config:

1) All fields of 127.0.0.1 changed to 192.168.245.1 (the internal IP addr that runs this app).

2) Realm "sip.mysipswitch.com" changed to my domain name (DynDns). The same change is made in registration.xml as well.

3) Marked out the "BetamaxServersPattern" key.

For the service, I added full path name (in my case: "c:\data\utils\sipswitch\") for the 3 xml file locations in the sipswitchservice.exe.config file.

Then I disabled NAT features in my ATA settings (WRTP54G-ER).

All is well, except that CID feature cannot be added to the dial plan for betamax. I wish this feature will be added in the next release.

I'll report all my findings.

Many thanks!
fixup77
 
Posts: 71
Joined: Sun Jan 27, 2008 1:56 am

Postby fixup77 » Mon Jan 28, 2008 9:54 am

Got CID to work, WoW!

<dialplan username='user' emailaddress='' password='pass'>
exten => _X.,1,SwitchCall(user,pass,${EXTEN}@sip.voipdiscount.com,sip:12345@sip.voipdiscount.com)
</dialplan>
fixup77
 
Posts: 71
Joined: Sun Jan 27, 2008 1:56 am


Return to Local Version

Who is online

Users browsing this forum: No registered users and 0 guests