From: Steve Murphy Date: Wed, 25 Jul 2007 00:07:24 +0000 (+0000) Subject: this fixes bug 10293, where the error message because defaultzone or loadzone was... X-Git-Tag: 1.2.24~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32ade7d7fcfbe1de0ad6c02dd00e0b2a9bfebd39;p=thirdparty%2Fasterisk.git this fixes bug 10293, where the error message because defaultzone or loadzone was not defined was confusing git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@76978 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 695684ce8b..b61a9c28c4 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -6477,7 +6477,7 @@ static int handle_init_event(struct zt_pvt *i, int event) else res = tone_zone_play_tone(i->subs[SUB_REAL].zfd, ZT_TONE_DIALTONE); if (res < 0) - ast_log(LOG_WARNING, "Unable to play dialtone on channel %d\n", i->channel); + ast_log(LOG_WARNING, "Unable to play dialtone on channel %d, do you have defaultzone and loadzone defined?\n", i->channel); if (ast_pthread_create(&threadid, &attr, ss_thread, chan)) { ast_log(LOG_WARNING, "Unable to start simple switch thread on channel %d\n", i->channel); res = tone_zone_play_tone(i->subs[SUB_REAL].zfd, ZT_TONE_CONGESTION);