Commit d759d961 authored by Muhammadali's avatar Muhammadali

u.pdate verison: 0.9.0

parent 5b8c184f
{
"name": "boxdialer",
"version": "0.8.9",
"version": "0.9.0",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -166,7 +166,8 @@ export class BoxDialer {
);
// create SIP stack
this.oSipStack = new SIPml.Stack({
let ostackConfig = {
realm: wsurl, // 'cld.alovoice.uz:61040',
impi: number, //'3003',
impu: `sip:${number}@${wsurl}`, //'sip:3003@cld.alovoice.uz:61040',
......@@ -191,7 +192,9 @@ export class BoxDialer {
},
{ name: 'Organization', value: 'Technounit' },
],
});
};
console.log('ostackConfig: ', ostackConfig);
this.oSipStack = new SIPml.Stack(ostackConfig);
if (this.oSipStack.start() !== 0) {
console.log('<b>Failed to start the SIP stack</b>');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment