[asterisk-users] Does Asterisk support DNIS?

Eric "ManxPower" Wieling eric at fnords.org
Mon Feb 19 06:23:21 MST 2007


Yes, it is complicated.  We moved all the telco trunks to PRI last week 
monday, but the configs for the old settings are still there.  We will 
be moving all the channels going into the Nortel onto a Nortel T-1 card 
(nor PRI, PRI for Nortel requires a costly feature activation code) soon.

/etc/zaptel.conf:

loadzone = us
defaultzone=us

span=1,1,0,esf,b8zs
span=2,2,0,esf,b8zs
span=3,0,0,esf,b8zs
span=4,0,0,esf,b8zs

fxsks=1-8
e&m=9-12
fxsks=13-20

bchan=25-47
dchan=48

fxoks=49-56
e&m=57-60
fxoks=61-68

/etc/asterisk/zapata.conf:

[channels]
wink=270
rxwink=270
usecallerid=no
echocancel=256
echotraining=900
musiconhold=default
toneduration=300

; Incoming from Telco
context=incoming
group=1
signalling=fxs_ks
channel => 1-8,15-17

; Incoming from Telco (Property Services)
context=temp-propserv-incoming
group=0
signalling=fxs_ks
channel => 13-14,18-20

; DID channels from Telco
context=incoming
group=0
signalling=em_w
channel => 9-12

; Incoming from Channel Bank Corporate
callerid=Northpark, Corporate <5558982022>
context=toll-access
group=2
transfer=yes
threewaycalling=yes
signalling=fxo_ks
channel => 49-56,63-65

; Incoming from Channel Bank Property Services
callerid=Northpark, PropServ <5558980260>
context=toll-access
group=5
transfer=yes
threewaycalling=yes
cancallforward=yes
signalling=fxo_ks
channel => 61-62,66-68

; DID E&M Wink channels to Channel Bank
context=INVALID
group=3
transfer=no
threewaycalling=no
cancallforward=no
signalling=em_w
; 57 is bad on the nortel
channel => 58-60

; VIVA LE PRI!
usecallerid=yes
echocancel=no
group=4
switchtype=national
signalling=pri_cpe
context=incoming
channel => 25-47


Jason Kim wrote:
> Would you attach your whole zaptel.conf and
> zapata.conf?
> 
> --- C F <shmaltz at gmail.com> wrote:
> 
>> Also check out immediate=no
>>
>> On 2/18/07, Eric ManxPower Wieling <eric at fnords.org>
>> wrote:
>>> Eric "ManxPower" Wieling wrote:
>>>> David Ruggles wrote:
>>>>> I'm sending 12345 as DNIS on a Wink Start T1.
>> In case it makes a
>>>>> difference,
>>>>> I'm using a Sangoma A101 card. Asterisk sees
>> each digit as a separate
>>>>> extension number so most of the dialplain
>> suggestions offered so far
>>>>> won't
>>>>> work. I did try the Wait() function as was
>> suggested. I tried it first
>>>>> in an
>>>>> "s" extension but this didn't work, it still
>> gave the error: "Unknown
>>>>> extension '1' in context '1st-T1' requested" I
>> then changed it to
>>>>> extension
>>>>> 1 and while it does seem to work (it doesn't
>> try the other extensions) it
>>>>> seems like the DNIS is completely lost.
>>>>>
>>>>> As I said in my first post (although it may
>> have been a little too
>>>>> abrasive)
>>>>> this configuration is very standard and so I
>> find it hard to believe that
>>>>> Asterisk can't handle it.
>>>> We had to add this to the
>> /etc/asterisk/zapata.conf to make Asterisk
>>>> work with the E&M Wink start T-1 from our telco.
>>> I guess I could paste the settings this time.
>>>
>>> wink=270
>>> rxwink=270
>>>
>>>
>>> You might want to play with those settings.


More information about the asterisk-users mailing list