Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Keep the part of code with the macro and copy the content into the subcontext.

  • Keep the original macro context name, but replace 'macro' with 'sub'. In the following example we are converting macro-get-vmcontext to sub-get-vmcontext.

  • Edit the now deprecated macro context to include a priority (1) gosub to show the deprecated alert in the asterisk full log.

Image Removedimage-2022-02-14-15-52-53-366.pngImage Added

The alert called is :

...

Above we can see that the from-pms context includes a call to *98 in line 13 cailling a macro that needs to be migrated to Gosub()Image Removed

...

Side PHP code:

You must use ext_gosub() like this:

...

In our example about get-vmcontext, it will be changed to sub-get-vmcontext with a pritority 1 and the extension s :

Image Removedimage2022-2-17_9-44-59.pngImage Added

List of modules that need to be converted:

...

Module Name

Open Source

Issue Link

Status(Open, Completed)

Fixed Version 15

Fixed Version 16

accountcodepreserve

(tick)Image Removed

(tick)

areminder

(error)Image Removed

(error)

blacklist

(tick)Image Removed

(tick)

callerid

(error)Image Removed

(error)

callforward

(tick)Image Removed

(tick)

calllimit

(error)Image Removed

(error)

callrecording

(tick)Image Removed

(tick)

callwaiting

(tick)Image Removed

(tick)

campon

(tick)Image Removed

(tick)

conferences

(tick)Image Removed

(tick)

contactmanager

(tick)Image Removed

(tick)

core

(tick)Image Removed

(tick)

FREEPBX-19656 - Change user Macro hooks to Gosub RESOLVED

In Progress

cos

(error)Image Removed

(error)

dashboard

(tick)Image Removed

(tick)

daynight

(tick)Image Removed

(tick)

dictate

(tick)Image Removed

(tick)

directory

(tick)Image Removed

(tick)

donotdisturb

(tick)Image Removed

(tick)

endpoint

(error)Image Removed

(error)

extensionroutes

(error)Image Removed

(error)

fax

(tick)Image Removed

(tick)

findmefollow

(tick)Image Removed

(tick)

framework

(tick)Image Removed

(tick)

hotelwakeup

(tick)Image Removed

(tick)

infoservices

(tick)Image Removed

(tick)

ivr

(tick)Image Removed

(tick)

languages

(tick)Image Removed

(tick)

miscapps

(tick)Image Removed

(tick)

outroutemsg

(tick)Image Removed

(tick)

paging

(tick)Image Removed

(tick)

pagingpro

(error)Image Removed

(error)

parking

(tick)Image Removed

(tick)

parkpro

(error)Image Removed

(error)

pbdirectory

(tick)Image Removed

(tick)

pinsets

(tick)Image Removed

(tick)

queues

(tick)Image Removed

(tick)

recordings

(tick)Image Removed

(tick)

ringgroups

(tick)Image Removed

(tick)

sangomacrm

(error)Image Removed

(error)

speeddial

(tick)Image Removed

(tick)

timeconditions

(tick)Image Removed

(tick)

vmblast

(tick)Image Removed

(tick)

vmnotify

(error)Image Removed

(error)

voicemail

(tick)Image Removed

(tick)

vqplus

(error)Image Removed

(error)

webcallback

(error)Image Removed

(error)

xmpp

(tick)Image Removed

(tick)

zulu

(error)Image Removed

(error)