[Asterisk-Users] FXO setup

Lex Lethol lethol at gmail.com
Wed Nov 17 01:13:47 MST 2004


So, if zaptel will not read codes from my indications conf file, what
would be a suitable solution to feed it my country tones?

Is there a list of loadzone/defaultzone country codes included in
zonedata.c? Can this list be updated to include my country? (I have
the tones)

Thanks for the help

Lethol


On Wed, 17 Nov 2004 10:37:26 +0800, Dinesh Nair <dinesh at alphaque.com> wrote:
> On 17/11/2004 04:33 Matt Riddell said the following:
> > Dinesh Nair wrote:
> >> doesn't it pull it from the structures hardcoded into zonedata.c ?
> >> iianm, indications.conf is only used for PlayTones().
> >>
> > Don't know, but I have non-standard tones defined which I analysed in
> > Wavelab, and then added to indications.conf under my own entry.
> >
> > Before doing this, my line would never detect hangup.  After I did it,
> > there was no problem.
> 
> i just checked the zaptel code, ztcfg.c specifically loads the
> loadzone/defaultzone tones from zonedata.c, it doesn't read
> indications.conf at all. i doubt the tonezones referred to in zaptel.conf
> are tied to the indications.conf definitions.
> 
> 
> 
> --
> Regards,                           /\_/\   "All dogs go to heaven."
> dinesh at alphaque.com                (0 0)    http://www.alphaque.com/
> +==========================----oOO--(_)--OOo----==========================+
> | for a in past present future; do                                        |
> |   for b in clients employers associates relatives neighbours pets; do   |
> |   echo "The opinions here in no way reflect the opinions of my $a $b."  |
> | done; done                                                              |
> +=========================================================================+
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list