Skip to main content
Version: v4 (Stable)

GETNEXTUSERMESSAGE

GETNEXTUSERMESSAGE(userid AS INTEGER, flags as INTEGER, fromid AS INTEGER, message AS STRING [, langid AS INTEGER [, audiofile AS STRING [, audioinstructions AS STRING [, shortmessage AS STRING]]]]) AS BOOLEAN

Returns the next service message to transmit to the user identified by <userid>.

When processing an outgoing call, the parameter <userid> can be defined with a null value to designate the called user.

The parameter <flags> is reserved and must be set to 0. The user sending the message is identified by <fromid>. The long message is returned in <message>. The message language is returned in <langid>. The audio file is returned in the optional parameter <audiofile>. The audio instructions are returned in the parameter <audioinstructions> (file name). The short message is returned in the optional parameter <shortmessage>.