Title: Building security system with Ozeki VoIP SIP SDK
1How to create your Own Alarm System
- This is the next lesson of Ozeki Video Guide. Now
you can learn how you can build your own alert
system with Ozeki VoIP SIP SDK.
2Prerequisites to create the solution
- Ozeki VoIP SIP SDK
- PBX
- Sensors connected to your system
- CallerID sender/receiver source code
3Registering SIP account to PBX
- Create softphone, phoneline and call object
- Add authentication data to SIP client
- Use only PCMA codec against datacompression loose
- Send out the registration request
foreach (var s in mySoftphone.Codecs)
mySoftphone.DisableCodec(s.Paylo
adType)
mySoftphone.EnableCodec(8) //only PCMA codec
enabled
4Starting a call
- Send out a SIP invite
- The caller reaches the callee
- Attach PhoneCallAudioReceiver and
PhoneCallAudioSender to transmit the data - Connect ContactIDHandler
- Connect together the Sender and the Receiver
mediaConnector.Connect(contactIdHandler,
phoneCallAudioSender) mediaConnector.Connect(ph
oneCallAudioReceiver, contactIdHandler)
5Send / Receive ContactID
- Both sides create a ContactIDhandler command
using MediaConnector - The receiver reads data from this command
- The sender sends the data to this command
- In case of successful connection the receiver
gets the DTMF notification - Users have to build the notifications using the
16 digit key. - Each devices requires a unique command.
ContactIdHandler new ContactIdHandler()
ContactIdHandler.SendNotification(1506,
ContactIdEventQualifier.NewEvent, 110, 1, 22)
6Solutions you can create using Ozeki VoIP SIP SDK
- Build unique softphones
- Create your ownCall center
- Customize your IVR
- Record Voice/video while communicating
- Build corporate PBX
7Thank you for your attention!
- For more information please visit
- http//www.voip-sip-sdk.com
- or write us an e-mail to
- info_at_voip-sip-sdk.com