Hi
Since a few days suddenly we are getting both on phone display as at CDR a label “Unknow” instead of the caller numer. We have a CIDLookup in inbound routes that sets caller id name from a mysql DB if it’s found. Numbers not found instead of keeping the number in the name field are translated to “Unknow”. I copy the console dump. If I disable lookup the number is keep in the name (but I don’t have the lookup for know numbers )
CIDLookup 15.0.27 (downgraded to 15.0.23 with same results)
FreePBX 15.0.37
Asterisk 16.30.0
-- Executing [[email protected]:1] AGI("PJSIP/trunkid-00000076", "agi://127.0.0.1/cidlookup_mysql.agi,192.168.10.246,,username,password,tablename,,select CALLER_DESCRIPTION as nom from cc_caller where caller_id = '12341234'") in new stack
-- <PJSIP/trunkid-00000076>AGI Script agi://127.0.0.1/cidlookup_mysql.agi completed, returning 0
-- Executing [[email protected]:2] Return("PJSIP/trunkid-00000076", "") in new stack
-- Executing [[email protected]:22] NoOp("PJSIP/trunkid-00000076", "CallerID Entry Point") in new stack
-- Executing [[email protected]:23] Goto("PJSIP/trunkid-00000076", "ext-group,6264,1") in new stack
-- Goto (ext-group,6264,1)
-- Executing [[email protected]:1] GotoIf("PJSIP/trunkid-00000076", "0?cid") in new stack
-- Executing [[email protected]:2] PlayTones("PJSIP/trunkid-00000076", "ring") in new stack
-- Executing [[email protected]:3] Progress("PJSIP/trunkid-00000076", "") in new stack
-- Executing [[email protected]:4] Macro("PJSIP/trunkid-00000076", "user-callerid,") in new stack
-- Executing [[email protected]:1] Set("PJSIP/trunkid-00000076", "TOUCH_MONITOR=1680182426.238") in new stack
-- Executing [[email protected]:2] Set("PJSIP/trunkid-00000076", "CHANCONTEXT=") in new stack
-- Executing [[email protected]:3] Set("PJSIP/trunkid-00000076", "CHANCONTEXT=") in new stack
-- Executing [[email protected]:4] Set("PJSIP/trunkid-00000076", "CHANEXTENCONTEXT=trunkid-00000076") in new stack
-- Executing [[email protected]:5] Set("PJSIP/trunkid-00000076", "CHANEXTEN=trunkid-00000076") in new stack
-- Executing [[email protected]:6] Set("PJSIP/trunkid-00000076", "CALLERID(number)=12341234") in new stack
-- Executing [[email protected]:7] Set("PJSIP/trunkid-00000076", "AMPUSER=12341234") in new stack
-- Executing [[email protected]:8] Set("PJSIP/trunkid-00000076", "HOTDESCKCHAN=trunkid-00000076") in new stack
-- Executing [[email protected]:9] Set("PJSIP/trunkid-00000076", "HOTDESKEXTEN=trunkid") in new stack
-- Executing [[email protected]:10] Set("PJSIP/trunkid-00000076", "HOTDESKCALL=0") in new stack
-- Executing [[email protected]:11] ExecIf("PJSIP/trunkid-00000076", "0?Set(HOTDESKCALL=1)") in new stack
-- Executing [[email protected]:12] ExecIf("PJSIP/trunkid-00000076", "0?Set(CALLERID(name)=)") in new stack
-- Executing [[email protected]:13] GotoIf("PJSIP/trunkid-00000076", "0?report") in new stack
-- Executing [[email protected]:14] ExecIf("PJSIP/trunkid-00000076", "1?Set(REALCALLERIDNUM=12341234)") in new stack
-- Executing [[email protected]:15] Set("PJSIP/trunkid-00000076", "AMPUSER=") in new stack
-- Executing [[email protected]:16] GotoIf("PJSIP/trunkid-00000076", "0?limit") in new stack
-- Executing [[email protected]:17] Set("PJSIP/trunkid-00000076", "AMPUSERCIDNAME=") in new stack
-- Executing [[email protected]:18] ExecIf("PJSIP/trunkid-00000076", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [[email protected]:19] GotoIf("PJSIP/trunkid-00000076", "1?report") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [[email protected]:28] NoOp("PJSIP/trunkid-00000076", "Macro Depth is 1") in new stack
-- Executing [[email protected]:29] GotoIf("PJSIP/trunkid-00000076", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,30)
-- Executing [[email protected]:30] GotoIf("PJSIP/trunkid-00000076", "0?continue") in new stack
-- Executing [[email protected]:31] ExecIf("PJSIP/trunkid-00000076", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
-- Executing [[email protected]:32] Set("PJSIP/trunkid-00000076", "__TTL=64") in new stack
-- Executing [[email protected]:33] GotoIf("PJSIP/trunkid-00000076", "1?continue") in new stack
-- Goto (macro-user-callerid,s,49)
-- Executing [[email protected]:49] Set("PJSIP/trunkid-00000076", "CALLERID(number)=12341234") in new stack
-- Executing [[email protected]:50] Set("PJSIP/trunkid-00000076", "CALLERID(name)=Unknown") in new stack
-- Executing [[email protected]:51] GotoIf("PJSIP/trunkid-00000076", "0?cnum") in new stack
-- Executing [[email protected]:52] Set("PJSIP/trunkid-00000076", "CDR(cnam)=Unknown") in new stack
-- Executing [[email protected]:53] Set("PJSIP/trunkid-00000076", "CDR(cnum)=12341234") in new stack
-- Executing [[email protected]:54] Set("PJSIP/trunkid-00000076", "CHANNEL(language)=es") in new stack
Many thanks for your help,