Allow RTP structure registration
authorPhilippe Sultan <philippe.sultan@gmail.com>
Mon, 15 Oct 2007 15:26:58 +0000 (15:26 +0000)
committerPhilippe Sultan <philippe.sultan@gmail.com>
Mon, 15 Oct 2007 15:26:58 +0000 (15:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85555 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_jingle.c

index d15e827..7f7c0ef 100644 (file)
@@ -199,7 +199,7 @@ static int jingle_get_codec(struct ast_channel *chan);
 
 /*! \brief PBX interface structure for channel registration */
 static const struct ast_channel_tech jingle_tech = {
-       .type = type,
+       .type = "Jingle",
        .description = "Jingle Channel Driver",
        .capabilities = ((AST_FORMAT_MAX_AUDIO << 1) - 1),
        .requester = jingle_request,
@@ -227,7 +227,7 @@ static struct in_addr __ourip;
 
 /*! \brief RTP driver interface */
 static struct ast_rtp_protocol jingle_rtp = {
-       type: "jingle",
+       type: "Jingle",
        get_rtp_info: jingle_get_rtp_peer,
        set_rtp_peer: jingle_set_rtp_peer,
        get_codec: jingle_get_codec,