[Asterisk-Users] X100P with Caller-ID in Australia, anyone?

Tzafrir Cohen tzafrir at cohens.org.il
Tue Aug 9 00:13:17 MST 2005


On Mon, Aug 08, 2005 at 05:25:38PM +1000, Mathew McKernan wrote:
> Hi Jon,
> 
> Most likely your current card will work in Australia, but you need to
> patch the Asterisk Source to support the Australian Caller ID standard.
> 
> You need to modify the file in the source tree of Asterisk.
> 
> Its located in /usr/src/asterisk/channels/chan_zap.c (obviously replace
> the /usr/src to wherever your source tree is)
> 
> Modify the line:
> 
> #define DEFAULT_CIDRINGS 1
> 
> To
> 
> #define DEFAULT_CIDRINGS 2
> 
> Then recompile asterisk and install it.

Any reason not to be able to set this in zapata.conf? Where
(geographically?) should the value of 'sendcalleridafter=2' be saner
than 1?

And here's a small task for this bored someone with extra time and
unlimited testing equipment: a small program (maybe like some of those
in the zaptel directory) to detect caller-id settings. It should be
given a zaptel channel number, and it should wait for a call (or maybe
even have a loop mode). And then should "speculate" on what should the
preffered zapata.conf settings for the channl should be.

Shouldn't help all of you gurus with 10 years of Asterisk experince, but
may help some Asterisk begginers (typo intended).

-- 
Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend



More information about the asterisk-users mailing list