caller name by php script (reverse lookup)

Discussion in 'Ideas' started by natero, Oct 27, 2017.

caller name by php script (reverse lookup) 5 5 2votes
5/5, 2 votes

  1. natero

    Joined:
    Oct 27, 2017
    Messages:
    4
    Likes Received:
    1
    It would be good to have the possibility to add entries in the incoming dialplan:
    We want to translate the caller number into a friendly name.
    We made a nice php script which searches the numbers firstly locally and then in several worldwide online phonebooks. It gives back the Country Code with Name or Company and if not known, the country and Region.
    In askozia i could make an entry in manual_dialplan_incoming:
    Code:
    Set(CALLERID(name)=${CURL(http://192.168.xxx/callAskozia.php?caller=${CALLERID(num)})})
    SIPAddHeader(Call-Info: <http://192.168.xxx:80/cid/${CALLERID(num)}.png>\;purpose=icon)
    (The second line is for adding the caller picture.)
    I use 3CX on debian.
     
  2. daytrader

    Joined:
    Feb 2, 2017
    Messages:
    2
    Likes Received:
    0