Solved -- Caller ID Lookup via Http

aldogiovani
Posts: 3
Member Since:
2009-10-27

Hi, I'm kinda newb on trixbox and I'm stuck in a problem for days. I created an app on my company to find some info about the caller based on its number. Basically I send an http get:

http://callerid.intranet.tibra/retornacallerid.ashx?callerid=4196...

The website then returns the response in plain text:

D Paula Flores - cod 0 (Marli)

On trixbox, I set up the Caller ID Lookup Source like this:

Source description: http
Source type: HTTP
Cache results: no
Host: http://callerid.intranet.tibra
Port: 80
Path: /retornacallerid.ashx
Query: callerid=[NUMBER]

There's no username or password set.

Then I related this source to my Inbound Routes. But still, when a call comes in, nothing happens, on sip debug no event raise concerning the cid lookup, looks like trixbox isn't "trying" to get the cid like I configured.

My trixbox version is 2.6.

Am I missing something?



nttranbao
Posts: 189
Member Since:
2008-02-16
You should see something in

You should see something in CLI that relates to CallerID lookup.

Btw, in the above "HOST" setting, it should not contain http://, only IP or FQDN, i.e callerid.intranet.tibra

You can try wget http://callerid.intranet.tibra/retornacallerid.ashx?callerid=9090... from Asterisk console to see if it can resolve number well.

--

----------------------
IT/VOIP consultancy, VOIP eStore, Support Forum
Bao Nguyen IT Co., Ltd.
http://www.baonguyen.vn
WE MAKE IT



aldogiovani
Posts: 3
Member Since:
2009-10-27
Solved

Nttranbao, your expert help solved the issue. It was all about changing the host setting. Thanks.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.