aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-01 19:05:36 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-01 19:05:36 +0000
commit995531248a14d3ac9e88ffc12836176688bb137e (patch)
treeb5f14f4cb4892875163b3ce87161d95cba8aceed /doc
parent3390bbb3b697560a9859ff140c50c9b1350ab56a (diff)
Merge changes from team/russell/smdi-msg-searching
This commit adds some new features to the SMDI_MSG_RETRIEVE() dialplan function. Previously, this function only allowed searching by the forwarding station. I have added some options to allow you to also search for messages in the queue by the message desk terminal ID, as well as the message desk number. This originally came up as a suggestion on the asterisk-dev mailing list. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115021 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'doc')
-rw-r--r--doc/smdi.txt12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/smdi.txt b/doc/smdi.txt
index 0d10e0f88..2181bc401 100644
--- a/doc/smdi.txt
+++ b/doc/smdi.txt
@@ -13,10 +13,10 @@ incoming SMDI messages.
*CLI> core show function SMDI_MSG_RETRIEVE
- -= Info about function 'SMDI_MSG_RETRIEVE' =-
+ -= Info about function 'SMDI_MSG_RETRIEVE' =-
[Syntax]
-SMDI_MSG_RETRIEVE(<smdi port>,<station>[,timeout])
+SMDI_MSG_RETRIEVE(<smdi port>,<search key>[,timeout[,options]])
[Synopsis]
Retrieve an SMDI message.
@@ -29,6 +29,14 @@ 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.
+ 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.
*CLI> core show function SMDI_MSG