A Chrome Extension that will allow you to implement click to call (also called Click to Dial) with the NetSapiens softswitch.…
A Chrome Extension that will allow you to implement click to call (also called Click to Dial) with the NetSapiens softswitch.
Version 1.4:
- Works with websites that use frames
- Detects numbers that use "." instead of "-"
Version 1.5:
- If number string starts with "+" and next number is not a "1" then add "011" to the dialstring
Version 1.6
1. Add field to options page with label: International Prefix
2. Change Country Code field to a dropdown list with Countries. Auto-populate country code for the country chosen.
- If number string starts with "+" and next number is not equal to [Country Code] then add [International Prefix] to the dialstring.
- If number string starts with "+" and next number is equal to [Country Code] then just strip the "+"
Example 1:
Country Code is 1 and International Prefix is 011
+6328100976 will become 0116328100976
Example 2:
Country Code is 63 and International Prefix is 00
+6328100976 will become 6328100976
Example 3:
Country Code is 1 and International Prefix is 011
+17477778100 will become 17477778100
Example 4:
Country Code is 63 and International Prefix is 00
+17477778100 will become 0017477778100
Version 1.8
Fixed incompatibilities with jquery