FreePBX | Register | Issues | Wiki | Portal | Support

Prefix *22 that you can dial in front of a valid system extension to toggle the Follow Me


(Don Carroll) #1

Lorne,

I found the following post when looking for an answer of how to toggle CFM from another extension. In the post you say " I have custom code that can do this. It creates a prefix *22 that you can dial in front of a valid system extension to toggle the Follow Me." and the guy you are helping acknowledges following your steps and having it “work perfectly”. Those steps are listed. Maybe private message?

Was wondering if you could share your solution?

Don


(Lorne Gaetz) made this topic public #2

(Lorne Gaetz) #3

Hi @GlasairII :

I made your post public, I assume that’s okay.

The admin of that forum saw fit to purge all my thousands of posts, and I don’t have the dialplan any more. Perhaps a Samaritan here has a record of it.


(system) closed #4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.


(Lorne Gaetz) #5

Hi @GlasairII:

I’ve recreated what the referenced dialplan probably looked like. Place the following in extensions_custom.conf:

[from-internal-custom]
exten => _*22X.,hint,Custom:FOLLOWME${EXTEN:3}
exten => _*22X.,1,Noop(Entering context from-internal-custom in extensions_custom.conf)
exten => _*22X.,n,Set(AMPUSER=${EXTEN:3})
exten => _*22X.,n,Set(CALLERID(number)=${EXTEN:3})
exten => _*22X.,n,Goto(app-fmf-toggle,s,start)
exten => _*22X.,n,Hangup()

save, reload and test by dialing *22<ext#>


External dial in, activate follow me
FMFM activate on extension 300 using extension 200?
External dial in, activate follow me
Helping with IVR (followme on/off and change number)
(Lorne Gaetz) opened #6