... | @@ -3,8 +3,9 @@ |
... | @@ -3,8 +3,9 @@ |
|
|
|
|
|
* Compiled Webphone (index.html, "service worker" etc as js bundle) is served from the RPi
|
|
* 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.
|
|
* Pi is running a Kamailio, and the allocate number server.
|
|
* IP address of RPi needs to be known to hard code into the Wephone so it can obtain initial credentials and SIP register.
|
|
* 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)
|
|
|
|
|
|
```mermaid
|
|
```mermaid
|
|
sequenceDiagram
|
|
sequenceDiagram
|
... | @@ -13,7 +14,10 @@ sequenceDiagram |
... | @@ -13,7 +14,10 @@ sequenceDiagram |
|
participant API
|
|
participant API
|
|
participant Ardop
|
|
participant Ardop
|
|
Webphone->>Kamailio: SIP MESSAGE
|
|
Webphone->>Kamailio: SIP MESSAGE
|
|
Kamailio->>API: API MESSAGE
|
|
Kamailio->>API: API MESSAGE (HTTP POST)
|
|
API->>Ardop: WRITE FILE to Ardop folder
|
|
API->>Ardop: WRITE FILE to Ardop folder
|
|
|
|
Ardop->>API: READ FILE from Ardop folder
|
|
|
|
API->>Kamailio: Inject SIP Message
|
|
|
|
Kamailio->>Webphone: SIP MESSAGE
|
|
|
|
|
|
``` |
|
``` |
|
|
|
\ No newline at end of file |