Asterisk CDR Report shows "s" in the destination field

user2053600 picture user2053600 · Feb 8, 2013 · Viewed 9.8k times · Source

I have had issue on an platform for quite sometime now, when somebody calls in to ivr system, the cdr report destination field shows an 's' in place of the called number. The inbound route for the DID is set to the ivr menu. Here is my dial plan: "

exten => 800000031,1,Set(__FROM_DID=${EXTEN})
exten => 800000031,n,Gosub(app-blacklist-check,s,1)
exten => 800000031,n,ExecIf($[ "${CALLERID(name)}" = "" ] ?Set(CALLERID(name)=${CALLERID(num)}))
exten => 800000031,n,Set(__CALLINGPRES_SV=${CALLERPRES()})
exten => 800000031,n,Set(CALLERPRES()=allowed_not_screened)
exten => 800000031,n(dest-ext),Goto(ivr-3,s,1)*

"

I suspect the issue is on the last line but the file is not allowed to be edited directly.

Will appreciate any help.

Answer

Vivek Raj picture Vivek Raj · Mar 10, 2014

s is the default extension in asterisk , go through the logs and try to find out on what context that call was executed. It usually happens when you do not create a context for any specific DID in extension.conf. then the call is being routed to asterisk default context