Click to Call

From FusionPBX
Revision as of 00:03, 16 November 2012 by Soapee01 (talk | contribs) (Notes)
Jump to: navigation, search

Menu: (Apps-Click to Call)

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 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%. The resulting url will look something like this:
https://voip.yourdomain.com/app/click_to_call/click_to_call.php?src_cid_name=TBDialout&src_cid_number=%NUM%&dest_cid_name=Your Name&dest_cid_number=3615551234&src=1000&dest=%NUM%&rec=false&ringback=us-ring
    • Username: You can fill this out but it doesn't do anything
    • Password: You can fill this out but it doesn't do anything
    • Open in bacground (http/https only): </b>UNCHECKED</b>

Notes

  • IMPORTANT: TBDialout by default only string replaces the first %NUM%. You need to patch FusionPBX to account for this (Nov 15, 2012). There's a diff file attached on this issue.
  • You need to be logged into the system in thunderbird for now. The first time you click a number it will open a browser window inside of thunderbird, and you will need to log in. I usually then go to the active extensions page so that I stay logged in.
  • Open the address book and click a phone number. It should dial your extension first, and then ring the other party.