Asterisk Project : Function_SMDI_MSG_RETRIEVE This page last changed on Mar 30, 2011 by wikibot. # SMDI_MSG_RETRIEVE() ### Synopsis Retrieve an SMDI message. ### Description This function is used to retrieve an incoming SMDI message. It returns an ID which can be used with the SMDI_MSG() function to access details of the message. Note that this is a destructive function in the sense that once an SMDI message is retrieved using this function, it is no longer in the global SMDI message queue, and can not be accessed by any other Asterisk channels. The timeout for this function is optional, and the default is 3 seconds. When providing a timeout, it should be in milliseconds. The default search is done on the forwarding station ID. However, if you set one of the search key options in the options field, you can change this behavior. ### Syntax
    SMDI_MSG_RETRIEVE(smdi port,search key[,timeout[,options]])
##### Arguments `smdi port` `search key` `timeout` `options` `t` - Instead of searching on the forwarding station, search on the message desk terminal. `n` - Instead of searching on the forwarding station, search on the message desk number. ### See Also Function_SMDI_MSG ### Import Version This documentation was imported from Asterisk version SVN-branch-1.8-r311874.

Document generated by Confluence on Oct 04, 2011 12:42