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:
    4,744
    Likes Received:
    128
    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

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.
Similar Threads
  1. annoyedxioo
    Replies:
    0
    Views:
    1,822
    annoyedxioo
    Jan 5, 2009
  2. Carmine Ascoli
    Replies:
    1
    Views:
    283
    Bruce in Alaska
    Jan 15, 2004
  3. Sakari Lemola
    Replies:
    0
    Views:
    362
    Sakari Lemola
    Apr 15, 2004
  4. sooky
    Replies:
    3
    Views:
    391
    Cory Cooper
    Jun 26, 2016
  5. cathmint
    Replies:
    4
    Views:
    597
    Cory Cooper
    Jul 24, 2016
  6. esmith
    Replies:
    2
    Views:
    358
    esmith
    Oct 11, 2016
  7. Matthon
    Replies:
    3
    Views:
    223
    honestone
    Dec 18, 2016
  8. Jewl
    Replies:
    3
    Views:
    262
    Cory Cooper
    Dec 18, 2016
Loading...