Need to know the feasibility of using this in silverlight OOB application for Windows and Mac

May 21, 2012 at 5:02 PM

Hi, 

We're developing an OOB silverlight application for PC. Just wanted to know whether this solution works in both Windows and Mac? Please share any documents that we can work with. 

Thanks,

Coordinator
May 22, 2012 at 7:11 AM

I haven't tested as an OOB application but I can confirm the SIPSorcery Silverlight SIP stack works fine in a browser based application on both Windows and Mac.

There's not a lot of documentation for this project other than what's available here and some readme's and such in the source tree. I'm more than happy to answer any specific questions about the code or how to use it.

May 22, 2012 at 9:47 PM

Hi Aaron, 

We tried compiling and running the silverlight source code provided in downloads(sipsorcery-73596\sipsorcery-silverlight). We were able to execute it in windows and it worked fine. But in Mac we're getting a white screen, can you please check this? Please provide pointers if we'd have missed out something.

Thanks,

Karthik.

May 23, 2012 at 1:06 PM

Hi Aaron, 

 

Never mind about my previous question, it worked in Mac as well. Can you please give me any username/password that I can make use of logging into sipsorcery.com/provisioning.svc? 

Thanks,

Karthik

Coordinator
May 24, 2012 at 12:02 AM

There aren't any test accounts on sipsorcery.com, it is a live production service. You could set up your own provisioning web service, all the code is available in this project, or if you want to use the sipsorcery.com service you are welcome to purchase an account from http://www.sipsorcery.com/mainsite/.

May 24, 2012 at 8:41 PM

Hi Aaron, 

 

Thanks for the update. We've couple of questions, 


1.       Is it possible for SIP sorcery Silverlight client to connect with 3rd party SIP server? If yes, how and what are the configuration changes need to be made?

2.       How does SIPsorcery sliverlight client talks to SIP sorcery stack? We see it is trying to connect to SIPSorcery-Entities-Services-SIPEntitiesDomainService.svc. But we could not find this svc file anywhere.

Regards,

Karthik.

Coordinator
May 25, 2012 at 12:38 PM
Edited Jan 5, 2014 at 10:58 AM
  1. Yes it is provided the 3rd party SIP server supports SIP over TCP and can be configured to listen on a port in the range that Silverlight allows (4502 to 4506) from memory.
  2. The svc file you've referred to is auto-generated by the RIA framework which is why you can't find it. The actual implementation class is in the SIPSorcery.Entities project and in the SIPEntitiesDomainService class. However that's a web service interaction rather than a SIP one. I don't have any open source examples of using the Silverlight SIP stack and in fact the only product I've implemented with it is the SIPSorcery switchboard http://www.sipsorcery.com/mainsite/Home/SwitchboardTour (not open source). The Silverlight SIP stack is open source and is in the SIPSorcery-Silverlight-Core solution.
Jan 2, 2014 at 5:56 AM
Hi Aaron,

I have successfully compiled Sipsorcery Core, Sever, Silverlight Core and Silverlight. After this I have executed Sipsorcery-Allinone.exe. But SIPSorcery-Entities-Services-SIPEntitiesDomainService.svc is not found in server. Is there something I am missing? Can you please help?

Thanks,
Plachira
Coordinator
Jan 5, 2014 at 11:00 AM
I don't know if it is possible to host a Silverlight RIA endpoint outside of IIS. My recommendation would be to install IIS and the RIA framework and connect to the SIPSorcery Silverlight application that way.
Jan 5, 2014 at 7:39 PM
Hi Aaron,

I am sorry if I am asking a basic question. Is SIPSorcery-Entities-Services-SIPEntitiesDomainService.svc generated by Sipsorcery-Allinone.exe or while running Silverlight test website?

Please find below the steps which I followed -

1) Sipsorcery-Allinone.exe -c generated provisioning.svc, callmanager.svc and notifiationspull.svc in localhost:8080

2) Debugging Silverlight application opens website in IIS location https://localhost/sipsorcery-silverlight.

I have modified default.html with following details -
            <param name="initParams" value="ServiceURL=https://localhost/sipsorcery-silverlight/" />
But the login page is showing a red light with following message -
'invoke operation 'isalive' failed. Remote server returned an error Not Found. https://localhost/sipsorcery-silverlight/'
Coordinator
Jan 6, 2014 at 10:06 AM
Edited Jan 6, 2014 at 10:06 AM
plachira wrote:
I am sorry if I am asking a basic question. Is SIPSorcery-Entities-Services-SIPEntitiesDomainService.svc generated by Sipsorcery-Allinone.exe or while running Silverlight test website?
It's generated by the RIA service assemblies which must be wired up correctly with IIS and the RIA application. See http://msdn.microsoft.com/en-us/library/ff426912(v=vs.91).aspx.
Jan 6, 2014 at 5:23 PM
Thanks Aaron. It worked. How to add accounts using silverlight client? I am not seeing any link in the login page. Do I need to manually add accounts in MySQL DB directly?
Coordinator
Jan 8, 2014 at 9:30 AM
There is a screen in the Silverlight application that can be used to create new accounts but it has been disabled for the sipsorcery service since the demise of free accounts. You could re-enable that page or alternatively you could insert new records into the customer table using an SQL statement.
Jan 9, 2014 at 6:56 AM
Thanks Aaron. Currently Sipsorcery-Allinone.exe starts the services in http. Is it possible to convert it to https?
Jan 25, 2014 at 7:27 PM
How to add 'salt' using SQL insert?
Coordinator
Jan 27, 2014 at 9:57 AM
Password of "password": 'sqVNTkteh3nm06A3LQuFdjT3YGxi5xDv',
Salt: '1388.r4R+dPdzniwUXdBmypuQWA=='
Jan 28, 2014 at 4:30 PM
aaronc wrote:
Password of "password": 'sqVNTkteh3nm06A3LQuFdjT3YGxi5xDv',
Salt: '1388.r4R+dPdzniwUXdBmypuQWA=='
Thanks Aaron. This worked.