Reading voip-info.org/wiki/index.php … apata.conf
ASSuME:
in zapata.conf:
usedistinctiveringdetection=yes
then (actually in an INCLUDE):
context=from-custom-9682345-dring
dring1=0,0,0
dring1context=from-custom-9682345
channel => 2
if a call coming in on channel 1 has a ring pattern of 0,0,0 (NOT the distictive ring !), from-custom-9682345 is executed.
Otherwise from-custom-9682345-dring is executed.
The reason I am doing this ‘backwards’ is that my distinctive ring pattern is different:
Feb 7 09:18:24 VERBOSE[29068] logger.c: – Detected ring pattern: 328,289,265
is the latest.
So I figure I should match on the non-distictive ring number which is always 0,0,0 ???