Change the abbreviated TON from 'A' to 'V', since 'A' is a legitimate DTMF

character.  Also, fix the documentation to match the code.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Tilghman Lesher 18 years ago
parent ba57c36bbb
commit 27f8b5bc2d

@ -2562,7 +2562,7 @@ static int zt_call(struct ast_channel *ast, char *rdest, int timeout)
case 'S': case 'S':
pridialplan = (PRI_TON_SUBSCRIBER << 4) | (pridialplan & 0xf); pridialplan = (PRI_TON_SUBSCRIBER << 4) | (pridialplan & 0xf);
break; break;
case 'A': case 'V':
pridialplan = (PRI_TON_ABBREVIATED << 4) | (pridialplan & 0xf); pridialplan = (PRI_TON_ABBREVIATED << 4) | (pridialplan & 0xf);
break; break;
case 'R': case 'R':
@ -2632,7 +2632,7 @@ static int zt_call(struct ast_channel *ast, char *rdest, int timeout)
case 'S': case 'S':
prilocaldialplan = (PRI_TON_SUBSCRIBER << 4) | (prilocaldialplan & 0xf); prilocaldialplan = (PRI_TON_SUBSCRIBER << 4) | (prilocaldialplan & 0xf);
break; break;
case 'A': case 'V':
prilocaldialplan = (PRI_TON_ABBREVIATED << 4) | (prilocaldialplan & 0xf); prilocaldialplan = (PRI_TON_ABBREVIATED << 4) | (prilocaldialplan & 0xf);
break; break;
case 'R': case 'R':

@ -99,22 +99,22 @@
; pridialplan may be also set at dialtime, by prefixing the dialled number with ; pridialplan may be also set at dialtime, by prefixing the dialled number with
; one of the following letters: ; one of the following letters:
; U - Unknown ; U - Unknown
; P - Private
; L - Local
; N - National
; I - International ; I - International
; D - Dynamic ; N - National
; R - Redundant ; L - Local (Net Specific)
; S - Subscriber
; V - Abbreviated
; R - Reserved (should probably never be used but is included for completeness)
; ;
; Additionally, you may also set the following NPI bits (also by prefixing the ; Additionally, you may also set the following NPI bits (also by prefixing the
; dialled string with one of the following letters): ; dialled string with one of the following letters):
; u - Unknown ; u - Unknown
; e - E.163/E.164 ; e - E.163/E.164 (ISDN/telephony)
; x - X.121 ; x - X.121 (Data)
; f - F.69 ; f - F.69 (Telex)
; n - National ; n - National
; p - Private ; p - Private
; r - Reserved ; r - Reserved (should probably never be used but is included for completeness)
; ;
; You may also set the prilocaldialplan in the same way, but by prefixing the ; 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 ; Caller*ID Number, rather than the dialled number. Please note that telcos

Loading…
Cancel
Save