diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-17 18:08:09 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-17 18:08:09 +0000 |
commit | 2f30a3a6e7ae5721ed086155a63f22c33c495382 (patch) | |
tree | f7eb76f243ca169acc08d6d90b25b1c191e421e3 /contrib/utils | |
parent | 2ee27fd87f55632e832d749c5fe6739a68aeb913 (diff) |
Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@123332 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'contrib/utils')
-rw-r--r-- | contrib/utils/zones2indications.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/contrib/utils/zones2indications.c b/contrib/utils/zones2indications.c index 645cd0ed5..062f63fb1 100644 --- a/contrib/utils/zones2indications.c +++ b/contrib/utils/zones2indications.c @@ -30,7 +30,7 @@ void print_tone_zone_sound(struct ind_tone_zone *zone_data, const char* name, int toneid) { int i; - for (i=0; i<ZT_TONE_MAX; i++) { + for (i=0; i<DAHDI_TONE_MAX; i++) { if (zone_data->tones[i].toneid == toneid){ printf("%s = %s\n", name, zone_data->tones[i].data); break; @@ -61,15 +61,15 @@ void print_indications(struct ind_tone_zone *zone_data) { } putchar('\n'); - print_tone_zone_sound(zone_data, "dial", ZT_TONE_DIALTONE); - print_tone_zone_sound(zone_data, "busy", ZT_TONE_BUSY); - print_tone_zone_sound(zone_data, "ring", ZT_TONE_RINGTONE); - print_tone_zone_sound(zone_data, "congestion", ZT_TONE_CONGESTION); - print_tone_zone_sound(zone_data, "callwaiting", ZT_TONE_CALLWAIT); - print_tone_zone_sound(zone_data, "dialrecall", ZT_TONE_DIALRECALL); - print_tone_zone_sound(zone_data, "record", ZT_TONE_RECORDTONE); - print_tone_zone_sound(zone_data, "info", ZT_TONE_INFO); - print_tone_zone_sound(zone_data, "stutter", ZT_TONE_STUTTER); + print_tone_zone_sound(zone_data, "dial", DAHDI_TONE_DIALTONE); + print_tone_zone_sound(zone_data, "busy", DAHDI_TONE_BUSY); + print_tone_zone_sound(zone_data, "ring", DAHDI_TONE_RINGTONE); + print_tone_zone_sound(zone_data, "congestion", DAHDI_TONE_CONGESTION); + print_tone_zone_sound(zone_data, "callwaiting", DAHDI_TONE_CALLWAIT); + print_tone_zone_sound(zone_data, "dialrecall", DAHDI_TONE_DIALRECALL); + print_tone_zone_sound(zone_data, "record", DAHDI_TONE_RECORDTONE); + print_tone_zone_sound(zone_data, "info", DAHDI_TONE_INFO); + print_tone_zone_sound(zone_data, "stutter", DAHDI_TONE_STUTTER); printf("\n\n"); } |