Distinctive Ring on POTS line - can it carry ANI and DNIS?

Does anyone know if ‘distinctive rings’ can carry the digits of the number that was called? Let me describe the situation:

I can order ‘Market Exansion’ lines from Qwest. That is one main analog POTS line with three external virutal numbers. When someone calls a virtual number (or the main number), it rings a distinctive tone on the main POTS line. It also carries the caller ID

I would like to have three ‘Market Expansion’ lines (3 CO-POTS lines), each with the cooresponding virtual lines. That would be a total of 12 telephone numbers the outside can call. Each POTS line would be in a hunt group for roll-over when busy.

Line 1 = 3034441234; virtual lines 3034442345; 3034443456; and 3034444567

Line 2 = 3035559876; virtual lines 3035558765; 3035557654; and 3035556543

Line 3 = 3036665678; virtual lines 3036666789; 3036667890; and 3036664321

So, each of the 12 numbers listed above have a special meaning (i.e., sales rep1, newspaper advertisement1, sales rep2, etc.). Not intested in the actual audio portion … I want to build a screen-pop on the PC to show Caller ID and the number called as the phone is ringing.

The $64,000 questions is: Can Asterisk capture the Caller ID (ANI) AND the number called (DNIS) on the CO-POTS line, regardless of the the main trunk it arrives on? I guess that is a question for both Asterisk and Qwest.

INCOMING CALL: ANI=‘3039994444’; DNIS=‘3034442345’

I guess that I am trying to avoid getting Qwest’s expensive DID analog lines. Don’t think Asterisk can handle analog-DID circuits anyway (or can it?)

Any help or insight will be greatly appreciated! I am stuck.

[need to stay with analog POTS if possible, T1 and ISDN-PRI are not good options for this application]

Thanks in advance!

Can Asterisk capture the Caller ID (ANI) AND the number called (DNIS) on the CO-POTS line.
If htey are sending it to you I would think it could captuer it. Not familiar with the type of line your talking about

I guess that I am trying to avoid getting Qwest’s expensive DID analog lines. Don’t think Asterisk can handle analog-DID circuits anyway (or can it?)
Got 12 of them in my office from bellsouth hooked to asterisk. Works great

do you have a different ring for each number ? i have BT “CallSign” here which is distinctive ring, and i’ve setup an additional context for it, but getting the ring patterns to be detected was “interesting”.

i added

usedistinctiveringdetection=yes to /etc/asterisk/zapata.conf and then had to ring the number a dozen times and capture from the console (or log) what the detected ringtone was. then add a pointer for each ringtone to the context i wanted for that number.

which reminds me, i must see if you can specify a range for the ringtone !

:wink:

Thank you …