]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 62037 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Thu, 26 Apr 2007 16:33:52 +0000 (16:33 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 26 Apr 2007 16:33:52 +0000 (16:33 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62037 | file | 2007-04-26 12:30:57 -0400 (Thu, 26 Apr 2007) | 2 lines

Revert previous fix for when the IAX2 channel goes funky (that's the technical term). This is causing legit calls to be prematurely hung up. (issue #9600 reported by justdave)

........

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

channels/chan_iax2.c

index 89c5f4959e24414c478962632ced93891aef89e4..0730e63fedda428a76000c4f311911fcff891351 100644 (file)
@@ -2986,8 +2986,8 @@ static int iax2_setoption(struct ast_channel *c, int option, void *data, int dat
 
 static struct ast_frame *iax2_read(struct ast_channel *c) 
 {
-       ast_log(LOG_NOTICE, "I should never be called! Hanging up.\n");
-       return NULL;
+       ast_log(LOG_NOTICE, "I should never be called!\n");
+       return &ast_null_frame;
 }
 
 static int iax2_start_transfer(unsigned short callno0, unsigned short callno1, int mediaonly)