PRI - Incoming Call Issues

xtec

New Member
Joined
Feb 17, 2008
Messages
1
Reaction score
0
PRI - works great for outgoing calls.

(3 yrs of experience and 5 PRI boxes later - I'm stumped)


On incoming calls Asterisk answers and plays the message that my call cannot be completed as dialed.

The CallerID and the DID are correct (# of digits right)

Accepting call from 'xxxxxxxxxx' to 'xxxxxxxxxx' on channel 0/2, span 1


My DID routing appears correct. Have several numbers.


zapata.conf --------------------------------------

;
; Zapata telephony interface
;
; Configuration file
[trunkgroups]
[channels]
language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=400
rxgain=0.0
txgain=0.0
group=0
channel=>25-27
callgroup=1
pickupgroup=1
immediate=no
callwaiting=no
usecallingpres=no
callwaitingcallerid=no
cancallforward=no
callreturn=no
transfer=no
threewaycalling=no
switchtype=>national
signalling=pri_cpe
pridialplan=unknown
callerid=>asreceived
context=from-internal
group=1
channel=> 1-23
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;Include genzaptelconf configs
#include zapata-auto.conf
;Include AMP configs
#include zapata_additional.conf

Thanks in advance.
 
:wink5: man, your box must be broken bad - you didn't include any logs or verboses, I guess there was none to provide :wink5:

Bart
 
At the top of your configuration, you have :-
Code:
context=from-zaptel
Further down, you have: -

Code:
context=from-internal
I think you should remove context=from-zaptel as you would only ever use this context name with analogue lines, and in any case, it's doing nothing as it is overwritten by the later from-internal context.

And you should change context=from-internal to context=from-pstn, because that's where incoming calls must come into, not into the from-internal context.

Change these and restart asterisk, and make sure you have inbound routes properly configured with the appropriate DID.

Joe

Later edit

Looking in a bit more detail, you have two sets of channels configured, and two groups, the first set of channels is coming into the from-zaptel context, and the second set into from-internal. Does this mean you have got some Analogue lines configured as well, in which case the first part is probably correct.

You are also #including zapata-auto.conf -what's in there - whatever it is, it is probably superfluous, as you have already set up your channels.

So on reflection, change context=from-internal to context=from-pstn, and comment out the #include zapata-auto.conf and restart asterisk and see where that gets you.
 

Members online

Forum statistics

Threads
26,686
Messages
174,406
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top