From 44d62ad36063db240029066f320d39323a6e5b21 Mon Sep 17 00:00:00 2001 From: tilghman Date: Wed, 7 Nov 2007 02:14:40 +0000 Subject: Provide the ability to directly manipulate the TON/NPI bits in the dialstring. Reported by: thetatag Patch by: thetatag/stevens/tilghman Closes issue #5331 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89078 f38db490-d61c-443f-a65b-d21fe96a405b --- configs/zapata.conf.sample | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) (limited to 'configs') diff --git a/configs/zapata.conf.sample b/configs/zapata.conf.sample index 13cfe3ee8..c2ee8e454 100644 --- a/configs/zapata.conf.sample +++ b/configs/zapata.conf.sample @@ -87,14 +87,41 @@ ; unknown: Unknown ; private: Private ISDN ; local: Local ISDN -; national: National ISDN +; national: National ISDN ; international: International ISDN -; dynamic: Dynamically selects the appropriate dialplan +; dynamic: Dynamically selects the appropriate dialplan ; redundant: Same as dynamic, except that the underlying number is not ; changed (not common) ; ;pridialplan=national ;prilocaldialplan=national +; +; pridialplan may be also set at dialtime, by prefixing the dialled number with +; one of the following letters: +; U - Unknown +; P - Private +; L - Local +; N - National +; I - International +; D - Dynamic +; R - Redundant +; +; Additionally, you may also set the following NPI bits (also by prefixing the +; dialled string with one of the following letters): +; u - Unknown +; e - E.163/E.164 +; x - X.121 +; f - F.69 +; n - National +; p - Private +; r - Reserved +; +; You may also set the prilocaldialplan in the same way, but by prefixing the +; Caller*ID Number, rather than the dialled number. Please note that telcos +; which require this kind of additional manipulation of the TON/NPI are *rare*. +; Most telco PRIs will work fine simply by setting pridialplan to unknown or +; dynamic. +; ; ; PRI caller ID prefixes based on the given TON/NPI (dialplan) ; This is especially needed for EuroISDN E1-PRIs -- cgit v1.2.3