Hi, We have just upgraded from a Sdx Index V200 PBX to Asterisk and are having a few problems. We have 1 ISDN PRI (E1) provided by BT (UK) for incoming and outgoing calls. Incoming calls work fine and the are no alarms on back of card or in /proc/zaptel/1, but with outgoing calls, all numbers are rejected with the BT error "The number you have dialed has not been recognized, please check and try again" Outgoing calls work fine though the SDX when the PRI is unplugged from the asterisk server and plugged back into the SDX, so it rules out a problem with the PRI. I think I have misconfigured somthing somewhere, anyone got any ideas ? Below are the zapata/zaptel configs we are using zaptel.conf span=1-8,1,0,ccs,hdb3,crc4 indclear=1-15 dchan=16 indclear=17-31 defaultzone=uk zapata.conf [channels] callwaiting=no threewaycalling=no transfer=yes cancallforward=yes echocancel=yes echocancelwhenbridged=yes echotraining=yes rxgain=0.0 txgain=0.0 switchtype=euroisdn callerid = asreceived group=1 context=default signalling=pri_cpe channel = 1-8 Regards, Michael East
check with bt what kind of dialplan they use and set it with pridialplan= in zapata.conf On Wednesday 03 of March 2004 22:08, Michael East wrote:> fine and the are no alarms on back of card or in > /proc/zaptel/1, but with outgoing calls, > all numbers are rejected with the BT error "The number you have dialed has > not been recognized, please check and try again" > > Outgoing calls work fine though the SDX when the PRI is unplugged from the > asterisk server and plugged back into the SDX, so it rules out a problem > with the PRI. > > I think I have misconfigured somthing somewhere, anyone got any ideas ? > > Below are the zapata/zaptel configs we are using > > zaptel.conf > span=1-8,1,0,ccs,hdb3,crc4 > indclear=1-15 > dchan=16 > indclear=17-31 > defaultzone=uk > > zapata.conf > [channels] > callwaiting=no > threewaycalling=no > transfer=yes > cancallforward=yes > echocancel=yes > echocancelwhenbridged=yes > echotraining=yes > rxgain=0.0 > txgain=0.0 > switchtype=euroisdn > callerid = asreceived > group=1 > context=default > signalling=pri_cpe > channel = 1-8 > > Regards,
> We have 1 ISDN PRI (E1) provided by BT (UK) for incoming and outgoingcalls.> > Incoming calls work fine and the are no alarms on back of card or in > /proc/zaptel/1, but with outgoing calls, > all numbers are rejected with the BT error "The number you have dialed has > not been recognized, please check and try again"Assuming that you are actually dialling the numbers correctly with your extensions.conf / Dial commands, then you might need to experiment with: ; PRI Dialplan: Only RARELY used for PRI. ; ; unknown: Unknown ; private: Private ISDN ; local: Local ISDN ; national: National ISDN ; international: International ISDN pridialplan=national in /etc/asterisk/zapata.conf - this is most likely what is going wrong. Linus
Michael - Here are out configs for our BT PRI which works: I suspect it is the pridialplan entry which is missing. Also, you need to have overlap sending enabled if you have overlap sending enabled on your phones. Another thing to look at is the actual digits being sent to line. in your dial string you need to make sure you strip off the leading access digit (which for us in the UK is conventionally a 9) example: exten => _9.,1,Dial(Zap/g1/${EXTEN:1}) exten => _9.,2,Congestion where the :1 strips the first leading 9 before sending to BT. I suspect this might be the problem. Good luck... # Config for a UK Euro-ISDN line span=1,1,0,ccs,hdb3,crc4 bchan=1-15 dchan=16 bchan=17-31 loadzone=uk defaultzone=uk ; Zapata telephony interface ; ; Configuration file [channels] usecallerid=yes language=en echocancel=yes echocancelwhenbridged=yes rxgain=-5% txgain=+5% immediate=no pridialplan=unknown overlapdial=yes signalling=pri_cpe switchtype=euroisdn group=1 context=inboundpstn channel => 1-15 channel => 17-31 Michael East wrote:> Hi, > > We have just upgraded from a Sdx Index V200 PBX to Asterisk and are having a > few problems. > > We have 1 ISDN PRI (E1) provided by BT (UK) for incoming and outgoing calls. > > Incoming calls work fine and the are no alarms on back of card or in > /proc/zaptel/1, but with outgoing calls, > all numbers are rejected with the BT error "The number you have dialed has > not been recognized, please check and try again" > > Outgoing calls work fine though the SDX when the PRI is unplugged from the > asterisk server and plugged back into the SDX, so it rules out a problem > with the PRI. > > I think I have misconfigured somthing somewhere, anyone got any ideas ? > > Below are the zapata/zaptel configs we are using > > zaptel.conf > span=1-8,1,0,ccs,hdb3,crc4 > indclear=1-15 > dchan=16 > indclear=17-31 > defaultzone=uk > > zapata.conf > [channels] > callwaiting=no > threewaycalling=no > transfer=yes > cancallforward=yes > echocancel=yes > echocancelwhenbridged=yes > echotraining=yes > rxgain=0.0 > txgain=0.0 > switchtype=euroisdn > callerid = asreceived > group=1 > context=default > signalling=pri_cpe > channel = 1-8 > > Regards, > Michael East > >