Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Does anyone know of a SIP client that can open a web page to a configurable URL when someone calls? We have a web-based database, and I'd like to search by phone number whenever we get an incoming call, and have the person on screen before I answer it.

The SIP client program doesn't have to have any other audio or calling features - we all have hardware SIP phones on our desks as well.

share|improve this question
    
Maybe create a desktop shortcut/hotkey for the database instead? Personally, I prefer something that's predictable over something the computer can screw up on. –  digitxp Aug 31 '10 at 15:30
    
rjmunro, did you ever get an answer to this problem? I am looking for something identical - a softphone client that loads a URL to go along with hardware phones. –  Christopher Padfield Oct 19 '11 at 12:30
    
@ChristopherPadfield I never did get a solution to this problem. I'm now working somewhere else, where it would be less useful, but am still interested. –  rjmunro Oct 19 '11 at 16:06
add comment

2 Answers

I found http://www.phoner.de/index_en.htm does this. Options -> External Application and then run a .bat file with something like:

[InternetShortcut]
URL=http://www.google.com/id=%1
share|improve this answer
add comment

I doubt that you're still looking for an answer to this 6 months later, but here goes:

The Twinkle SIP client supports executing a script when an incoming call is received and I'm sure many others do as well. To get something like this working in Twinkle, you'd write a script like the one below, then go into Edit->User Profile->Scripts and select /path/to/my/script for "Incoming Call".

#!/usr/bin/env python
import os
import re

def get_caller_id(from_hdr):
    clid, uri = from_hdr.split(" <sip")
    clid = re.sub("\"", "", clid)
    # Insert ASCII code for spaces
    if re.search("\s", clid):
        clid = re.sub("\s", "%20", clid)
    return clid


if "SIP_FROM" in os.environ:
    from_hdr = os.environ["SIP_FROM"]
    if re.match("\"[A-Za-z0-9\s]+\"", from_hdr):
        cmd = "firefox "
        url = "http://www.google.com/search?q="
        caller_id = get_caller_id(from_hdr)
        cmd_string = cmd + url + caller_id

        # Launch Browser
        os.system(cmd_string)
share|improve this answer
    
I am still looking for an answer, and that looks nice, but none of our clients use Linux, which Twinkle seems to require –  rjmunro Mar 14 '11 at 22:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.