PRI channels

tseymour
Posts: 109
Member Since:
2006-11-18

I have 2 T-1's (Bonded) Flex product from XO. It is a 16 channel PRI option.
The 122P E1T1 card shoes 1-23 channels but in the Panel it shows ZAP Trunks in this order:
21
22
23
4
5
6
7
etc and stops at 19
What happened to 1, 2, 3, and 20?
We have a total of 100 DID's
When I set an inbound route for one of the DID's it rings the 1st available trunk (21) and continues to the normal ring group and will NOT go to the ext assigned that DID number.
I checked with XO, they pass the last 4 digits. Do they need to pass all 10? Is it possible this 122P card doesn't like a Flex PRI? Does it need a true PRI trunk?
Please advise
Thanks!
Tom



mudslide
Posts: 48
Member Since:
2006-08-24
most US telcos pass 4 digits

most US telcos pass 4 digits and it is up to your inbound route to use that to direct the call accordingly. in simple terms, if you want DID 1234 to go to ext 1234, make your unbound route say exactly that... it does not just do that automatically.

I can't say I understand why you have 16 channel PRI that shows 19 voice channels. You might post your zaptel.conf and zapata.conf files to give us a clue.



tseymour
Posts: 109
Member Since:
2006-11-18
DID's

I have tried both the full DID number routed to the ext. as well as just the last 4 numbers. Doesn't work. It goes to the 1st open line and rings the ring group.

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=900
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-auto.conf

group=1

;Include AMP configs
#include zapata_additional.conf
***************
Zaptel.conf:
# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order

# Span 1: WCT1/0 "Wildcard TE12xP Card 0"
span=1,1,0,esf,b8zs
# termtype: te
bchan=1-23
dchan=24

# Global data

loadzone = us
defaultzone = us



skurylo
Posts: 43
Member Since:
2007-10-11
Quote: Trunks in this
Quote:
Trunks in this order:
21
22
23
4
5
6
7

What happens is the panel runs out of positions and then wraps around. So channel one is hiding under channel 21. I posted a patch to freepbx to fix this a few days ago.

Quote:
# Span 1: WCT1/0 "Wildcard TE12xP Card 0"
span=1,1,0,esf,b8zs
# termtype: te
bchan=1-23
dchan=24

I don't quite understand what kind of PRI you have, but if it only has 16 channels your bchan should be 1-16 as you're not using the rest.

Quote:
I have tried both the full DID number routed to the ext. as well as just the last 4 numbers. Doesn't work.

You need to turn on pri debugging to see what they're passing to you.
When I turn it on this is what I see:
Called Number (len=10) [ Ext: 1 TON: Subscriber Number (4) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) 'XXXXXXX' ]

The telco sends me 7 digits.



tseymour
Posts: 109
Member Since:
2006-11-18
the panel patch

Excellent! Where do I find the patch?
I will launch the PRI debug and see what I get.

This whole ordeal has been quite the task! I found poor wiring, the D-mark wasn't extended properly, analog lines were not set, etc...
It was a port from traditional POTS to an integrated Flex Option from XO. Meaning, I have 2 data T-1s bonded in a router with integrated PRI channels (2 E1 ports) The Data lines will give bandwidth to voice as needed. What I have learned from some appliance based E1/T1 gateways is, they don't like such products. They need a true PRI circuit, not an integrated channel that can span on the fly. They need to "BE THERE" or not at all. It gets confused!
Thanks for your reply and help!
Tom



skurylo
Posts: 43
Member Since:
2007-10-11
http://freepbx.org/trac/ticke

http://freepbx.org/trac/ticket/2641

Its a pretty simple patch. When you run out of positions it will stop, instead of wrapping around. So in your case it will stop at 19, instead of wrapping around (which makes 20 go missing, and 21-23 cover 1-3).

On trixbox the file to be patched is /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl



tseymour
Posts: 109
Member Since:
2006-11-18
http://freepbx.org/trac/ticke

Thank you! Now, I must admit, this is my 1st patch. I have had great success with 9 other installs. I'm new to the linux side with CLI. I'm a Novell die hard! How do I push this patch?
And, I would like to have a link or docs that gives me a real good guide to upgrading previous versions of trixbox... such as 2.2.1
Thank you for your help!
Tom



tseymour
Posts: 109
Member Since:
2006-11-18
upgrade

On the upgrade- i was able to upgrade a different system but at the end the admin module has a broken module. The following modules are disabled because they are broken:
UpdateNeeded
You should go to the module admin page to fix these. I go there, but it will not update.

Please wait while module actions are performed
Error(s) installing UpdateNeeded:

* Cannot find module

Return

The system I upgraded came from TrixBox 1.2.3 Admin and Config interface. The Freepbx upgraded fine.
Any ideas?

Back to the the patch. How do I apply it? i'm sure it is simple, just never done so.
Thanks!
Tom



skurylo
Posts: 43
Member Since:
2007-10-11
Quote: Back to the the
Quote:
Back to the the patch. How do I apply it? i'm sure it is simple, just never done so.

$cd /var/lib/asterisk/bin
$cp retrieve_op_conf_from_mysql.pl retrieve_op_conf_from_mysql.pl.bk
$wget http://freepbx.org/trac/attachment/ticket/2641/retrieve_op_conf_f... -O retrieve_op_conf_from_mysql.pl.patch
$patch > retrieve_op_conf_from_mysql.pl.patch

Watch out for line breaks, there are four commands there.



skurylo
Posts: 43
Member Since:
2007-10-11
You should start another

You should start another thread about upgrade issues.



lost girl
Posts: 1
Member Since:
2009-01-25
Channelized Pri

Can someone tell my why a channelized Pri is important and explain how it works... Thanks



jfinstrom
Posts: 2013
Member Since:
2007-03-07
lost girl , there is no such

lost girl ,

there is no such thing as a channelized pri. A T1 PRI has up to 23 B channels used for voice and 1 D used for everything else. You can also have a channelized T1 which uses robbed bit signaling. In this type of T1 all the signaling data happens in it's respective channel using what is called robbed bit signaling. A pri is the recommended route but if you must use a channelized T1 then you should get loop signaling for best compatibility.

--



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.