mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	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: https://origsvn.digium.com/svn/asterisk/trunk@122234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -101,9 +101,9 @@ if [ "$ans" = "y" ]; then | ||||
|   echo >> $OUTPUT; | ||||
|  | ||||
|   echo "------------------" >> $OUTPUT; | ||||
|   echo "ZAPTEL MODULE INFO" >> $OUTPUT; | ||||
|   echo "DAHDI MODULE INFO" >> $OUTPUT; | ||||
|   echo "------------------" >> $OUTPUT; | ||||
|   modinfo /lib/modules/$(uname -r)/misc/*.ko >> $OUTPUT; | ||||
|   modinfo /lib/modules/$(uname -r)/dahdi/*.ko >> $OUTPUT; | ||||
|   echo >> $OUTPUT; | ||||
|   echo >> $OUTPUT; | ||||
|    | ||||
| @@ -149,17 +149,18 @@ if [ "$ans" = "y" ]; then | ||||
|   echo >> $OUTPUT; | ||||
|   echo >> $OUTPUT; | ||||
|  | ||||
|   #jpeeler: REVISIT | ||||
|   echo "------------------" >> $OUTPUT; | ||||
|   echo "ZAPTEL CONFIG" >> $OUTPUT; | ||||
|   echo "------------------" >> $OUTPUT; | ||||
|   grep -v '^#' /etc/zaptel.conf >> $OUTPUT; | ||||
|   grep -v '^#' /etc/dahdi.conf >> $OUTPUT; | ||||
|   echo >> $OUTPUT; | ||||
|   echo >> $OUTPUT; | ||||
|  | ||||
|   echo "------------------" >> $OUTPUT; | ||||
|   echo "ZAPATA CONFIG" >> $OUTPUT; | ||||
|   echo "------------------" >> $OUTPUT; | ||||
|   grep -v '^;' /etc/asterisk/zapata.conf >> $OUTPUT; | ||||
|   grep -v '^;' /etc/asterisk/chan_dahdi.conf >> $OUTPUT; | ||||
|   echo >> $OUTPUT; | ||||
|   echo >> $OUTPUT; | ||||
|  | ||||
|   | ||||
| @@ -8,7 +8,7 @@ | ||||
| # | ||||
| # Create a (huge) bunch of call files to dial via pbx_spool. | ||||
| # Defaults are selected with 'Enter' and, if all defaults | ||||
| # are selected, you'll dial Zap/1/s into default|s|1 | ||||
| # are selected, you'll dial DAHDI/1/s into default|s|1 | ||||
| # | ||||
|  | ||||
|  | ||||
| @@ -98,8 +98,8 @@ Account: $::account | ||||
| } | ||||
|  | ||||
| # prompt the user for some info | ||||
| get technology "Zap" "\nEnter technology type | ||||
| Zap, IAX, SIP, etc." | ||||
| get technology "DAHDI" "\nEnter technology type | ||||
| DAHDI, IAX, SIP, etc." | ||||
| get chans "1" "\nEnter channel(s) or group to test in formats like | ||||
| 2\n1-4\n3 5 7 9\n1-23,25-47,49-71,73-95\ng4\ng2,g1" | ||||
| set channels [splitchans $chans] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user