Announcement

Collapse
No announcement yet.

rewrite callto-uri

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • rewrite callto-uri

    In App Suite Contacts the phone numbers are clickable with the URI callto phonenumber. Can I rewrite the uri?

    I would like to have the uri somethink like https://pbx:443/remote_call.htm?userid=1$dest=phonenumber&auth=3

    If its possible: can I define fields for OX users which contain values for auth and userid?

    Thanks and regards
    Andreas

  • #2
    Click2Dial with Open Xchange App Suite and Vodia PBX / Voip phones


    Here is a quick and dirty solution for MacOS. But it works!

    1. Create this shell script - insert your extension and passwort:

    #!/bin/sh

    L1=${#1}

    L2=$((L1-6))

    PHONENUMBER=${1:7:L2}

    URL="https://pbx.domain.de:10443/remote_call.htm?user=09%40localhost&dest=$PHONENUM BER&auth=09%40localhost%3Asecret&connect=true"

    open $URL



    2. Download the app Platypus and create the app OXcallingVodia.app selecting the above shell script. Store the app in application directory inside your home directory.

    3. Download the app LinCastor and registrate the app OXcallingVodia.app with the default protocoll callto

    With more time you can edit Info.plist etc ... or write a webExtension.

    Comment

    Working...
    X