From 30c771a9d7ee6e45bb119a4aab4ac145d77c07f6 Mon Sep 17 00:00:00 2001 From: Steve Murphy Date: Wed, 25 Jul 2007 00:34:42 +0000 Subject: [PATCH] Merged revisions 76983 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r76983 | murf | 2007-07-24 18:18:32 -0600 (Tue, 24 Jul 2007) | 9 lines Merged revisions 76978 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r76978 | murf | 2007-07-24 18:07:24 -0600 (Tue, 24 Jul 2007) | 1 line 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/trunk@76984 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_zap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 0e52a7b2dc..182eb5559f 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -6972,7 +6972,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_detached(&threadid, NULL, 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);