aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-25 00:07:24 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-25 00:07:24 +0000
commitda0aa2828f8a6b1fcdee0a5f7c2f48362dace3ce (patch)
tree603dac36a6b45c2c0e317b771711f39d87418f26
parent5a2b38514ee67951950c7eed8da3fcc44e211643 (diff)
this fixes bug 10293, where the error message because defaultzone or loadzone was not defined was confusing
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@76978 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 695684ce8..b61a9c28c 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);