Click to Call
From FusionPBX
Menu: (Apps-Click to Call)
Contents
General Info
Provide the following information to make a call from the source number to the destination number.
Caller ID Name: Caller ID Number: Source Number: Destination Number:
Calling via URL
https://voip.yourdomain.com/app/click_to_call/click_to_call.php?src_cid_name=TBDialout&src_cid_number=3615551234&dest_cid_name=Your Name&dest_cid_number=3615551234&src=1000&dest=3614613242&rec=false&ringback=us-ring
Broken down:
- Location of App:
- Caller ID name to send to your Extension
- src_cid_name=TBDialout&
- Caller ID Number to send to your extension (probably you want the number you're dialing)
- src_cid_number=3615551234&
- Caller ID Name to send to the destination
- dest_cid_name=Your Name&
- Caller ID Number to send to the destination
- dest_cid_number=3615551234&
- Extension number to call first
- src=1000&
- Destination number to call
- dest=3614613242&
- Record the call (true or false)
- rec=false&
- Ringback you want to here. Can also be uk-ring, fr-ring, rs-ring or music
- ringback=us-ring
Integrating with Thunderbird's Address book
Install the version from the Dev Branch
The current version will nut function with TBDialout.
- TBDialout by default only string replaces the first %NUM%. You need to patch FusionPBX to account for this (Nov 15, 2012).
You need to install the version from the dev branch. here's the easiest way to do so (this will fix on the next release after Nov 15 2012:
- You also gain the ability to easily make sip uri calls.
cd /var/www/fusionpbx/app/click_to_call mv click_to_call.php click_to_call.php.bak wget http://fusionpbx.googlecode.com/svn-history/r3179/branches/dev/fusionpbx/app/click_to_call/click_to_call.php chown www-data.www-data click_to_call.php #or whatever your web server user is.
- Install the TBDialOut extension.
- Open the extension and set it's preferences.
- URL Scheme to use: Custom URL
- Replace leading + with: Leave blank
- Prefix called numbers with: Leave blank
- Custom URL:
- Here you will set dest=%NUM% and src_cid_number=%NUM%. Here's some block text you can copy and edit. Then make it one big URL. DO NOT ATTEMPT SENDING USERNAME AND PASSWORD OVER AN HTTP SESSION
https://voip.example.com/app/click_to_call/click_to_call.php? username=YourUsername &password=YourPassword &src_cid_name=TBDialout &src_cid_number=%NUM% &dest_cid_name=Your Company Name &dest_cid_number=your_phone_number &src=Your_Extension &dest=%NUM% &rec=false &ringback=us-ring
The resulting url will look something like this:
https://voip.example.com/app/click_to_call/click_to_call.php?username=YourUsername&password=YourPassword&src_cid_name=TBDialout&src_cid_number=%NUM%&dest_cid_name=Your Company Name&dest_cid_number=your_phone_number&src=Your_Extension&dest=%NUM%&rec=false&ringback=us-ring
- Username: Leave Blank
- Password: Leave Blank
- Open in background (http/https only): Checked for Live, Unchecked for debugging
Usage
Open the address book and click a phone number. It should dial your extension first, and then ring the other party.