GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - eventphone/mitel-api: .NET Library for the SIP-DECT OM Application XML Interface used by Mitel OMM.

BranchesTags
Open more actions menu

Latest commit

 

History

105 Commits
105 Commits

Folders and files

NameName
Last commit message
Last commit date
doc
doc
 
 
src
src
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

mitel-api

.NET Library for the SIP-DECT OM Application XML Interface used by Mitel OMM. This project was inspired by python-mitel.

status

Currently only the base types, events and functions are implemented (as needed). The library is fully async and also supports events sent from OMM. All functionality is based on the publicly available api documentation (v6.1) from mitel, wireshark traces captured from OMP to OMM and MOM to OMM and contains some undocumented features like ppnOld on PPUserType or SetPP.

usage

Login

var client = new OmmClient("example.com");
await client.LoginAsync("omm", "god");

Request / Reponse

var user = new PPUserType()
{
    Name = "John Doe",
    Num = "1337",
    Hierarchy1 = "Lorem Ipsum",
    AddId = "1337",
    Pin = "0000",
    SipAuthId = "1337",
    SipPw = "god"
};
var user = await client.CreatePPUser(user, cancellationToken);

Events

var resetEvent = new ManualResetEventSlim();
//attach event handler
client.DECTSubscriptionModeChanged += (s, e) =>
{
    var data = e.Event;
    Console.WriteLine($"{data.Mode}");
    resetEvent.Set();
};
//subscribe to event
await client.Subscribe(EventType.DECTSubscriptionMode, cancellationToken);
//wait for event
resetEvent.Wait(TimeSpan.FromSeconds(5));

About

.NET Library for the SIP-DECT OM Application XML Interface used by Mitel OMM.

Resources

Readme
MIT license
Activity
Custom properties

Stars

10 stars

Watchers

8 watching

Forks

5 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.