@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.
Latest posts made by rickygm
-
RE: Asterisk 16/18 with push notification
-
RE: Asterisk 16/18 with push notification
@jaredbusch yes, but I have a detail, the developer does not answer the messages, and we do not know what the pn-pid does.
-
RE: Asterisk 16/18 with push notification
@jaredbusch ok got it, I will have to build my own script to be able to do this.
-
RE: 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?
-
RE: Asterisk 16/18 with push notification
@jaredbusch said in Asterisk 16/18 with push notification:
That output has nothing that will match the sed statement.
| sed -n "s/.pn-prid=(.):remote&./\1/p")
-n suppresses output except for the matched lines if /p is present.
/p prints the matched lines.
The match is a substitution pattern because of s/.
The substitution is looking for a line with anything . then pn-pid= then some content being marked as a group (.) until :remote& then the rest of the line .. That marked group is the output printed /\1/p.
The result of that sed statement is what is stuck into the shell variable TK
The variable TK is what is inserted into the database as p_info that is used for the push notification logic.
So until you can find out what normally follows pn-pid in a command sip show peer NNN you will never be able to make any progress converting this to pjsip. Once you know what data is returned, then you can look at various pjsip commands to find something that returns the same data.I will wait for the developer to respond, I wrote to him asking for the db logic.
-
RE: Asterisk 16/18 with push notification
@jaredbusch said in Asterisk 16/18 with push notification:
@rickygm said in Asterisk 16/18 with push notification:
I set up an environment with asterisk 13 and chan_sip
From the command line on this system:
## replace NNN with a vaild, registered extension rasterisk -x 'sip show peer NNN' | pastebin
Then post the pastebin link here.
sorry, I misunderstood
from asterisk 13 and chan_sip
from asterisk 16 and PJSIP
-
RE: Nextcloud 23
@stuartjordan said in Nextcloud 23:
@rickygm said in Nextcloud 23:
@stuartjordan i am trying collabora in that version (23), but it does not work, i am following this guide https://help.nextcloud.com/t/psa-how-to-get-collabora-working-on-nextcloud-23/128511/27
All I had to to do was select this server uncheck don't use SSL and then it just works. You want to use SSL with this.
it doesn't work for me, let me know if I paste a screenshot, if someone has it working with nextcloud 23 maybe they can share their experience.
-
RE: Asterisk 16/18 with push notification
@jaredbusch said in Asterisk 16/18 with push notification:
@rickygm said in Asterisk 16/18 with push notification:
I set up an environment with asterisk 13 and chan_sip
From the command line on this system:
## replace NNN with a vaild, registered extension rasterisk -x 'sip show peer NNN' | pastebin
Then post the pastebin link here.
Ok JaredBusch , share the link of script
and debug
-
RE: Asterisk 16/18 with push notification
@jaredbusch yes, this is the data with which the endpoint could be contacted.
-
RE: Asterisk 16/18 with push notification
@jaredbusch Hi jaredbusch , I set up an environment with asterisk 13 and chan_sip to see if it worked, but it doesn't work either, it doesn't save the records in the mysql db, I thought I had something wrong in the script modified for pjsip, the project is based on FreePbx, I have asked the developer on github but he doesn't answer about the MySQL db.