Zapata.conf
From New Zealand VoIP Users Group
This file configures zaptel hardware (telephony cards) for use with asterisk.
In New Zealand Telecom offer a service called Faxibility which will give you an extra phone number with distinctive ring. This service is $2.50-$3.95 per month depending on the plan you are on.
To use both caller id and distinctive ring detection in New Zealand requires a patch to the Asterisk source. See bug #3596 on bugs.digium.com and attached patch below.
The following distinctive ring settings seem to work for faxability.
usedistinctiveringdetection=yes ; option provided by patch from bug #3596 distinctiveringaftercid=yes dring1=309,247,161 dring2=279,248,220 dring1context=from-zap-phone dring2context=from-zap-fax
If you watch from a verbose Asterisk console you will see Asterisk detecting slightly different dring patterns but they still should get caught by the above lines.
File:Distictive ring-1.2.6.patch.txt Patch for using distinctive ring and caller id in New Zealand / Australia (updated from bug #3596)

