summaryrefslogtreecommitdiffstats
path: root/package/asterisk/patches
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-25 21:56:20 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-25 21:56:20 +0000
commit9a9e4cc05534a94f86d3a0b80a87e3be08022942 (patch)
tree0dc4135c3a3549a5e2577c746a6924fd42cc30d0 /package/asterisk/patches
parent409542e005e8ebdf87f6674a9b641a4553158eb1 (diff)
backport asterisk changes from whiterussian [2300]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2303 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/asterisk/patches')
-rw-r--r--package/asterisk/patches/asterisk-1.0.7-chan_iax2-tmp_path.patch12
-rw-r--r--package/asterisk/patches/asterisk-1.0.7-config-modules.patch128
2 files changed, 122 insertions, 18 deletions
diff --git a/package/asterisk/patches/asterisk-1.0.7-chan_iax2-tmp_path.patch b/package/asterisk/patches/asterisk-1.0.7-chan_iax2-tmp_path.patch
new file mode 100644
index 000000000..916496ea8
--- /dev/null
+++ b/package/asterisk/patches/asterisk-1.0.7-chan_iax2-tmp_path.patch
@@ -0,0 +1,12 @@
+diff -ruN asterisk-1.0.7-old/channels/chan_iax2.c asterisk-1.0.7-new/channels/chan_iax2.c
+--- asterisk-1.0.7-old/channels/chan_iax2.c 2005-10-25 02:06:35.000000000 +0200
++++ asterisk-1.0.7-new/channels/chan_iax2.c 2005-10-25 04:35:11.000000000 +0200
+@@ -960,7 +960,7 @@
+ last++;
+ else
+ last = s;
+- snprintf(s2, strlen(s) + 100, "/var/tmp/%s-%ld", last, (unsigned long)rand());
++ snprintf(s2, strlen(s) + 100, "/tmp/%s-%ld", last, (unsigned long)rand());
+ res = stat(s, &stbuf);
+ if (res < 0) {
+ ast_log(LOG_WARNING, "Failed to stat '%s': %s\n", s, strerror(errno));
diff --git a/package/asterisk/patches/asterisk-1.0.7-config-modules.patch b/package/asterisk/patches/asterisk-1.0.7-config-modules.patch
index e56f9092c..28da5ae92 100644
--- a/package/asterisk/patches/asterisk-1.0.7-config-modules.patch
+++ b/package/asterisk/patches/asterisk-1.0.7-config-modules.patch
@@ -1,28 +1,120 @@
diff -ruN asterisk-1.0.7-old/configs/modules.conf.sample asterisk-1.0.7-new/configs/modules.conf.sample
--- asterisk-1.0.7-old/configs/modules.conf.sample 2003-06-26 20:57:54.000000000 +0200
-+++ asterisk-1.0.7-new/configs/modules.conf.sample 2005-03-19 17:38:06.000000000 +0100
-@@ -23,8 +23,8 @@
- ; Explicitly load the chan_modem.so early on to be sure
- ; it loads before any of the chan_modem_* 's afte rit
++++ asterisk-1.0.7-new/configs/modules.conf.sample 2005-10-25 04:08:28.000000000 +0200
+@@ -7,33 +7,91 @@
+ [modules]
+ autoload=yes
;
+-; If you want, load the GTK console right away.
+-; Don't load the KDE console since
+-; it's not as sophisticated right now.
+-;
+-noload => pbx_gtkconsole.so
+-;load => pbx_gtkconsole.so
+-noload => pbx_kdeconsole.so
+-;
+-; Intercom application is obsoleted by
+-; chan_oss. Don't load it.
+-;
+-noload => app_intercom.so
+-;
+-; Explicitly load the chan_modem.so early on to be sure
+-; it loads before any of the chan_modem_* 's afte rit
+-;
-load => chan_modem.so
-load => res_musiconhold.so
-+noload => chan_modem.so
-+noload => res_musiconhold.so
+-;
+-; Load either OSS or ALSA, not both
+-; By default, load OSS only (automatically) and do not load ALSA
+-;
+-noload => chan_alsa.so
+-;noload => chan_oss.so
++; load => res_features.so ; Call Parking Resource
++noload => res_indications.so ; Indications Configuration
++noload => res_monitor.so ; Call Monitoring Resource
++; load => res_musiconhold.so ; Music On Hold Resource
++noload => cdr_csv.so ; Comma Separated Values CDR Backend
++noload => cdr_manager.so ; Asterisk Call Manager CDR Backend
++noload => chan_agent.so ; Agent Proxy Channel
++; load => chan_iax2.so ; Inter Asterisk eXchange (Ver 2)
++; load => chan_local.so ; Local Proxy Channel
++; load => chan_sip.so ; Session Initiation Protocol (SIP)
++noload => codec_a_mu.so ; A-law and Mulaw direct Coder/Decoder
++noload => codec_adpcm.so ; Adaptive Differential PCM Coder/Decoder
++noload => codec_alaw.so ; A-law Coder/Decoder
++noload => codec_g726.so ; ITU G.726-32kbps G726 Transcoder
++; load => codec_gsm.so ; GSM/PCM16 (signed linear) Codec Translat
++; load => codec_ulaw.so ; Mu-law Coder/Decoder
++noload => format_g726.so ; Raw G.726 (16/24/32/40kbps) data
++noload => format_g729.so ; Raw G729 data
++; load => format_gsm.so ; Raw GSM data
++noload => format_h263.so ; Raw h263 data
++noload => format_jpeg.so ; JPEG (Joint Picture Experts Group) Image
++; load => format_pcm.so ; Raw uLaw 8khz Audio support (PCM)
++noload => format_pcm_alaw.so ; Raw aLaw 8khz PCM Audio support
++noload => format_sln.so ; Raw Signed Linear Audio support (SLN)
++noload => format_vox.so ; Dialogic VOX (ADPCM) File Format
++; load => format_wav.so ; Microsoft WAV format (8000hz Signed Line
++; load => format_wav_gsm.so ; Microsoft WAV format (Proprietary GSM)
++noload => app_alarmreceiver.so ; Alarm Receiver for Asterisk
++noload => app_authenticate.so ; Authentication Application
++noload => app_cdr.so ; Make sure asterisk doesn't save CDR for
++noload => app_chanisavail.so ; Check if channel is available
++noload => app_controlplayback.so ; Control Playback Application
++noload => app_cut.so ; Cuts up variables
++noload => app_db.so ; Database access functions for Asterisk e
++; load => app_dial.so ; Dialing Application
++noload => app_directory.so ; Extension Directory
++noload => app_disa.so ; DISA (Direct Inward System Access) Appli
++; load => app_echo.so ; Simple Echo Application
++noload => app_enumlookup.so ; ENUM Lookup
++noload => app_eval.so ; Reevaluates strings
++noload => app_exec.so ; Executes applications
++noload => app_forkcdr.so ; Fork The CDR into 2 seperate entities.
++noload => app_getcpeid.so ; Get ADSI CPE ID
++noload => app_groupcount.so ; Group Management Routines
++noload => app_ices.so ; Encode and Stream via icecast and ices
++noload => app_image.so ; Image Transmission Application
++noload => app_lookupblacklist.so ; Look up Caller*ID name/number from black
++noload => app_lookupcidname.so ; Look up CallerID Name from local databas
++; load => app_macro.so ; Extension Macros
++; load => app_milliwatt.so ; Digital Milliwatt (mu-law) Test Applicat
++noload => app_parkandannounce.so ; Call Parking and Announce Application
++; load => app_playback.so ; Trivial Playback Application
++noload => app_privacy.so ; Require phone number to be entered, if n
++noload => app_qcall.so ; Call from Queue
++noload => app_queue.so ; True Call Queueing
++noload => app_random.so ; Random goto
++noload => app_read.so ; Read Variable Application
++noload => app_record.so ; Trivial Record Application
++; load => app_sayunixtime.so ; Say time
++noload => app_senddtmf.so ; Send DTMF digits Application
++noload => app_sendtext.so ; Send Text Applications
++noload => app_setcallerid.so ; Set CallerID Application
++noload => app_setcdruserfield.so ; CDR user field apps
++noload => app_setcidname.so ; Set CallerID Name
++noload => app_setcidnum.so ; Set CallerID Number
++noload => app_sms.so ; SMS/PSTN handler
++noload => app_softhangup.so ; Hangs up the requested channel
++noload => app_striplsd.so ; Strip trailing digits
++noload => app_substring.so ; (Deprecated) Save substring digits in a
++noload => app_system.so ; Generic System() application
++noload => app_talkdetect.so ; Playback with Talk Detection
++noload => app_test.so ; Interface Test Application
++noload => app_transfer.so ; Transfer
++noload => app_txtcidname.so ; TXTCIDName
++noload => app_url.so ; Send URL Applications
++noload => app_userevent.so ; Custom User Event Application
++; load => app_verbose.so ; Send verbose output
++noload => app_waitforring.so ; Waits until first ring after time
++; load => pbx_config.so ; Text Extension Configuration
++noload => pbx_spool.so ; Outgoing Spool Support
++noload => pbx_wilcalu.so ; Wil Cal U (Auto Dialer)
++
;
- ; Load either OSS or ALSA, not both
- ; By default, load OSS only (automatically) and do not load ALSA
-@@ -36,4 +36,12 @@
+ ; Module names listed in "global" section will have symbols globally
; exported to modules loaded after them.
;
[global]
-chan_modem.so=yes
-+; chan_modem.so=yes
-+noload => app_adsiprog.so
-+noload => app_db.so
-+noload => app_hasnewvoicemail.so
-+noload => app_voicemail.so
-+noload => chan_skinny.so
-+noload => cdr_csv.so
-+noload => res_adsi.so
-+noload => res_agi.so
++chan_modem.so=no