Asterisk Call Pickup

To Pickup call that know the extension –
Just press ** + ringging ext

To Pickup call that do know know the extension, callgroup and pickup group will be use –

Following is clarification of callgroup and pickup group-
CallGroup – Category of a inbound call to specific extension. For example, Sales Department has callgroup 1 ; while Technical Department has callgroup 2

PickupGroup – Pickupgroup at extension is define which callgroup an inbound call can the extension can pickup. For example, the senario above, an extension that has pickupgroup 1, can only pickup call destinated to extension Sales Department, while pickupgroup 2 can only pickup call to extension Technical Department. While extension with PickupGroup 1,2 can pickup call destinate to both Sales and Technical Department.

Thus, usually, Receptionist have pickup group 1,2 ; while collegue in Technical Department have pickupgroup 2 and collegue in Sales Department has pickup group 1. And it give senario of Receptionist can pickup call from both department , which each individual department collegue can only pick up call from within same department only.

Pickup call with this method , by default is dial *8 , this default value can be change at FreePBX’s “Feature Codes” under Core Section.

Asterisk-FreePBX On Demand Call Recording

This is how to trigger On-Demand Call Recording, which means middle of conversations, activate the call recordings-

A. “In FreePBX, 1 – Ensure Feature Code “In-Call Asterisk Toggle Call Recording” is enabled and set to *1.

B On the General Settings page, add “wW” to “Asterisk Dial command options” making its value “trwW”. Also, add “wW” to “Asterisk Outbound Dial command options.” Hover over the labels for a full description of these options.

C On the extension, make sure “Record Incoming” and “Record Outgoing” are set to “On Demand”.”

FreePBX Showing DB Error

Following is the error screen –

If you all the while no problem on FreePBX recording, and out of sudden not able to retrieve the  recording and shows “DB Error: Unknow error” , this mostly due to DB table corruptions, this can be fix using following –

mysql -h localhost -u asteriskuser -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.0.77 Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>  USE asteriskcdrdb
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> optimize table cdr;

Done. You try again and it should work.