[asterisk-commits] murf: branch 1.2 r76978 - /branches/1.2/channels/chan_zap.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 24 19:07:25 CDT 2007


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);




More information about the asterisk-commits mailing list