Name
SendImage() — Sends an image file
Synopsis
SendImage(filename
)
Sends an image on a channel, if image transport is supported. If
the channel does not support image transport, and there exists a
priority n
+101 (where n
is the current priority), execution will
continue at that step. Otherwise, execution will continue at the next
priority level.
Returns 0
if the image was
sent correctly or if the channel does not support image transport;
otherwise, returns -1
.
exten => 123,1,SendImage(logo.jpg)
See Also
Get Asterisk: The Future of Telephony now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.