How to change the asterisk version with astercc

Sometimes when you get issue with one asterisk version, you can try to change astercc with another asterisk version then here's what you can do

  • remove old modules
    • mv /usr/lib/asterisk/modules/ /usr/lib/asterisk/modules/.bak
  • install the new asterisk version (usually compile from the source code)
  • update /etc/asterisk/modules.conf
  • restart asterisk
  • restart asterccd

if you upgraded from 1.2.2 to 2.0-beta, you can find the old asterisk config files(for 1.6.2.20) in /etc/asterisk.bak.core-2.0-beta/

when you are using 1.6.2.20

[modules]
autoload=no

preload =>  chan_local.so

load => app_addon_sql_mysql.so
;;; load => app_adsiprog.so
;;; load => app_alarmreceiver.so
;;; load => app_amd.so
;;; load => app_authenticate.so
;;; load => app_cbmysql.so
;;; load => app_cdr.so
;;; load => app_chanisavail.so
load => app_channelredirect.so
load => app_chanspy.so
;;; load => app_confbridge.so
;;; load => app_controlplayback.so
;;; load => app_dahdibarge.so
;;; load => app_dahdiras.so
;;; load => app_dahdiscan.so
load => app_db.so
load => app_dial.so
;;; load => app_dictate.so
load => app_directed_pickup.so
;;; load => app_directory.so
;;; load => app_disa.so
;;; load => app_dumpchan.so
;;; load => app_echo.so
load => app_exec.so
;;; load => app_externalivr.so
;;; load => app_fax.so
;;; load => app_festival.so
;;; load => app_flash.so
;;; load => app_followme.so
;;; load => app_forkcdr.so
;;; load => app_getcpeid.so
;;; load => app_ices.so
;;; load => app_image.so
load => app_macro.so
load => app_meetme.so
;;; load => app_milliwatt.so
;;; load => app_minivm.so
;;; load => app_mixmonitor.so
;;; load => app_morsecode.so
;;; load => app_mp3.so
;;; load => app_nbscat.so
load => app_originate.so
;;; load => app_page.so
;;; load => app_parkandannounce.so
load => app_playback.so
load => app_playtones.so
;;; load => app_privacy.so
load => app_queue.so
;;; load => app_readexten.so
;;; load => app_readfile.so
load => app_read.so
load => app_record.so
;;; load => app_saycountpl.so
;;; load => app_sayunixtime.so
;;; load => app_senddtmf.so
;;; load => app_sendtext.so
load => app_setcallerid.so
;;; load => app_sms.so
load => app_softhangup.so
;;; load => app_speech_utils.so
;;; load => app_stack.so
;;; load => app_system.so
;;; load => app_talkdetect.so
;;; load => app_test.so
load => app_transfer.so
;;; load => app_url.so
;;; load => app_userevent.so
load => app_verbose.so
load => app_voicemail.so
;;; load => app_waitforring.so
;;; load => app_waitforsilence.so
;;; load => app_waituntil.so
;;; load => app_while.so
;;; load => app_zapateller.so
load => bridge_builtin_features.so
;;; load => bridge_multiplexed.so
load => bridge_simple.so
load => bridge_softmix.so
;;; load => cdr_adaptive_odbc.so
;;; load => cdr_addon_mysql.so
;;; load => cdr_csv.so
;;; load => cdr_custom.so
;;; load => cdr_manager.so
;;; load => cdr_odbc.so
;;; load => cdr_pgsql.so
;;; load => cdr_sqlite3_custom.so
load => chan_agent.so
;;; load => chan_alsa.so
load => chan_bridge.so
load => chan_dahdi.so
;;; load => chan_gtalk.so
load => chan_iax2.so
;;; load => chan_jingle.so
;;; load => chan_local.so
;;; load => chan_mgcp.so
;;; load => chan_ooh323.so
;;; load => chan_oss.so
;;; load => chan_phone.so
load => chan_sip.so
;;; load => chan_skinny.so
;;; load => chan_unistim.so
load => codec_adpcm.so
load => codec_alaw.so
load => codec_a_mu.so
load => codec_dahdi.so
load => codec_g722.so
load => codec_g726.so
load => codec_gsm.so
load => codec_lpc10.so
load => codec_speex.so
load => codec_ulaw.so
load => format_g723.so
load => format_g726.so
load => format_g729.so
load => format_gsm.so
load => format_h263.so
load => format_h264.so
load => format_ilbc.so
load => format_jpeg.so
load => format_mp3.so
load => format_ogg_vorbis.so
load => format_pcm.so
load => format_siren14.so
load => format_siren7.so
load => format_sln16.so
load => format_sln.so
load => format_vox.so
load => format_wav_gsm.so
load => format_wav.so
;;; load => func_aes.so
;;; load => func_audiohookinherit.so
;;; load => func_base64.so
;;; load => func_blacklist.so
load => func_callerid.so
load => func_cdr.so
load => func_channel.so
;;; load => func_config.so
;;; load => func_curl.so
;;; load => func_cut.so
;;; load => func_db.so
;;; load => func_devstate.so
;;; load => func_dialgroup.so
load => func_dialplan.so
;;; load => func_enum.so
;;; load => func_env.so
;;; load => func_extstate.so
load => func_global.so
;;; load => func_groupcount.so
;;; load => func_iconv.so
;;; load => func_lock.so
;;; load => func_logic.so
load => func_math.so
;;; load => func_md5.so
load => func_module.so
;;; load => func_odbc.so
;;; load => func_rand.so
load => func_realtime.so
;;; load => func_sha1.so
;;; load => func_shell.so
;;; load => func_speex.so
;;; load => func_sprintf.so
load => func_strings.so
;;; load => func_sysinfo.so
load => func_timeout.so
;;; load => func_uri.so
load => func_version.so
load => func_vmcount.so
;;; load => func_volume.so
;;; load => pbx_ael.so
load => pbx_config.so
load => pbx_dundi.so
load => pbx_loopback.so
load => pbx_realtime.so
;;; load => pbx_spool.so
;;; load => res_adsi.so
;;; load => res_ael_share.so
load => res_agi.so
;; load => res_clialiases.so
;;; load => res_clioriginate.so
;;; load => res_config_curl.so
;;; load => res_config_ldap.so
load => res_config_mysql.so
;;; load => res_config_odbc.so
;;; load => res_config_pgsql.so
;;; load => res_convert.so
;;; load => res_crypto.so
;;; load => res_curl.so
;;; load => res_jabber.so
load => res_limit.so
load => res_monitor.so
load => res_musiconhold.so
;;; load => res_odbc.so
;;; load => res_phoneprov.so
load => res_realtime.so
;;; load => res_smdi.so
;;; load => res_snmp.so
;;; load => res_speech.so
load => res_timing_dahdi.so
;;; load => res_timing_pthread.so

when you are using 1.8.x

[modules]
autoload=no

preload =>  chan_local.so

load => app_addon_sql_mysql.so
;;; load => app_adsiprog.so
;;; load => app_alarmreceiver.so
;;; load => app_amd.so
;;; load => app_authenticate.so
;;; load => app_cbmysql.so
;;; load => app_cdr.so
;;; load => app_chanisavail.so
load => app_channelredirect.so
load => app_chanspy.so
;;; load => app_confbridge.so
;;; load => app_controlplayback.so
;;; load => app_dahdibarge.so
;;; load => app_dahdiras.so
;;; load => app_dahdiscan.so
load => app_db.so
load => app_dial.so
;;; load => app_dictate.so
load => app_directed_pickup.so
;;; load => app_directory.so
;;; load => app_disa.so
;;; load => app_dumpchan.so
;;; load => app_echo.so
load => app_exec.so
;;; load => app_externalivr.so
;;; load => app_fax.so
;;; load => app_festival.so
;;; load => app_flash.so
;;; load => app_followme.so
;;; load => app_forkcdr.so
;;; load => app_getcpeid.so
;;; load => app_ices.so
;;; load => app_image.so
load => app_macro.so
load => app_meetme.so
;;; load => app_milliwatt.so
;;; load => app_minivm.so
;;; load => app_mixmonitor.so
;;; load => app_morsecode.so
;;; load => app_mp3.so
;;; load => app_nbscat.so
load => app_originate.so
;;; load => app_page.so
;;; load => app_parkandannounce.so
load => app_playback.so
load => app_playtones.so
;;; load => app_privacy.so
load => app_queue.so
;;; load => app_readexten.so
;;; load => app_readfile.so
load => app_read.so
load => app_record.so
;;; load => app_saycountpl.so
;;; load => app_sayunixtime.so
;;; load => app_senddtmf.so
;;; load => app_sendtext.so
load => app_setcallerid.so
;;; load => app_sms.so
load => app_softhangup.so
;;; load => app_speech_utils.so
;;; load => app_stack.so
;;; load => app_system.so
;;; load => app_talkdetect.so
;;; load => app_test.so
load => app_transfer.so
;;; load => app_url.so
;;; load => app_userevent.so
load => app_verbose.so
load => app_voicemail.so
;;; load => app_waitforring.so
;;; load => app_waitforsilence.so
;;; load => app_waituntil.so
;;; load => app_while.so
;;; load => app_zapateller.so
load => bridge_builtin_features.so
;;; load => bridge_multiplexed.so
load => bridge_simple.so
load => bridge_softmix.so
;;; load => cdr_adaptive_odbc.so
;;; load => cdr_addon_mysql.so
;;; load => cdr_csv.so
;;; load => cdr_custom.so
;;; load => cdr_manager.so
;;; load => cdr_odbc.so
;;; load => cdr_pgsql.so
;;; load => cdr_sqlite3_custom.so
load => chan_agent.so
;;; load => chan_alsa.so
load => chan_bridge.so
load => chan_dahdi.so
;;; load => chan_gtalk.so
load => chan_iax2.so
;;; load => chan_jingle.so
;;; load => chan_local.so
;;; load => chan_mgcp.so
;;; load => chan_ooh323.so
;;; load => chan_oss.so
;;; load => chan_phone.so
load => chan_sip.so
;;; load => chan_skinny.so
;;; load => chan_unistim.so
load => codec_adpcm.so
load => codec_alaw.so
load => codec_a_mu.so
load => codec_dahdi.so
load => codec_g722.so
load => codec_g726.so
load => codec_gsm.so
load => codec_lpc10.so
load => codec_speex.so
load => codec_ulaw.so
load => codec_ilbc.so
load => format_g723.so
load => format_g726.so
load => format_g729.so
load => format_gsm.so
load => format_h263.so
load => format_h264.so
load => format_ilbc.so
load => format_jpeg.so
load => format_mp3.so
load => format_ogg_vorbis.so
load => format_pcm.so
load => format_siren14.so
load => format_siren7.so
load => format_sln16.so
load => format_sln.so
load => format_vox.so
load => format_wav_gsm.so
load => format_wav.so
;;; load => func_aes.so
;;; load => func_audiohookinherit.so
;;; load => func_base64.so
;;; load => func_blacklist.so
load => func_callerid.so
load => func_cdr.so
load => func_channel.so
;;; load => func_config.so
;;; load => func_curl.so
;;; load => func_cut.so
;;; load => func_db.so
;;; load => func_devstate.so
;;; load => func_dialgroup.so
load => func_dialplan.so
;;; load => func_enum.so
;;; load => func_env.so
;;; load => func_extstate.so
load => func_global.so
;;; load => func_groupcount.so
;;; load => func_iconv.so
;;; load => func_lock.so
;;; load => func_logic.so
load => func_math.so
;;; load => func_md5.so
load => func_module.so
;;; load => func_odbc.so
;;; load => func_rand.so
load => func_realtime.so
;;; load => func_sha1.so
;;; load => func_shell.so
;;; load => func_speex.so
;;; load => func_sprintf.so
load => func_strings.so
;;; load => func_sysinfo.so
load => func_timeout.so
;;; load => func_uri.so
load => func_version.so
load => func_vmcount.so
;;; load => func_volume.so
;;; load => pbx_ael.so
load => pbx_config.so
load => pbx_dundi.so
load => pbx_loopback.so
load => pbx_realtime.so
;;; load => pbx_spool.so
;;; load => res_adsi.so
;;; load => res_ael_share.so
load => res_agi.so
;; load => res_clialiases.so
;;; load => res_clioriginate.so
;;; load => res_config_curl.so
;;; load => res_config_ldap.so
load => res_config_mysql.so
;;; load => res_config_odbc.so
;;; load => res_config_pgsql.so
;;; load => res_convert.so
;;; load => res_crypto.so
;;; load => res_curl.so
;;; load => res_jabber.so
load => res_limit.so
load => res_monitor.so
load => res_musiconhold.so
;;; load => res_odbc.so
;;; load => res_phoneprov.so
load => res_realtime.so
;;; load => res_smdi.so
;;; load => res_snmp.so
;;; load => res_speech.so
load => res_timing_dahdi.so
;;; load => res_timing_pthread.so
load => res_rtp_asterisk.so

en/faq/how_to_change_the_asterisk_version_in_astercc.txt · Last modified: 2013/11/18 09:30 by solo
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki