[Asterisk-Dev] Problem with ZT_LOADZONE in zaptel
Waldemar Ogonowski
Waldemar.Ogonowski at geofizyka.pl
Mon Dec 27 05:21:32 MST 2004
Hi,
I have found solution of this problem. For Poland tone zone
in zonedata.c is different than definition of tone in sample
of indiactions.conf on voip-info:
http://www.voip-info.org/tiki-index.php?page=Asterisk%20indications%20Poland
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:
Zaptel Configuration
======================
Channel map:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
3 channels configured.
Below diff between zonedata.c old and my:
*** zonedata.c 2004-12-27 12:58:36.000000000 +0100
--- zonedata.c.old 2004-12-27 13:09:04.000000000 +0100
***************
*** 340,349 ****
{ ZT_TONE_CONGESTION, "425/500,0/500" },
{ ZT_TONE_CALLWAIT,
"425/150,0/150,425/150,0/4000" },
/* DIALRECALL - not specified */
! { ZT_TONE_DIALRECALL, "425/500,0/50" },
/* RECORDTONE - not specified */
{ ZT_TONE_RECORDTONE, "1400/500,0/15000" },
! { ZT_TONE_INFO,
"950/330,1400/330,1800/330,0/1000" },
/* STUTTER not specified */
{ ZT_TONE_STUTTER,
"!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425"
} },
},
--- 340,349 ----
{ ZT_TONE_CONGESTION, "425/500,0/500" },
{ ZT_TONE_CALLWAIT,
"425/150,0/150,425/150,0/4000" },
/* DIALRECALL - not specified */
! { ZT_TONE_DIALRECALL,
"!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440"
},
/* RECORDTONE - not specified */
{ ZT_TONE_RECORDTONE, "1400/500,0/15000" },
! { ZT_TONE_INFO,
"!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000,!950/330,!1400/330,!1800/330,!0/1000"
},
/* STUTTER not specified */
{ ZT_TONE_STUTTER,
"!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425"
} },
},
More information about the asterisk-dev
mailing list