Skip to content

SeanHub/angular-sipml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

#SIPML Angular Service

Angular SIPML service. Facilitate a bridge between https://github.com/DoubangoTelecom/sipml5 and Angular.

##Usage

Add sm.sipml.js to your application and include sm.sipml as a module dependency.

angular.module('app', ['sm.sipml']);

Within your controller, include sipml as a dependency. You can then use the following to initialise a connection.

sipml.init(loginDetails).then(() => {
    sipml.onSipSessionCallConnected(() => {
        
    });
    sipml.onSipSessionCallConnecting(() => {
        
    });
    sipml.onSipSessionCallDeclined(() => {
        
    });
    sipml.onSipSessionCallIncoming((number) => {
        
    });
    sipml.onSipSessionCallRinging(() => {
        
    });
    sipml.onSipSessionCallTerminated(() => {
        
    });
});

About

Angular SIPML service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published