aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-25 00:18:32 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-25 00:18:32 +0000
commita0cd573b859bda5ceaaf521bf2235203b3c565f2 (patch)
treed12745153487d48a927df6d5a4eccfca01675b4c /channels/chan_zap.c
parent29cf55b1e09247d44d44123b520f8fa0ecbba052 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@76983 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-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 0f5c25673..df996cd27 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -6610,7 +6610,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);