Commit d759d961 authored by Muhammadali's avatar Muhammadali

u.pdate verison: 0.9.0

parent 5b8c184f
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "0.8.9", "version": "0.9.0",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -166,7 +166,8 @@ export class BoxDialer { ...@@ -166,7 +166,8 @@ export class BoxDialer {
); );
// create SIP stack // create SIP stack
this.oSipStack = new SIPml.Stack({
let ostackConfig = {
realm: wsurl, // 'cld.alovoice.uz:61040', realm: wsurl, // 'cld.alovoice.uz:61040',
impi: number, //'3003', impi: number, //'3003',
impu: `sip:${number}@${wsurl}`, //'sip:3003@cld.alovoice.uz:61040', impu: `sip:${number}@${wsurl}`, //'sip:3003@cld.alovoice.uz:61040',
...@@ -191,7 +192,9 @@ export class BoxDialer { ...@@ -191,7 +192,9 @@ export class BoxDialer {
}, },
{ name: 'Organization', value: 'Technounit' }, { name: 'Organization', value: 'Technounit' },
], ],
}); };
console.log('ostackConfig: ', ostackConfig);
this.oSipStack = new SIPml.Stack(ostackConfig);
if (this.oSipStack.start() !== 0) { if (this.oSipStack.start() !== 0) {
console.log('<b>Failed to start the SIP stack</b>'); 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