2009/3/18 Olle E. Johansson <oej(a)edvina.net>et>:
>>> Then I hope you don't need Asterisk
pickup code (since it doesn't
>>> work in
>>> 1.4.23 due to a regression).
Is there a bug report on this? What the result?
Yes:
http://bugs.digium.com/view.php?id=14206
http://svn.digium.com/view/asterisk/tags/1.4.24/asterisk-1.4.24-summary.htm…
The patch is simple:
Index: main/channel.c
===================================================================
--- main/channel.c (revision 170304)
+++ main/channel.c (working copy)
@@ -3683,7 +3683,7 @@
/* XXX What about blocking, softhangup, blocker, and lock and
blockproc? XXX */
/* Application and data remain the same */
/* Clone exception becomes real one, as with fdno */
- ast_copy_flags(original, clone, AST_FLAG_EXCEPTION | AST_FLAG_OUTGOING);
+ ast_set_flag(original, ast_test_flag(clone, AST_FLAG_OUTGOING |
AST_FLAG_EXCEPTION));
original->fdno = clone->fdno;
/* Schedule context remains the same */
/* Stream stuff stays the same */
--
Iñaki Baz Castillo
<ibc(a)aliax.net>