signalmash-voice
v0.0.5
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.
Downloads
3
Readme
SignalmashVoice
This library was generated with Angular CLI version 12.2.0.
[![NPM Version][npm-image]][npm-url] [![NPM Downloads][downloads-image]][downloads-url]
Installation
npm install signalmash-voice
import { SignalmashSmsService } from 'signalmash-sms'
constructor(public voiceService:SignalmashVoiceService){}
let data ={
Username:"sumit",
Password:"N5QFinpPMIwRigI"
}
let data1 ={
NPA:"401",
NXX:"",
Qty:"2",
Auth_key:"jnxnjxcnjdckmaA"
}
let data2 ={
RateCenter:"JERSEYCITY",
State:"NJ",
Qty:"2",
Auth_key:"jnxnjxcnjdckmaA"
}
let data3 ={
TF_PREFIX:"888",
Qty:"2",
Auth_key:"jnxnjxcnjdckmaA"
}
let data4 ={
DID:"4012514563",
Auth_key:"jnxnjxcnjdckmaA"
}
let data5 ={
FROM:"4756321269",
TO:"3964521235",
AMD:"true",
Recording:"false,
Auth_key:"jnxnjxcnjdckmaA"
}
this.voiceService.login(data).subscribe(res=>{
console.log("AuthKey",res);
});
this.voiceService.searchnpanxx(data1).subscribe(res=>{
console.log("SearchByNpa",res);
});
this.voiceService.searchratecenter(data2).subscribe(res=>{
console.log("SearchByRate",res);
});
this.voiceService.searchtollfree(data3).subscribe(res=>{
console.log("SearchByTollFree",res);
});
this.voiceService.listconnection(data3).subscribe(res=>{
console.log("ListConnection",res);
});
this.voiceService.buy(data4).subscribe(res=>{
console.log("DID BUY",res);
});
this.voiceService.originate(data5).subscribe(res=>{
console.log("Sms",res);
});