[asterisk-commits] russell: branch group/newcdr r203462 - /team/group/newcdr/channels/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 25 17:21:33 CDT 2009
Author: russell
Date: Thu Jun 25 17:21:28 2009
New Revision: 203462
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=203462
Log:
update for this branch
Modified:
team/group/newcdr/channels/chan_multicast_rtp.c
Modified: team/group/newcdr/channels/chan_multicast_rtp.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/newcdr/channels/chan_multicast_rtp.c?view=diff&rev=203462&r1=203461&r2=203462
==============================================================================
--- team/group/newcdr/channels/chan_multicast_rtp.c (original)
+++ team/group/newcdr/channels/chan_multicast_rtp.c Thu Jun 25 17:21:28 2009
@@ -52,7 +52,7 @@
static const char tdesc[] = "Multicast RTP Paging Channel Driver";
/* Forward declarations */
-static struct ast_channel *multicast_rtp_request(const char *type, int format, void *data, int *cause);
+static struct ast_channel *multicast_rtp_request(const char *type, int format, const struct ast_channel *requestor, void *data, int *cause);
static int multicast_rtp_call(struct ast_channel *ast, char *dest, int timeout);
static int multicast_rtp_hangup(struct ast_channel *ast);
static struct ast_frame *multicast_rtp_read(struct ast_channel *ast);
@@ -107,7 +107,7 @@
}
/*! \brief Function called when we should prepare to call the destination */
-static struct ast_channel *multicast_rtp_request(const char *type, int format, void *data, int *cause)
+static struct ast_channel *multicast_rtp_request(const char *type, int format, const struct ast_channel *requestor, void *data, int *cause)
{
char *tmp = ast_strdupa(data), *multicast_type = tmp, *destination, *control;
struct ast_rtp_instance *instance;
@@ -140,7 +140,7 @@
goto failure;
}
- if (!(chan = ast_channel_alloc(1, AST_STATE_DOWN, "", "", "", "", "", 0, "MulticastRTP/%p", instance))) {
+ if (!(chan = ast_channel_alloc(1, AST_STATE_DOWN, "", "", "", "", "", requestor ? requestor->linkedid : "", 0, "MulticastRTP/%p", instance))) {
ast_rtp_instance_destroy(instance);
goto failure;
}
More information about the asterisk-commits
mailing list