SendImage() in 1.4:

---cut---
  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
---cut---

in 1.6:

---cut---
  SendImage(filename): Sends an image on a channel.
Result of transmission will be stored in SENDIMAGESTATUS
channel variable:
    SUCCESS      Transmission succeeded
    FAILURE      Transmission failed
    UNSUPPORTED  Image transmission not supported by channel
---cut---

Is there any reason to break backwards compatibility?
Why is "SUCCESS" better than "OK" and "UNSUPPORTED" better than
"NOSUPPORT"?
IMHO there was no need to change anything except for adding
the "FAILURE" return status.

Might be a -dev question though.


   Philipp Kempgen

-- 
http://www.das-asterisk-buch.de  -  http://www.the-asterisk-book.com
Amooma GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
-- 

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to