[Asterisk-Dev] Problem with ZT_LOADZONE in zaptel

Dinesh Nair dinesh at alphaque.com
Mon Dec 27 06:23:19 MST 2004


On 27/12/2004 20:21 Waldemar Ogonowski said the following:
> I have changed definition of tone for Poland in zondedat.c like in 
> indications.conf and now when I have run ztcfg -vv display channels 
> without errors:

the change you made did not fix your earlier problem, though it did have 
that same side effect.

zonedata.c is compiled into libtonezone.a which is then linked in when 
ztcfg is compiled. the first time you compiled it, prior to installation, 
ztcfg was being linked against your /existing/ libtonezone.a. when you, and 
thus did not have the zone for 'pl' in it. at the same time, you then 
installed the new libtonezone.a in /usr/lib, and when you compiled it the 
second time, ztcfg picked up the new tone definitions and thus worked.

-- 
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                                                              |
+=========================================================================+



More information about the asterisk-dev mailing list