Refered Number Capture

teleone
Posts: 12
Member Since:
2007-02-10

Many of the calls coming to my Asterisk are calls to another number that is forwarded to a DID in my system.

Is it possible to capture the referring number ( the number the caller actually dialed)?

Thanks



teleone
Posts: 12
Member Since:
2007-02-10
Refered Number Capture (Solved)

${CALLERID(rdnis)} does the trick. There are several others as well.
${CALLERID(all)}
${CALLERID(dnid)}
${CALLERID(ani)}
${CALLERID(name)}
${CALLERID(number)}



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.