473,505 Members | 15,381 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Contact ID alarm system in C#.NET with VoIP

1 New Member
Hello guys,


Pls help me, I really need your help!


In my workplace we've got a Micron SCORPION Z4120C alarm system that's been connected to the Central Station. But my boss would rather like to monitor the system on his own. And I'm in charge of finding out the best solution for this purpose.

According to this document it can be carried out though our VoIP network: http://www.voip-sip-sdk.com/p_577-se...tion-voip.html It can be possible with a C# program. It's OK, C#, C, C++, Visual Basic etc. programming is not a problem.

But unfortunetely I'm not really familiar with Voice over IP developments. And it's not really clear for me that why is it important to create a softphone firstly???

Expand|Select|Wrap|Line Numbers
  1. static ISoftPhone mySoftphone; // softphone object
  2. static IPhoneLine phoneLine; // phoneline object
  3. static IPhoneCall call;     // call object
Expand|Select|Wrap|Line Numbers
  1. private static void Main(string[] args)
  2. {
  3.     //Create a softphone object with RTP port range 5000-10000, and SIP port 5060
  4.     mySoftphone = SoftPhoneFactory.CreateSoftPhone(5000, 10000, 5060);
  5.  
  6.     foreach (var s in mySoftphone.Codecs)
  7.     {
  8.     mySoftphone.DisableCodec(s.PayloadType);
  9.     }
  10.     mySoftphone.EnableCodec(8); //only PCMA codec enabled
  11.  
  12.     // SIP account registration data, (supplied by your VoIP service provider)
  13.     var registrationRequired = true;
  14.     var userName = "sipusername"; //1001
  15.     var displayName = "sipdisplayname"; //1001
  16.     var authenticationId = "authenticationid"; //1001
  17.     var registerPassword = "Password"; //1001
  18.     var domainHost = "pbxip.voipprovider.com";
  19.     var domainPort = 5060;     
  20.     // Send SIP regitration request     mySoftphone_Register(mySoftphone, registrationRequired, displayName, userName, authenticationId, registerPassword, domainHost, domainPort);
  21.       mediaConnector = new MediaConnector();     phoneCallAudioSender = new PhoneCallAudioSender();     phoneCallAudioReceiver = new PhoneCallAudioReceiver(); 
  22. contactIdHandler = new ContactIdHandler(); contactIdHandler.ReceivedNotification += contactIdHandler_ReceivedNotification; 
  23.     // prevents the termination of the application
  24.     while (true) Thread.Sleep(10);
  25. }
(These snippets have been copied and pasted from the full code example: http://www.voip-sip-sdk.com/p_578-re...lert-voip.html)

Please give me a brief summary about the correlation of VoIP and alarm systems! I need to understand that to be able to use these VoIP components!


I'm really looking forward to your answers!

Thanks a lot in advance,
Michael
Jul 4 '14 #1
0 1409

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1884
by: jason | last post by:
I need some guidance and confirmation that a compex collobaration route btw my local contact management system (Act) and my online Access 2000 application which allows new and existing contacts...
2
12986
by: Scott | last post by:
Not sure if this is the right place to post this or not, but I am in the process of trying to find a Web Hosting/Isp Billing system that is reasonable in price and uses Access or SQL Server for a...
0
6468
by: Mark Rodrigues | last post by:
Hi everyone, Today we hit a problem when we rolled a new web-site are were presented with a error on our page that looked like: Security Exception Description: The application attempted to...
0
3329
by: James B | last post by:
OMA (Outlook Mobile Access) under Exchange is giving me a System.Security.SecurityException error. From what I gather this is a problem with the security level under which the OMA application is...
2
20811
by: AnalogKid17 | last post by:
Keywords: ASP.NET app with VS2005 running on Win2003 with IIS6, and SQL2000 on a WinXP Box I've betting the following for days... it's driving me insane: Server Error in '/' Application. ...
4
9065
by: stephen | last post by:
Hi, I am getting an error while trying to create an excel file. "Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the...
8
8886
by: =?Utf-8?B?UmF2aQ==?= | last post by:
Hi, I'm trying to pass values of different data-types to a web-service. I thought it would be easier to box these values and pass them as a System.object parameter, like public void...
4
1751
by: confused1234 | last post by:
I get the error at the bottom of this post when i click on a linkbutton, javascript:__doPostBack('ctl00$Main$btnchangeemail','') The problem is intermitant, sometimes it works and sometimes...
3
4005
by: Rafath | last post by:
Hello iam new to this forum but i hope this will help me in solving the case The error iam getting is "Registry editing has been disabled please contact your system administrator" mines is a...
5
8278
by: Henry Stock | last post by:
I am trying to understand the following error: Any thing you can tell me about this is appreciated. Security Exception Description: The application attempted to perform an operation not allowed...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7303
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7018
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5613
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4699
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1528
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.