Hi,
I have carried out 3 upgrades from 1.4 to 1.6 branch and then updated the PBX manager from 6.1.1.6 to latest.
On one site Asterisk 1.6.2.14 is giving out in the console:
set_moh_exec: SetMusicOnHold application is deprecated and will be removed. Use Set(CHANNEL(musicclass)=...) instead
I see in inbound_actions.include that it looks like TL has missed updating it.
exten => s,1,Set(MOH=${DB(TL/MOH/default${TL_DASH}${tenant})})
exten => s,n,GotoIf($["${MOH}" = ""]?nomoh)
exten => s,n,SetMusicOnHold(${MOH})
exten => s,n(nomoh),Macro(tl-goto-userextension,xxx,)
On the other sites it has updated fine:
exten => s,1,Set(MOH=${DB(TL/MOH/default${TL_DASH}${tenant})})
exten => s,n,GotoIf($["${MOH}" = ""]?nomoh)
exten => s,n,Set(CHANNEL(musicclass)=${MOH})
exten => s,n(nomoh),Macro(tl-menu,tl-main-menu-open)
I'm just wondering has anything else been missed.
I will try to upgrade the webmin module again later when the PBX is quiet.
Any other suggestions rather than this or using sed?
Thanks
Brian
Hi Erik, I thought when you
Hi Erik,
I thought when you move major version of asterisk you upgrade PBX manager so it detects the new version and modifies the config accordingly. Is there something else I should do to do this?
Thanks
Brian
upgrading is important, but
upgrading is important, but the only thing upgrading does is install the scripts.include and goes through it and comments/uncomments the appropriate lines labeled Asterisk-1.4 and Asterisk-1.6
the files that dont get overwritten like inbound.include, menus.include, huntlists.include, etc., require you to make a change to it and click save in order to re-publish the code. This is where looking through the CLI is important in order to find out depreciated functions or eliminated functions. Depreciated still function which is good as it gives you time to correct.
those dont get re-written when you update.. it looks like you're looking at the ivr menu code. It will only re-write when you make a change to the ivr. The only thing updated on an upgrade of pbxmanager is the scripts.include code.