Friday, May 6, 2011

iPhone iPBX extension cluster

The following IVR script is for ringing a user's deskphone (Polycom), and mobile iphone at the same time when their extension is called.

iPhone PBX Cluster scheme:

Operation - when someone calls an extension this will ring the user's main station and one or more stations at the same time. Whichever station answers the call will get the call and the other stations will stop ringing.

If the call is not answered (currently set to after 4 rings) the call is sent to voice-mail for the original extension.

Configuration Part 1 - create a group called "ext_cluster_###" where "###" is your extension #. In that group add the stations you want to ring as operator stations. In your user voice-mail handling properties, set Idle Rings to 0 (zero) and set your voice-mail handler to "ext_cluster".

Configuration Part 2 - Setup a standard user:

username: fp_enable
password: ****

Configuration Part 3

Setting up the ext_cluster.ivr:

/usr/facetphone/config/ivr.local.cfg
vi the ivr.local.cfg, and enter the following:

<ivr_script=ext_cluster>

Restart the db issuing the following command:
facetphone reload

Configuration Part 4

Setup the following crontab example:

# fp_enable_stat - enable/disable stations
*/2 * * * * /usr/pbxname/bin/fp_enable_stat 110 141
*/2 * * * * sleep 60; /usr/pbxname/bin/fp_enable_stat -x 128

flag: -x and the station ### = disable station

Closing Note on the new feature:

if you answer a call using a station other than your main station that is associated with your FP GUI that you will not be able to use the GUI to manipulate the call. But, you can use TUI commands to transfer the call from one of your secondary stations to your primary and then do fancy things with the GUI if you wish:

FLASH (put current call on hold)
# 2 3 STA (transfer call on hold to station "STA")
# 3 (park call on hold)

No comments:

Post a Comment