CHANGES: Update changes log to include r403414 entry
[asterisk/asterisk.git] / apps / app_sendtext.c
index 2624fe5..98b7b2f 100644 (file)
  *
  * \ingroup applications
  */
+
+/*** MODULEINFO
+       <support_level>core</support_level>
+ ***/
  
 #include "asterisk.h"
 
@@ -91,7 +95,7 @@ static int sendtext_exec(struct ast_channel *chan, const char *data)
        ast_str_get_encoded_str(&str, -1, data);
 
        ast_channel_lock(chan);
-       if (!chan->tech->send_text) {
+       if (!ast_channel_tech(chan)->send_text) {
                ast_channel_unlock(chan);
                /* Does not support transport */
                pbx_builtin_setvar_helper(chan, "SENDTEXTSTATUS", status);