NADI In Prefix
The NADI In Prefix feature allows and therefore requires the dialplan to set and get the Nature of Address for calling and called numbers dynamically per call. This is important for international gateway call switching. If this option is turned on, the dialplan must insert and remove the 3 decimal prefix digits on all callinga nd called numbers in and out of chan_woomera. For example, if a number is 33444555666 and it is an international number, then the NADI value of 004 is prepended and becomes 00433444555666.
A three-digit prefix allows all values in the range 0..255 to be used. This is necessary so that certain nationally defined NADI values can be used. The feature is enabled in ss7boost.conf the TRUNK_GROUP section. The control is 'y' or 'n' for each trunk group. Here is one way to remove prefix digits from inbound called numbers from trunk group 1 in the dialplan: [tg1-inb] include => d10-analog-lines exten => _919333X.,1,noop exten => _919333X.,n,Playback(demo-congrats) ;exten => _919333X.,n,Goto(1) exten => _919333X.,n,Hangup exten => _919444X.,1,noop exten => _919444X.,n,Playback(tt-weasels) ;exten => _919444X.,n,Goto(1) exten => _919444X.,n,Hangup [sangoma1] exten => _X.,1,Goto(tg1-inb,${EXTEN:3},1) Some AGI scripts are needed to insert and remove digits from the calling numbers. More on this to follow. Created by: mike last modification: Friday 13 of April, 2007 [17:59:07 UTC] by mike |
Login |