]> git.pld-linux.org Git - packages/asterisk.git/blobdiff - asterisk-bristuff-build.patch
- subpkg for h323
[packages/asterisk.git] / asterisk-bristuff-build.patch
index cb68d55de152da3af8cf2ada8832d29195cf7ab9..028fffaefae63a79cf081cc6624893f0cc9db191 100644 (file)
@@ -88,3 +88,52 @@ diff -ur -x '*.c' -x '*.orig' -x configure asterisk-1.4.21.1.new/menuselect-tree
  AST_EXT_LIB_SETUP([IKSEMEL], [Iksemel Jabber Library], [iksemel])
  AST_EXT_LIB_SETUP([IMAP_TK], [UW IMAP Toolkit], [imap])
  AST_EXT_LIB_SETUP([ISDNNET], [ISDN4Linux Library], [isdnnet])
+--- asterisk/channels/chan_zap.c~      2008-07-20 18:15:39.464637514 +0200
++++ asterisk/channels/chan_zap.c       2008-07-20 21:38:13.280088092 +0200
+@@ -7573,7 +7573,7 @@
+                       }
+ #endif
+ #ifdef HAVE_GSMAT
+-              if (conf->chan.sig == SIG_GSM) {
++              if (chan_sig == SIG_GSM) {
+                   struct zt_bufferinfo bi;
+                   ast_mutex_init(&tmp->gsm.lock);
+                   strncpy(tmp->gsm.pin, gsm_modem_pin, sizeof(tmp->gsm.pin) - 1);
+--- asterisk/channels/chan_zap.c~      2008-07-20 21:39:17.274665128 +0200
++++ asterisk/channels/chan_zap.c       2008-07-20 22:18:57.866822681 +0200
+@@ -743,9 +743,7 @@
+       .send_digit_begin = zt_digit_begin,
+       .send_digit_end = zt_digit_end,
+       .send_text = zt_sendtext,
+-#if 0 /* we (Debian) disable that addition because of ABI breakage */
+       .send_message = zt_sendmessage,
+-#endif
+       .call = zt_call,
+       .hangup = zt_hangup,
+       .answer = zt_answer,
+--- asterisk/include/asterisk/channel.h~       2008-07-20 22:20:30.489834448 +0200
++++ asterisk/include/asterisk/channel.h        2008-07-20 22:24:21.859824471 +0200
+@@ -250,10 +250,8 @@
+       /*! \brief Display or transmit text */
+       int (* const send_text)(struct ast_channel *chan, const char *text);
+-#if 0 /* we (Debian) disable that addition because of ABI breakage */
+       /*! \brief send a message */
+       int (* const send_message)(struct ast_channel *chan, const char *dest, const char *text, int ispdu);
+-#endif
+       /*! \brief Display or send an image */
+       int (* const send_image)(struct ast_channel *chan, struct ast_frame *frame);
+--- asterisk/main/channel.c~   2008-07-20 22:20:30.489834448 +0200
++++ asterisk/main/channel.c    2008-07-20 22:25:38.689861614 +0200
+@@ -2496,10 +2496,8 @@
+       if (ast_test_flag(chan, AST_FLAG_ZOMBIE) || ast_check_hangup(chan))
+               return -1;
+       CHECK_BLOCKING(chan);
+-#if 0 /* we (Debian) disable that addition because of ABI breakage */
+       if (chan->tech->send_message)
+               res = chan->tech->send_message(chan, dest, text, ispdu);
+-#endif
+       ast_clear_flag(chan, AST_FLAG_BLOCKING);
+       return res;
+ }
This page took 0.029976 seconds and 4 git commands to generate.