Friday, 2 April 2021

Killing stuck channels FreePBX Asterisk

 I keep finding stuck channels in asterisk / FreePBX conferences, that I then have to manually hangup.

Here is how you find the calls

core show channels

This will bring up a list if channels in use. Identify the one you need to hangup i.e.

PJSIP/itsptrunk-00000002

Then issue command

channel request hangup PJSIP/itsptrunk-00000002


The call will then drop and you have killed the call.


If you need any help with a telephony project you can reach me at www.oneszeros.biz

Asterisk & FreePBX Feature Codes

I have tended to find that documentation for Asterisk and FreePBX based phone systems can be rather spread about. For the generic phone user what codes should they use? Here is a helpful list.


Call Forward

*72 – Call Forward All Activate
*73 – Call Forward All Deactivate
*93 - Call Forward All Prompting Activate
*74 – Call Forward All Prompting Deactivate
*90 – Call Forward Busy Activate
*91 – Call Forward Busy Deactivate
*94 - Call Forward Busy Promping Activate
*92 – Call Forward Busy Prompting Deactivate

*52 – Call Forward No Answer/Unavailable Activate
*53 – Call Forward No Answer/Unavailable Deactivate
*740 – Call Forward Toggle


So how do you call forward to voicemail? This is one point that seems to escape all the guides. Calls can be sent direct to a users voicemail by putting a * in front of their extension number, so you can forward direct to voicemail by dialling *72 *ext. e.g. if my extension is 1002 I can dial *72 *1002 to do the forward.

Turning the prompting on and off turns on and off the voice responses that walk you through it and confirm your actions.

Call Waiting

*70 – Call Waiting – Activate
*71 – Call Waiting – Deactivate


*8 – Asterisk General Call Pickup (When you are part of a call group)
** – Directed Call Pickup (When you are part of a call group)
*2 – (When in a call) Asterisk Attended Transfer
## – (When in a call) Asterisk Blind Transfer
** – (When in a call) Asterisk Disconnect Code
*1 – (When in a call) Asterisk Toggle Call Recording


If you need any help please contact me via www.oneszeros.biz


LetsEncrypt failure on Draytek Routers

 We like to use Draytek Routers on our installs as they are easy to configure and tend to be reliable. As with all things these days https s...