diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-05-03 19:19:06 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-05-03 19:19:06 +0000 |
commit | 87a8b2b6d3c55976185b342770006596703bdfd9 (patch) | |
tree | 4250eac33fd3502fbfa2045b5c3f46c7db4d0f2c | |
parent | 16de34fdb971405900757e4b8fa8a29423b1ec1d (diff) |
Docuemnt the tonezones we currently have.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4232 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | README | 7 |
2 files changed, 14 insertions, 1 deletions
@@ -373,12 +373,18 @@ fxsdump: LDLIBS+=-lm stackcheck: checkstack modules ./checkstack kernel/*.ko kernel/*/*.ko + +tonezones.txt: zonedata.c + perl -ne 'next unless (/\.(country|description) = *"([^"]*)/); \ + print (($$1 eq "country")? "* $$2\t":"$$2\n");' $< \ + >$@ + zaptel.conf.asciidoc: zaptel.conf.sample perl -n -e \ 'if (/^#($$|\s)(.*)/){ if (!$$in_doc){print "\n"}; $$in_doc=1; print "$$2\n" } else { if ($$in_doc){print "\n"}; $$in_doc=0; print " $$_" }' \ $< >$@ -README.html: README zaptel.conf.asciidoc +README.html: README zaptel.conf.asciidoc tonezones.txt $(ASCIIDOC) -n -a toc -a toclevels=3 $< kernel/xpp/README.Astribank.html: kernel/xpp/README.Astribank @@ -413,6 +413,13 @@ Reference Configuration ----------------------- include::zaptel.conf.asciidoc[] +Tonezones +~~~~~~~~~ +The file zonedata.c contains the information about the tone zones used +in libtonezone (and hence also in ztcfg). Here is a list of those zones: + +include::tonezones.txt[] + Zaptel PERL modules ------------------- |