Merged revisions 290828 via svnmerge from
authorDavid Vossel <dvossel@digium.com>
Thu, 7 Oct 2010 22:38:36 +0000 (22:38 +0000)
committerDavid Vossel <dvossel@digium.com>
Thu, 7 Oct 2010 22:38:36 +0000 (22:38 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r290828 | dvossel | 2010-10-07 16:44:58 -0500 (Thu, 07 Oct 2010) | 5 lines

  Outbound gtalk calls now work correctly.

  There was a problem with how the candidates were being
  built on an outbound call. This patch fixes that.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@290830 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_gtalk.c

index 011d21d..81a4772 100644 (file)
@@ -819,7 +819,7 @@ static int gtalk_create_candidates(struct gtalk *client, struct gtalk_pvt *p, ch
                iks_insert_node(gtalk,candidate);
        } else {
                iks_insert_node(gtalk,transport);
-               iks_insert_node(transport, candidate);
+               iks_insert_node(gtalk,candidate);
        }
        for (; p; p = p->next) {
                if (!strcasecmp(p->sid, sid))