Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

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

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages