3.10.3 Inbound messages and voicemail notification
PUSH for ONNET messages (chats) is realized through database triggers. The triggers have to be added to the….
When a new record is inserted the trigger launches UDF which sends request to the EMCI.
On receiving PUSH notification with message or voicemail the app calls the EMCD method which provides call history per account. The EMCD responds with the latest communication which should include the latest message for which the PUSH was sent
Sending multimedia files, as based on the SIP MESSAGES, uses the PUSH framework same way as other chat messages. The difference is in the type parameter of the PUSH message. When the type indicates a file the app will present appropriate popup.
Same approach is used for voicemails. The triggers are set on the voicemessages table.