Commit ff36284c authored by Husin Sajjadi's avatar Husin Sajjadi

update 1.0.9

parent 153f3541
...@@ -124,6 +124,9 @@ sipTransfer = () => { ...@@ -124,6 +124,9 @@ sipTransfer = () => {
``` ```
Start Audio call Start Audio call
this.oSipSessionCall.call("xxxx") start a audio call to xxxx number
```javascript ```javascript
sipCall = (s_type) => { sipCall = (s_type) => {
let audioRemote = document.getElementById("audio_remote"); let audioRemote = document.getElementById("audio_remote");
...@@ -167,7 +170,7 @@ sipCall = (s_type) => { ...@@ -167,7 +170,7 @@ sipCall = (s_type) => {
// create call session // create call session
this.oSipSessionCall = this.oSipStack.newSession(s_type, this.oConfigCall); this.oSipSessionCall = this.oSipStack.newSession(s_type, this.oConfigCall);
// make call // make call
if (this.oSipSessionCall.call("6004") != 0) { if (this.oSipSessionCall.call("xxxx") != 0) {
this.oSipSessionCall = null; this.oSipSessionCall = null;
console.log('Failed to make call'); console.log('Failed to make call');
//btnCall.disabled = false; //btnCall.disabled = false;
......
{ {
"_from": "ecmascript-webrtc-sipml", "_from": "ecmascript-webrtc-sipml",
"_id": "ecmascript-webrtc-sipml@1.0.8",
"_inBundle": false, "_inBundle": false,
"_integrity": "sha512-iDgMKMy6AnHAdfort0PV5l8HIgNdEV7cBOvkwepsxgX9/5AHSuIbM+MDKm8CxNkaLu9uOlUC9nfs8XB5fZNzOw==", "_integrity": "sha512-iDgMKMy6AnHAdfort0PV5l8HIgNdEV7cBOvkwepsxgX9/5AHSuIbM+MDKm8CxNkaLu9uOlUC9nfs8XB5fZNzOw==",
"_location": "/ecmascript-webrtc-sipml", "_location": "/ecmascript-webrtc-sipml",
...@@ -23,13 +22,10 @@ ...@@ -23,13 +22,10 @@
"_shasum": "6b16e14e38c40a6e337b386e6be5930ae16d2f9c", "_shasum": "6b16e14e38c40a6e337b386e6be5930ae16d2f9c",
"_spec": "ecmascript-webrtc-sipml", "_spec": "ecmascript-webrtc-sipml",
"_where": "C:\\React\\webrtc", "_where": "C:\\React\\webrtc",
"author": { "author": "Husin Sajjadi",
"name": "Husin Sajjadi"
},
"bugs": { "bugs": {
"url": "https://github.com/husin-sajjadi/ecmascript-webrtc-sipml/issues" "url": "https://github.com/husin-sajjadi/ecmascript-webrtc-sipml/issues"
}, },
"bundleDependencies": false,
"deprecated": false, "deprecated": false,
"description": "This is a Webrtc library for Angular based on [Sipml5](https://www.doubango.org/sipml5/). In fact, It's a bridge between [Sipml5](https://www.doubango.org/sipml5/) and Angular.", "description": "This is a Webrtc library for Angular based on [Sipml5](https://www.doubango.org/sipml5/). In fact, It's a bridge between [Sipml5](https://www.doubango.org/sipml5/) and Angular.",
"homepage": "https://github.com/husin-sajjadi/ecmascript-webrtc-sipml#readme", "homepage": "https://github.com/husin-sajjadi/ecmascript-webrtc-sipml#readme",
......
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