[EDIT]
Hi,
In nodejs I try to send a SMS to my personal phone using:
chan._client.endpoints.sendMessage({
from:‘mysip’,
to:‘+33XXXXXXXXX@mysip’,
variables:{
“body”: “this is a test”
}
})
.then(function () {console.log(‘no error’)})
.catch(function (err) {console.log(err)});
In sip.conf:
[general]
register=>PHONENUMBER:PASSWORD@XXX.sip.ovh:5060
[mysip]
type=friend
host=xxxx.sip.ovh
context=incoming
language=fr
insecure=peer
username=PHONENUMBER
secret=PASSWORD
There is no error when I run the code but I don’t receive any sms in my personnal smartphone.
Someone can help please?
ASTERISK 20