Index: pbx.c =================================================================== RCS file: /usr/cvsroot/asterisk/pbx.c,v retrieving revision 1.222 diff -u -r1.222 pbx.c --- pbx.c 3 Apr 2005 22:24:17 -0000 1.222 +++ pbx.c 14 Apr 2005 15:49:00 -0000 @@ -5324,6 +5324,9 @@ static int pbx_builtin_hangup(struct ast_channel *chan, void *data) { + if ( chan && !strcmp(chan->exten,"h") ) { + ast_log(LOG_NOTICE, "DON'T HANGUP IN exten => h\n"); + } /* Just return non-zero and it will hang up */ return -1; }