Description of Webphone deployed as simple Instant messenger in Amazonas
Compiled Webphone (index.html, "service worker" etc as js bundle) is served from the RPi
Pi is running a Kamailio, and the allocate number server.
IP address of RPi needs to be known to hard coded into the Wephone so it can obtain initial credentials and SIP register.
Kamailio can extract the FROM, TO and MESSAGE payload and this can be HTTP POSTed (https://kamailio.org/docs/modules/4.4.x/modules/http_client.html) anywhere. We'll post to some kind of API same or similar to the RCCN RAPI. This python script will pass the message to the ARDOP system for transmission across the HF link.
As in HERMES before, python script will monitor the folder for new message coming from the HF link and inject these towards the Kamailio as SIP Message. (to be decided how)
sequenceDiagram participant W as Webphone participant K as Kamailio participant A as API participant Ar as Ardop W->>K: SIP MESSAGE K->>A: API MESSAGE (HTTP POST) A->>Ar: WRITE FILE to Ardop folder Ar->>A: READ FILE from Ardop folder A->>K: Inject SIP Message K->>W: SIP MESSAGE