Asterisk Project : Upgrading to Asterisk 11
This page last changed on Oct 23, 2012 by mjordan.
The following are changes made in Asterisk 11 that may affect your configuration when upgrading. ApplicationsVoicemailAll voicemails now have a msg_id included in their metadata which uniquely identifies a message. For users of file system and IMAP storage of voicemail, this should be transparent. For users of ODBC, you will need to add a msg_id column to your voice mail messages table. This should be a string capable of holding at least 32 characters. All messages created in old Asterisk installations will have a msg_id added to them when required. This operation should be transparent as well. MeetMeThe 'c' option (announce user count) will now work even if the 'q' (quiet) option is enabled. FollowMeAnswered outgoing calls no longer get cut off when the next step is started. You now have until the last step times out to decide if you want to accept the call or not before being disconnected. Channel Driverschan_gtalkchan_gtalk has been deprecated in favour of the chan_motif channel driver. It is recommended that users switch to using it as it is a core supported module. Please see Calling Using Google for more information. chan_jinglechan_jingle has been deprecated in favour of the chan_motif channel driver. It is recommended that users switch to using it as it is a core supported module. Please see Calling Using Google for more information. chan_sip
chan_unistimDue to massive updates in chan_unistim phone keys functions and on-screen information has changed. Please see the Unistim Channel Improvements for more information. Resource Modulesres_aisUsers of res_ais in versions of Asterisk prior to Asterisk 11 must change to use the res_corosync module, instead. OpenAIS is deprecated, but Corosync is still actively developed and maintained. Corosync came out of the OpenAIS project. res_jabberThis module has been deprecated in favor of the res_xmpp module. The res_xmpp module is backwards compatible with the res_jabber configuration file, dialplan functions, and AMI actions. The old CLI commands can also be made available using the res_clialiases template for Asterisk 11. Dialplan Functions
CoreLoggingThe verbose setting in logger.conf now takes an optional argument specifying the verbosity level for each logging destination. The default, if not otherwise specified, is a verbosity of 3. Verbose/Debug setting changesAsterisk 11 splits verbose logging levels from Asterisk and individual remote console sessions. This change was put in place due to the potential awkwardness of having verbosity changes take place in multiple remote console sessions on account of just one of those sessions requesting a verbosity change. Under the new system, core set verbosity is intercepted by the remote console and sets the remote CLI verbosity without ever actually contacting the Asterisk service involved. There have been some complications introduced with this feature. The command override performed by the remote console is performed over the command string and is naive to the fact that Asterisk can call the verbosity setting CLI command by other means, notably by setting an alias. If the command is aliased via cli_aliases.conf, the alias will be created at the startup of the Asterisk service and since the aliased command can be formatted in any manner, the core set verbose command that is internal to Asterisk will still be accessible to remote consoles. This behavior is confusing and quite likely to trip up users. Example of how it functions normally:
*CLI> core set verbose 5 Set remote console verbosity to 5
If an alias is made in cli_aliases.conf: foo bar=core set verbose
*CLI> foo bar 5 Verbosity was 3 and is now 5
A simple workaround for this right now is to just not alias 'core set verbose'. AMI
CCSSMacro is deprecated. Use cc_callback_sub instead of cc_callback_macro in channel configurations. Parking
users.confA defined user with hasvoicemail=yes now finally uses a Gosub to stdexten as documented in extensions.conf.sample since v1.6.0 instead of a Macro as documented in v1.4. Set the asterisk.conf stdexten=macro parameter to invoke the stdexten the old way. |
![]() |
Document generated by Confluence on Nov 02, 2012 17:42 |