login | register
19 Nov 2008 [10:58 UTC]

AussieVoIP

FreePBX, Trixbox and Australian Voice over IP Information

Similar PagesHistoryPrint

freePBX-ParkingLot

Created by: p_lindheimer,Last modification on 18 Mar 2007 [14:33 UTC]by wiseoldowl

Parking Lot Module


This module allows you to configure all the normal features.conf settings for the parking lot functionality of Asterisk.

These include:

  • Enable/Disable the feature (while retaining settings)
  • Parking Lot Extension
  • Number of Parking Lot slots
  • Parking Timeout before the call is returned to the orignal parker if not picked up
  • Parking Lot Context (for advanced use)

The more useful part of this module is to specify a destination for parked calls that get orphaned. This can occur if the call is not picked up and for some reason the original parker can not be reached. (e.g. the original parker is on the phone and does not have call waiting or ignores it). In this case, call is diverted to the chosen destination which is any of the standard destinations provided in all modules that include such an option. Prior to sending the call to that destination, you can configure the following options to further identify the orphaned all:

  • Parking Alert-Info (to provide a unique ring for the returned call)
  • CallerID Prepend (to identify the call with additional CID information)
  • Announcement (to be played to the orphaned caller to reassure them that you are trying to get them back to someone)


Parked Calls with BLF indicator light. -teknoprep- (you know you love me)

i have got this to work on my GXP-2000 phones using trixbox 1.1.1 on vmware with 1.2.12.1 compiled asterisk. so if you follow these instructions you should be good to go. This tid bit of bash commands was taken from X-Rob's lesson on http://www.freepbx.org/2006/09/28/un-trixbox-your-trixbox/ .

  • important.. IF YOU RUN VMWARE... do not do the first 2 lines... NEVER run yum on your vmware box for updates if you run a trixbox vmware image. CentOS 4.4 does not cooperate well with vmware.


yum -y install kernel-smp-devel
yum -y update
sed -i s/enabled=1/enabled=0/ /etc/yum.repos.d/trixbox.repo
rm -rf /usr/sbin/safe_asterisk /usr/lib/asterisk/modules/app_trunkisavail.so
cd /usr/src
wget http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.12.1.tar.gz
wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.9.1.tar.gz
wget http://ftp.digium.com/pub/libpri/releases/libpri-1.2.3.tar.gz
wget http://ftp.digium.com/pub/asterisk/releases/asterisk-addons-1.2.4.tar.gz
tar zxvf asterisk-addons-1.2.4.tar.gz
tar zxvf libpri-1.2.3.tar.gz
tar zxvf zaptel-1.2.9.1.tar.gz
tar zxvf asterisk-1.2.12.1.tar.gz
cd libpri-1.2.3 && make install
cd ../zaptel-1.2.9.1 && make install
cd ../asterisk-1.2.12.1 && make install
cd ../asterisk-addons-1.2.4 && make install
asterisk -rx "stop now"
/etc/init.d/zaptel restart
amportal start

Don't forget to hit enter at the last line.

Now, lets get BLF working for Parked Calls.

cd /usr/src
wget http://aussievoip.com/storage/users/315/315/images/179/metermaid-1.2.7.1.txt
cd asterisk-1.2.12.1
patch -p0 < /usr/src/metermaid-1.2.7.1.txt
make
make install
asterisk -rx "stop now"
/etc/init.d/zaptel restart
amportal start


Now lets edit some files

nano /etc/asterisk/extension_custom.conf


add this to the file

exten => _*3, 1, ParkAndAnnounce(pbx-transfer:PARKED|120|SIP/${DIALEDPEERNUMBER}|sip_incoming,${DIALEDPEERNUMBER},1)
;the line above this, NEEDS TO BE ON ONE LINE... not on 2

exten => 701,1,ParkedCall(701)
exten => 701,hint,Local/701@parkedcalls
exten => 702,1,ParkedCall(702)
exten => 702,hint,Local/702@parkedcalls
exten => 703,1,ParkedCall(703)
exten => 703,hint,Local/703@parkedcalls
exten => 704,1,ParkedCall(704)
exten => 704,hint,Local/704@parkedcalls


Save the file and now lets edit another file

nano /etc/asterisk/features.conf

now it should look something like this when you are done in the General context

parkext => 700 ; What ext. to dial to park
parkpos => 701-704 ; What extensions to park calls on
context => parkedcalls ; Which context parked calls are in
parkingtime => 5000 ; Number of seconds a call can be parked for (default is 45 seconds)


  • the important part is for the parkext to = 700 and the parkpos to be 701 and up.. usually i would only need 4 parking lots for now since most phones just don't have enough buttons to support more... but hey you can do whatever you need.

now lets use it

when a call comes in you press Transfer - *3... this will park the call... the asterisk box will call you back and tell you where its parked... First call parked always goes to 701.

now on your phone setup one of your button light indicators for
Asterisk BLF 701
Asterisk BLF 702
Asterisk BLF 703
Asterisk BLF 704
(this is how i did it on my gxp-2000)

now when a call gets parked anyone with this setup will see the light indicator light up for any of the 4 parking lots... this will give you the ability to have the call picked up from anywhere on the system that has this setup... just press the button.

  • Problems - when i first boot up my GXP-2000 the lights for the BLF of Parked Calls will light up even tho no calls are parked... this will change once a parked call is picked up on that lot. (2) If you restart asterisk in any way... it seems that parked BLF stops working... ANYONE have a fix for that?

back to content

bitweaver

Powered by

  • Powered by bitweaver
  • Powered by Smarty
  • Powered by Adodb
  • Powered by MySQL
back to content

Site Navigation

back to content
Powered by bitweaver