Hi,
I’m experiencing the same problem with my setup. Fresh installation with 2.5.3 then upgraded to 2.6 through the tool. Everything is working except the caller id.
Followed instructions above. Everything looks normal, it is just not working.
Can you help?
thanks
Sam
mysql> select cidlookup_id,description,sourcetype from cidlookup;
±-------------±------------±-----------+
| cidlookup_id | description | sourcetype |
±-------------±------------±-----------+
| 1 | cnam | internal |
| 2 | cnampikarde | http |
±-------------±------------±-----------+
2 rows in set (0.01 sec)
mysql> select * from cidlookup_incoming;
±-------------±------------±-------------+
| cidlookup_id | extension | cidnum |
±-------------±------------±-------------+
| 2 | 1904507xxxx | |
| 2 | 1904507xxxx | |
| 2 | 1904596xxxx | |
| 2 | 1718475xxxx | +1904962xxxx |
±-------------±------------±-------------+
the values are good, i masked the numbers manually with xxxx.
[cidlookup]
include => cidlookup-custom
exten => cidlookup_1,1,LookupCIDName
exten => cidlookup_1,n,Return()
exten => cidlookup_2,1,Set(CALLERID(name)=${CURL(http://MYDOMAIN.net:80/cid.aspx?number=${CALLERID(num)})})
exten => cidlookup_2,n,Return()
exten => cidlookup_return,1,LookupCIDName
exten => cidlookup_return,n,Return()
; end of [cidlookup]
cidlookup_1 is a dummy, cidlookup_2 is the one that will work.
[ext-did]
include => ext-did-custom
include => ext-did-0001
include => ext-did-0002
exten => fax,1,Goto(ext-fax,in_fax,1)
(I dont see ext-did-custom in any file)
[ext-did-0001]
include => ext-did-0001-custom
exten => fax,1,Goto(ext-fax,in_fax,1)
exten => 1718475xxxx/+1904962xxxx,1,Set(__FROM_DID=${EXTEN})
exten => 1718475xxxx/+1904962xxxx,n,Gosub(cidlookup,cidlookup_2,1)
exten => 1718475xxxx/+1904962xxxx,n,Gosub(app-blacklist-check,s,1)
exten => 1718475xxxx/+1904962xxxx,n,ExecIf($[ “${CALLERID(name)}” = “” ] ,Set,CALLERID(name)=${CALLERID(num)})
exten => 1718475xxxx/+1904962xxxx,n,Set(_CALLINGPRES_SV=${CALLINGPRES${CALLINGPRES}})
exten => 1718475xxxx/+1904962xxxx,n,SetCallerPres(allowed_not_screened)
exten => 1718475xxxx/+1904962xxxx,n,Goto(disa,1,1)
; end of [ext-did-0001]
[ext-did-0002]
include => ext-did-0002-custom
exten => fax,1,Goto(ext-fax,in_fax,1)
exten => 1718475xxxx,1,Set(__FROM_DID=${EXTEN})
exten => 1718475xxxx,n,Gosub(app-blacklist-check,s,1)
exten => 1718475xxxx,n,ExecIf($[ “${CALLERID(name)}” = “” ] ,Set,CALLERID(name)=${CALLERID(num)})
exten => 1718475xxxx,n,Set(_CALLINGPRES_SV=${CALLINGPRES${CALLINGPRES}})
exten => 1718475xxxx,n,SetCallerPres(allowed_not_screened)
exten => 1718475xxxx,n,Goto(ext-group,605,1)
exten => 1904507xxxx,1,Set(__FROM_DID=${EXTEN})
exten => 1904507xxxx,n,Gosub(cidlookup,cidlookup_2,1)
exten => 1904507xxxx,n,Gosub(app-blacklist-check,s,1)
exten => 1904507xxxx,n,ExecIf($[ “${CALLERID(name)}” = “” ] ,Set,CALLERID(name)=${CALLERID(num)})
exten => 1904507xxxx,n,Set(_CALLINGPRES_SV=${CALLINGPRES${CALLINGPRES}})
exten => 1904507xxxx,n,SetCallerPres(allowed_not_screened)
exten => 1904507xxxx,n,Goto(ext-group,601,1)
exten => 1904507xxxx,1,Set(__FROM_DID=${EXTEN})
exten => 1904507xxxx,n,Gosub(cidlookup,cidlookup_2,1)
exten => 1904507xxxx,n,Gosub(app-blacklist-check,s,1)
exten => 1904507xxxx,n,ExecIf($[ “${CALLERID(name)}” = “” ] ,Set,CALLERID(name)=${CALLERID(num)})
exten => 1904507xxxx,n,Set(_CALLINGPRES_SV=${CALLINGPRES${CALLINGPRES}})
exten => 1904507xxxx,n,SetCallerPres(allowed_not_screened)
exten => 1904507xxxx,n,Goto(ext-group,600,1)
exten => 1904596xxxx,1,Set(__FROM_DID=${EXTEN})
exten => 1904596xxxx,n,Gosub(cidlookup,cidlookup_2,1)
exten => 1904596xxxx,n,Gosub(app-blacklist-check,s,1)
exten => 1904596xxxx,n,ExecIf($[ “${CALLERID(name)}” = “” ] ,Set,CALLERID(name)=${CALLERID(num)})
exten => 1904596xxxx,n,Set(_CALLINGPRES_SV=${CALLINGPRES${CALLINGPRES}})
exten => 1904596xxxx,n,SetCallerPres(allowed_not_screened)
exten => 1904596xxxx,n,Goto(ext-group,604,1)
exten => 904421xxxx,1,Set(__FROM_DID=${EXTEN})
exten => 904421xxxx,n,Gosub(app-blacklist-check,s,1)
exten => 904421xxxx,n,ExecIf($[ “${CALLERID(name)}” = “” ] ,Set,CALLERID(name)=${CALLERID(num)})
exten => 904421xxxx,n,Set(_CALLINGPRES_SV=${CALLINGPRES${CALLINGPRES}})
exten => 904421xxxx,n,SetCallerPres(allowed_not_screened)
exten => 904421xxxx,n,Goto(from-did-direct,1904421xxxx,1)