NO incoming call from Isdn Junghanns QuaiBRI


#1

Hi i have installed a ISDN QuarBri from Junghanns on my asterisk server.

I cannot able to recive the incoming call, meanwhile i able to call outside without problem.
My scenario is
1 Grandstream BudgeTone 100
1 ATA Grandstream HAndy (connected with one Siemens cordless)
1 ATA Grandstream HAndy…386(connected with two Siemens cordless)

Right now i set to use only two channels in TE mode (S/T=1)

In zaptel.conf:

loadzone=it
defaultzone=it
span=1,3,3,ccs,ami
bchan=1-2:
dchan=3

In zapata.conf:

[channels]
switchtype = national
; p2mp TE mode (for connecting ISDN lines in
; point-to-multipoint mode)
signalling = bri_cpe
pridialplan = unknow
;prilocaldialplan = local
nationalprefix = 0
internationalprefix = 00
usecallingpres=yes
echocancel = yes
echocancelwhenbridged = yes
echotraining = 100
context=isdn-incoming
group = 1
; S/T port 1-4
channel => 1-2

etc/asterisk/extensions.conf:

[internal]

in this context i plan all my internal number and it works perfecly

include =>sip-phones

; incoming ISDN BRI calls arrive in this
context
; we need an extension for every DID/MSN or a
; pattern that will match all

[isdn-incoming]
exten => _X.,1,Dial(SIP/phone${EXTEN},60)
exten => _X.,2,Hangup
; in sip.conf you put context=sip-phones so
the
; phones can dial out
; using zaptel group 1 (which includes all BRI
; ports, see zapata.conf)

[sip-phones]
exten => _X.,1,Dial(ZAP/g1/${EXTEN},60)
exten => _X.,2,Hangup
; if the called party is busy
exten => _X.,102,Playtones(busy)
exten => _X.,103,Wait(10)
exten => _X.,104,Hangup
; if all zaptel channels in that group are in
; use or the D channels are down
exten => _X.,202,Playtones(congestion)
exten => _X.,203,Wait(10)
exten => _X.,204,Hangup

in sip.conf

I put the context=internal (at all my sip phones)

I cannot solve the problem

Thank for your answers.


#2

I have had the same problem with Asterisk and Incoming Calls in Austria. The server didn’t connect to the configured phones because in Austria no MSNs are sent from Telekom Austria.

The pattern matching in extensions.conf for triggering to an empty MSN therefore must look like

exten => _!,1,Dial(SIP/200,10,Ttr) exten => _!,2,Hangup

The X in your configuration must be replaced with a !, which means “match of zero or more characters immediately” (see http://www.voip-info.org/wiki/index.php?page=Asterisk+Dialplan+Patterns)
This works only on Asterisk 1.2 and later.