INFO*_URL

INFO*_URL specifies the action for a custom button.

The softphone supports up to 10 custom buttons: INFO_URL, INFO2_URL, INFO3_URL, ... INFO9_URL and HISTORY_URL

When user clicks on a custom button it is possible to do one of following actions:

  • Open specific web-page in an external browser (for example, http://www.example.com/rates.html)
  • Open local html file in an external browser (for example, local help file file:///C:/help.html)
  • Start third-party application
  • Show Settings dialog
  • Show Login dialog
  • Initiate outgoing call to specified number (for example, technical support number)

Position of custom buttons and their pictures are defined inside skin file (*.smf). Read details here.

But action for custom button is specified in installer-brand.nsi file.

Each of buttons is identified by ID (which is specified inside skin file), see below table.

 

Button "Custom 1"50033HISTORY_URL
Button "Custom 2"50035INFO_URL
Button "Custom 3"50038INFO2_URL
Button "Custom 4"50039INFO3_URL
Button "Custom 5"50040INFO4_URL
Button "Custom 6"50041INFO5_URL
Button "Custom 7"50042INFO6_URL
Button "Custom 8"50043INFO7_URL
Button "Custom 9"50044INFO8_URL
Button "Custom 10"50045INFO9_URL

 

Some of available skins have only one custom button defined. Others have more custom buttons.

Buttons

Open specific web-page in an external browser

Examples:

!define INFO_URL         "http://www.example.com/info.php?user={LOGIN}"
!define INFO2_URL        "http://www.example.com/history.php?user={LOGIN}&password={PASSWORD}"
!define INFO3_URL        "http://www.example.com/rates.php"

 

URL should start with "http://" or "https://":

  • http://www.server.com         - open web page with HTTP protocol
  • https://www.server.com        - open web page with HTTPS protocol

URL may contain parameters, which are replaced automatically by softphone in real-time:

  • {LOGIN}                  - login name
  • {PASSWORD}           - password
  • {PASSWORD_MD5}    - encrypted password with MD5 hash algorithm

 

Open local html file in an external browser

Examples:

!define INFO_URL         "file:///{PROG_DIR}help.html"
!define INFO2_URL        "file:///C:/help.html"

 

URL should start with "file:///".

URL may contain parameters, which are replaced automatically by softphone in real-time:

  • {PROG_DIR}       - Directory path, where application resides

 

Start third-party application

Examples:

!define INFO_URL         "exec:{PROG_DIR}MyApp.exe"
!define INFO2_URL        "exec:C:/MyApp.exe"

 

URL should start with "exec:".

URL may contain parameters, which are replaced automatically by softphone in real-time:

  • {PROG_DIR}       - Directory path, where application resides

 

Show Settings dialog

In order to show Setting dialog, use "cmd:settings" as URL, for example:

!define INFO_URL         "cmd:settings"

 

Show Login dialog

In order to show Login dialog, use "cmd:login" as URL, for example:

!define INFO_URL         "cmd:login"

 

Initiate outgoing call to specified number

It is possible to make quick outgoing call to predefined phone number upon clicking on the button.

Format is following:

call:<phone-number>

Examples:

!define INFO_URL         "call:1234567"

 

 

Comments (0)