Mark a phone number then make a call

Discussion in 'Programming' started by ThomasD_AT, Dec 13, 2016.

  1. ThomasD_AT

    ThomasD_AT New Member

    Joined:
    Dec 13, 2016
    Messages:
    1
    Likes Received:
    0
    Hi everyone,

    a have a SNOM phone in the office which has a web interface. I can use curl the send a URL to
    the phone so the phone starts a call. I now have a cli script where I just have to insert the number.

    Here’s the cli command:
    ./call number

    Here’s the code inside the script:
    curl http://IP-Phone/command.htm?number=$1&outgoing_uri=USER@DOMAIN

    At $1 the number is inserted.

    Is there a possibility to create a Automator process where I just need to mark a number on a
    webpage for example, go into the context menu over a right mouse click and select a „call“ entry?

    I’ve never used Automator for private or business issues before so I don’t have any experience with it.

    Thanks in advance!

    Best regards
     
    ThomasD_AT, Dec 13, 2016
    #1
    1. Advertisements

  2. ThomasD_AT

    Cory Cooper Moderator

    Joined:
    May 19, 2004
    Messages:
    5,276
    Likes Received:
    158
    Hello and welcome.

    I am not very experienced with Automator/AppleScript. but the folks over at MacScripter may be able to help out.

    C
     
    Cory Cooper, Dec 18, 2016
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.