summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDavid Vossel <dvossel@digium.com>2009-06-03 20:30:10 +0000
committerDavid Vossel <dvossel@digium.com>2009-06-03 20:30:10 +0000
commitc42344b31902f91ea92d6d8099b6de64e576abe7 (patch)
tree1772806c1fcb7e20afe276c4594bb05ce065bd21 /apps
parent0c47c8f448c2ad12740a9f897bf0f66b7527acdb (diff)
ast_call_forward() todo notes and originate flag copy.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@198954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_dial.c2
-rw-r--r--apps/app_queue.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 92000abde..7ab2b84a1 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -724,6 +724,8 @@ static void senddialendevent(const struct ast_channel *src, const char *dialstat
*
* XXX this code is highly suspicious, as it essentially overwrites
* the outgoing channel without properly deleting it.
+ *
+ * \todo eventually this function should be intergrated into and replaced by ast_call_forward()
*/
static void do_forward(struct chanlist *o,
struct cause_args *num, struct ast_flags64 *peerflags, int single, int *to)
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 3d367f663..65b297052 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -3001,6 +3001,8 @@ static void rna(int rnatime, struct queue_ent *qe, char *interface, char *member
* \param[in] prebusies number of busy members calculated prior to calling wait_for_answer
* \param[in] caller_disconnect if the 'H' option is used when calling Queue(), this is used to detect if the caller pressed * to disconnect the call
* \param[in] forwardsallowed used to detect if we should allow call forwarding, based on the 'i' option to Queue()
+ *
+ * \todo eventually all call forward logic should be intergerated into and replaced by ast_call_forward()
*/
static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callattempt *outgoing, int *to, char *digit, int prebusies, int caller_disconnect, int forwardsallowed, int update_connectedline)
{