Merged revisions 65857 via svnmerge from
authorOlle Johansson <oej@edvina.net>
Thu, 24 May 2007 15:21:39 +0000 (15:21 +0000)
committerOlle Johansson <oej@edvina.net>
Thu, 24 May 2007 15:21:39 +0000 (15:21 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65857 | oej | 2007-05-24 17:05:10 +0200 (Thu, 24 May 2007) | 2 lines

Issue 7686, fix by phsultan, NAT issues when calling from gtalk to SIP over nat.

........

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

channels/chan_gtalk.c

index 58567a4..0b2dfe9 100644 (file)
@@ -527,7 +527,7 @@ static enum ast_rtp_get_result gtalk_get_rtp_peer(struct ast_channel *chan, stru
        ast_mutex_lock(&p->lock);
        if (p->rtp){
                *rtp = p->rtp;
-               res = AST_RTP_TRY_NATIVE;
+               res = AST_RTP_TRY_PARTIAL;
        }
        ast_mutex_unlock(&p->lock);