TDM03B Distinctive Ring and Routing

I have distinctive ring service on 1 line but will be adding it to 1 more line. I can not figure out how to specify the distinctive ring settings on the channels seperatly. My ring styles for the distinctive ring service will be the same for both lines. Is this possible? Example of POTS Lines looks like this:

Channel 1 (FXO Port 1)
regular number1-IVR1
No distinctive ring

Channel 2 (FXO Port 2)
regular number2-IVR1
distinctive number1-IVR2
dring1=358,297,0

Channel 3 (FXO Port 3)
regular number3-FAX1
distinctive number2-FAX2
dring1=358,297,0

If you need any more info please ask.

Thanks
Jason

Its explained at the wiki see link

voip-info.org/wiki/view/Aste … P+channels

Down the page about half way

You are correct that it has some info about it on that page which I have looked at several times. What it does not describe is how to set this up on a per channel or fxo port basis. That is what I am trying to do and I have searched and not found out how this is done. Look at my example of the pots line to see what I am trying to do.

Thanks

Unless im missing something you would do it on a per port basis in zapata.conf and set up differnet contexts for each channel in you dial plan

something like this

signalling = fxo_ks
usedistinctiveringdetection=yes
dring1=325,95,0
dring1context=mycontext
context=default
channel=1
;

signalling = fxo_ks
usedistinctiveringdetection=yes
dring1=325,95,0
dring1context=mycontext 2
context=default2
channel=2

That is what I have tried but it does not seem to work that way. It only turns on for the last channel in the list and is ignored on the one before it. When looking at asterisk CLI it does not even check distinctive ring when you call in on any other channel but the last one.

Thanks

Weired the only thing I can think of is make sure the channel => is the last statement for each port also if you are using the sample zapata file make sure the other lines above are commented out