Problem with "Signal RINGING"


Here is the problem, I use a CID Lookup Source and I want my callers to ear Ringing while I’m doing the lookup, sometimes it takes 5 seconds… So i checked the Signal RINGING but unfortunately in the dial plan the cidlookup macro is called before the Ringing() command, so the Signal RINGING is useless in my case, that should be but before the cidlookup.

I’ve worked around that by duplicating the cidlookup context into the file extensions_override_freepbx.conf and add the Ringing() command before my lookup.

Just though to share this little problem I had.

Here is the actual dial plan for my Inbound Route
exten => MyDiDNumbeR,1,Set(__FROM_DID=${EXTEN})
exten => MyDiDNumbeR,n,Gosub(cidlookup,cidlookup_2,1)
exten => MyDiDNumbeR,n,ExecIf($[ “${CALLERID(name)}” = “” ] ,Set,CALLERID(name)=${CALLERID(num)})
exten => MyDiDNumbeR,n,Ringing()
exten => MyDiDNumbeR,n,SetCallerPres(allowed_not_screened)
exten => MyDiDNumbeR,n,Set(__ALERT_INFO=Bellcore-r1)
exten => MyDiDNumbeR,n,Goto(ext-group,600,1)