FreePBX
FEATURE CODES
You can see the FreePBX Feature Codes under the SETUP/FEATURE CODES section of your PBX (after you login).
Blacklist
*30 - Blacklist a number
*32 - Blacklist the last caller
*31 - Remove a number from the blacklist
Call Forward
*72 - Call Forward All Activate
*73 - Call Forward All Deactivate
*74 - Call Forward All Prompting Deactivate
*90 - Call Forward Busy Activate
*91 - Call Forward Busy Deactivate
*92 - Call Forward Busy Prompting Deactivate
*52 - Call Forward No Answer/Unavailable Activate
*53 - Call Forward No Answer/Unavailable Deactivate
*740 - Call Forward Toggle
Call Waiting
*70 - Call Waiting - Activate
*71 - Call Waiting - Deactivate
Core
*8 - Asterisk General Call Pickup
555 - ChanSpy (then * to toggle through extensions)
666 - Dial System FAX
** - Directed Call Pickup
*2 - In-Call Asterisk Attended Transfer
## - In-Call Asterisk Blind Transfer
** - In-Call Asterisk Disconnect Code
*1 - In-Call Asterisk Toggle Call Recording
7777 - Simulate Incoming Call
*12 - User Logoff
*11 - User Logon
888 - ZapBarge
Day Night Mode
*280 - 0: Emergency
*281 - 1: Additional announcement to play to support if on (night)
Dictation
*35 - Email completed dictation
*34 - Perform dictation
Do-Not-Disturb (DND)
*78 - DND Activate
*79 - DND Deactivate
*76 - DND Toggle
Follow Me
*21 - Findme Follow Toggle
Info Services
*69 - Call Trace
# - Directory
*43 - Echo Test
*65 - Speak Your Exten Number
*60 - Speaking Clock
Misc Applications
*8000 - Support
Paging and Intercom
*80 - Intercom prefix
*54 - User Intercom Allow
*55 - User Intercom Disallow
Phonebook Directory
*411 - Phonebook dial-by-name directory
Queues
*45 - Queue Toggle
Recordings
*99 - Check Recording
*2968 - Edit Recording: Additional_Support_Announcement
*2969 - Edit Recording: ServiceAnnouncement
*77 - Save Recording
Speed Dial Functions
*75 - Set user speed dial
*0 - Speeddial prefix
Voicemail
*98 - Dial Voicemail
*97 - My Voicemail
Conference room options
Here are some conference room options:
- Take Call 1 and place on hold
- Take Call 2 and blind transfer to Ext 8000 (8000 used as an example conference room)
- Take Call 1 off hold and Blind Transfer to Ext 8000
- Hangup and Dial 8000 to put you into the conference call.
If you are worried about someone using your conference room, setup a conference room for every extension (e.g. Ext 201 could have 8201 as the conference room.
** FreePBX: Call Pickup (Can be used with GXP-2000)
*0 FreePBX: Speeddial prefix
*11 FreePBX: User Logon
*12 FreePBX: User Logoff
*30 FreePBX: Blacklist a number
*31 FreePBX: Remove a number from the blacklist
*32 FreePBX: Blacklist the last caller
*34 FreePBX: Perform dictation
*35 FreePBX: Email completed dictation
*43 FreePBX: Echo Test
*52 FreePBX: Call Forward No Answer/Unavailable Activate
*53 FreePBX: Call Forward No Answer/Unavailable Deactivate
*54 FreePBX: User lntercom Allow
*55 FreePBX: User lntercom Disallow
*60 FreePBX: Speaking Clock
*65 FreePBX: Speak Your Exten Number
*69 FreePBX: Call Trace
*70 FreePBX: Call Waiting - Activate
*71 FreePBX: Call Waiting - Deactivate
*72 FreePBX: Call Forward All Activate
*73 FreePBX: Call Forward All Deactivate
*74 FreePBX: Call Forward All Prompting Deactivate
*75 FreePBX: Set user speed dial
*77 FreePBX: Save Recording
*78 FreePBX: DND Activate
*79 FreePBX: DND Deactivate
*80 FreePBX: Intercom prefix
*90 FreePBX: Call Forward Busy Activate
*91 FreePBX: Call Forward Busy Deactivate
*92 FreePBX: Call Forward Busy Prompting Deactivate
*97 FreePBX: My Voicemail
*98 FreePBX: Dial Voicemail
*99 FreePBX: Check Recording
PBX enlever un user d'une queue
Lister les users dans les queues :
i=1 ; ouput='' ; while [ $i -le 10 ]; do echo -n "Queue $i = " ; output=$(asterisk -rx "queue show $i") ; if [ -z "$output" ]; then echo -en "rien trouvé\n\n" ; else echo -en "$output\n\n" ; fi ; let "i++" ; done
Rechercher le user dans les queues :
asterisk -rx 'queue show 8' | grep -i John
# Output:
John Doe (Local/6576@from-queue/n from hint:6111@ext-local) (ringinuse enabled) (dynamic) (Not in use) has taken no calls yet
Supprimer le user avec son extension :
asterisk -rx "queue remove member Local/6111@from-queue/n from 8"
# Output:
Removed interface Local/6111@from-queue/n from queue '8'