Asterisk 16/18 with push notification
-
@jaredbusch If I am interested in knowing the logic of the db, to know what you want to capture, and what you insert, the strange thing is that in FreepBX seems to work, do you use it?
-
@rickygm said in Asterisk 16/18 with push notification:
@jaredbusch If I am interested in knowing the logic of the db, to know what you want to capture, and what you insert, the strange thing is that in FreepBX seems to work, do you use it?
There is nothing to the database logic to be concerned with.
Like any database there are 2 bits. Insertomgupdating/deleting data and reading data.
In this case, shell script inserts records into i, while the Asterisk dial plan reads the database and does things if a record is found.
Your problem is getting the shell script to return valid data to insert into the database table. Nothing else can do anything until you have valid data to first insert into the database.
-
@jaredbusch ok got it, I will have to build my own script to be able to do this.
-
@rickygm said in Asterisk 16/18 with push notification:
@jaredbusch ok got it, I will have to build my own script to be able to do this.
I have no idea how you got that out of what I said.
The only thing you need to do is figure out what
sip show peer NNN
is supposed to return related topn-pid
. Then once that is known, it is simple enough to find a comparable item from apjsip
endpoint. -
@jaredbusch yes, but I have a detail, the developer does not answer the messages, and we do not know what the pn-pid does.
-
@rickygm now based on your experience, what other options are there to push with asterisk? I don't want to depend on third party services.
-
@rickygm Can you please tell me, what is the value of CALL_DESTINATION
and pushneed and all variables??
"${pushneed}" = "${CALL_DESTINATION}"]? -
@JaredBusch hii
-
@JaredBusch hey
-
Good way to make me not care about answering you.