diff options
author | Richard Mudgett <rmudgett@digium.com> | 2009-07-18 04:17:01 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2009-07-18 04:17:01 +0000 |
commit | bcff5928395d3dea747fcef368362bae77fdc895 (patch) | |
tree | 732d2ff01c84382674295dba6fba7b95ecee92d7 /CHANGES | |
parent | 98e4ab57166a8d5107b34f6d150c81888b3a6231 (diff) |
Merged 207316 from
https://origsvn.digium.com/svn/asterisk/be/branches/C.2-...
..........
r207316 | rmudgett | 2009-07-17 23:05:05 -0500 (Fri, 17 Jul 2009) | 20 lines
Fixed incoming calls being matched to MSNs without type-of-number prefix added.
For an incoming ISDN call the dialed.number is incorrectly matched against
the configured MSNs in misdn.conf. The numbers passed to the dialplan
include the configured prefix for the dialed.number_type, whereas the
check against the configured MSNs (to decide if the call is accepted at
all), is executed without the configured prefix.
e.g., dialed.number = 241168020, TON = national, configured national
prefix is "0". (This is the TON which is used by ISDN providers in the
Netherlands.)
In chan_misdn.c:cb_events() in case EVENT_SETUP the call to
misdn_cfg_is_msn_valid() uses the unnormalized number 241168020, but 57
lines later the call to read_config() adds the prefix, and the
dialed.number is now 0241168020, which is then used in the dialplan.
misdn_cfg_is_msn_valid() must use the normalized number, too.
JIRA ABE-1912
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@207318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -120,7 +120,8 @@ mISDN channel driver (chan_misdn) changes used by the rest of the system. * Made use the nationalprefix and internationalprefix misdn.conf parameters to prefix any received number from the ISDN link if that - number has the corresponding Type-Of-Number. + number has the corresponding Type-Of-Number. NOTE: This includes + comparing the incoming call's dialed number against the MSN list. * Added the following new parameters: unknownprefix, netspecificprefix, subscriberprefix, and abbreviatedprefix in misdn.conf to prefix any received number from the ISDN link if that number has the corresponding |