I have 2 ISDN 30e lines with multiple ddi numbers and channels all going to asterisk via a digium 205 card.
IF the ddi numbers are like
888001
888002
888003
889001
889002
etc
How can I detect which number our customer has called ie 889001 888001 etc.
All incoming numbers would be sent to a [incoming] context in extensions.conf and I need some way to detect the number so I can route some of the ddi numbers to other parts of extensions.conf.