Skip to main content

Thirldlane PBX Manager Upgrade to 6.1.1.10 Asterisk from 1.4 to 1.6

Posted by brian on Thu, 07/07/2011

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


Submitted by eeman on Fri, 07/08/2011 Permalink

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.

Submitted by brian on Fri, 07/08/2011 Permalink

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

Submitted by eeman on Fri, 07/08/2011 Permalink

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.