Hi!
I am trying to setup the CallerID Lookup Source with our server. It is working, but I get an “” error in the screen, so it is not requesting the url.
When I go to my server, it shows there has been an request with the right url: “GET /phone/index.php?number={NUMBER} HTTP/1.1” 301 517 “-” “asterisk-libcurl-agent/1.0”. And when I go to /etc/asterisk/extensions_additional.conf it also shows the right url:
[cidlookup]
include => cidlookup-custom
exten => cidlookup_1,1,Set(CALLERID(name)=${CURL(http://domain:80/phone/index.php?number=${CALLERID(num)})})
exten => cidlookup_1,n,Return()
exten => cidlookup_return,1,ExecIf($["${DB(cidname/${CALLERID(num)})}" != “”]?Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})}))
exten => cidlookup_return,n,Return()
; end of [cidlookup]
When I copy the exact url from above, it shows me the name. What am I doing wrong? Can I see anywhere the exact url that has been requested or get the exact response?