Skip to main content

Issue with incoming caller ID

Posted by vipcarrier on Tue, 06/16/2015

Here is an issue we face, when incoming call comes it shows a caller ID as full SIP URI, we would like simply to show the number. How to fix this?

Here is a how our from-outside looks like:

[from-outside]

exten => _X.,1,Wait(1)
exten => _X.,n,Set(__INCOMINGCLI=${CALLERID(num)})
exten => _X.,n,AGI(opencnam.agi,${CALLERID(num)})
exten => _X.,n,Set(CALLERID(name)=${lookupname})
exten => _X.,n,Goto(from-outside-redir,${EXTEN},1)
exten => _+X.,1,Wait(1)
exten => _+X.,n,Set(__INCOMINGCLI=${CALLERID(num)})
exten => _+X.,n,Goto(from-outside-redir,${EXTEN},1)
exten => s,1,Wait(1)
exten => s,n,Set(__INCOMINGCLI=${CALLERID(num)})
exten => s,n,Goto(from-outside-redir,${EXTEN},1)