SendImage()SendImage(Dateiname[,Optionen])
j wird, wenn der Channel keine Bildübertragung unterstützt, zur
Priorität n+101 gesprungen.SENDIMAGESTATUS entweder auf OK
(Erfolg) oder auf NOSUPPORT (nicht unterstützt).exten => 123,1,SendImage(logo.jpg)
————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
-= Info about application 'SendImage' =-
[Synopsis]
Send an image file
[Description]
SendImage(filename): Sends an image on a channel.
If the channel supports image transport but the image send
fails, the channel will be hung up. Otherwise, the dialplan
continues execution.
The option string may contain the following character:
'j' -- jump to priority n+101 if the channel doesn't support image transport
This application sets the following channel variable upon completion:
SENDIMAGESTATUS The status is the result of the attempt as a text string, one of
OK | NOSUPPORT--- in Asterisk 1.4
+++ in Asterisk 1.6
@@ -5,11 +5,8 @@
[Description]
SendImage(filename): Sends an image on a channel.
- If the channel supports image transport but the image send
- fails, the channel will be hung up. Otherwise, the dialplan
- continues execution.
- The option string may contain the following character:
- 'j' -- jump to priority n+101 if the channel doesn't support image transport
- This application sets the following channel variable upon completion:
- SENDIMAGESTATUS The status is the result of the attempt as a text string, one of
- OK | NOSUPPORT
+ Result of transmission will be stored in SENDIMAGESTATUS
+ channel variable:
+ SUCCESS Transmission succeeded
+ FAILURE Transmission failed
+ UNSUPPORTED Image transmission not supported by channel