Author: murf
Date: Tue Jul 24 19:07:24 2007
New Revision: 76978

URL: http://svn.digium.com/view/asterisk?view=rev&rev=76978
Log:
this fixes bug 10293, where the error message because defaultzone or loadzone 
was not defined was confusing

Modified:
    branches/1.2/channels/chan_zap.c

Modified: branches/1.2/channels/chan_zap.c
URL: 
http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_zap.c?view=diff&rev=76978&r1=76977&r2=76978
==============================================================================
--- branches/1.2/channels/chan_zap.c (original)
+++ branches/1.2/channels/chan_zap.c Tue Jul 24 19:07:24 2007
@@ -6477,7 +6477,7 @@
                                        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);


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to