keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about D110/210/410 T1/E1/J1 PRI Cards

HDLC Routing Problem with DE210P Card

15 years 3 months ago #2567 by pemer
my hardware combination see you here:

Provider <- S2M/E1 -> Asterisk <- S2M/E1 -> Alcatel <- S0/B1 -> Linux HDLC Router

Hi,

my problem is that the Linux HDLC Router couldn't connect to any other HDLC Router in the ISDN Network.
The constellation Linux Router and the Alcatel PBX is tested and working without any trouble. The test with the Alcatel PBX and the Linux HDLC Router was to put the devices on the provider an dial in with hdlc in an other Linux Router Device in the ISDN Network. Only the tests with the asterisk PBX didn't work.
We had tested this connection with differend devices in the ISDN provider network. Some isdn HDLC enddevices we could connect and established an connection, but we couldn't transport any kind of data. But some connections we couldn't established any connection, but we could dial in.
If we start a Dial with the HDLC Linux Router the verbose message in Asterisk look like this:

-- Executing [XXXXXXXXXX@extern] Set("DAHDI/50-1", "CALLERID(num)=XXXX") in new stack
-- Executing [XXXXXXXXXX@extern] Dial("DAHDI/50-1", "Dahdi/g2/XXXX") in new stack
-- Requested transfer capability: 0x08 - DIGITAL
-- Called g2/XXXXX
-- Channel 0/1, span 1 got hangup, cause 100
-- Hungup 'DAHDI/1-1'

I am know that the cause 100 stands for "Invalid Information Element Contents", that the softswitch didn't understand the digital data transport over S2M/ISDN. But he know he must that transfer to the other S2M Port.

The main question is: how does it work with HDLC over the OpenVox DE210P card with Asterisk and Dahdi?
And how does the configuration look like for /etc/dahdi/system.conf and /etc/asterisk/chan_dahdi.conf for passing through the connection ?

My Versions:
Asterisk 1.6.0.3
dahdi-linux 2.1.0.3
dahdi-tools 2.1.0.2
libpri 1.4.7


regards Patrick

thanks in advance for an answer.
15 years 3 months ago #2570 by james.zhu
hello,
you have to set nethdlc in system.conf and set hslc in your system. you can refer this link:
www.pbx.in/voip-info/wiki/view/Asterisk+Data+Configuration.html
it gives you more details.
regards!
James.zhu

15 years 3 months ago #2571 by miaolin
Asterisk can use software hdlc or hardware hdlc, depends on the param in dahdi.conf( i.e zaptel.conf in zaptel). if you set dchan=xx in dahdi.conf, it is software hdlc.

software hdlc is a dandi function, and asterisk use libpri to handle ISDN protocol.

In your case, since you get cause, the isdn/pri should be working, the only issue must be imcompatible between different implementation of PRI protocols.

you can check chan_dahdi.c and libpri source code to see how they handle the cause 100 and why they generate cause 100.
15 years 3 months ago #2574 by pemer
hi,

thanks for all, that posting an answer.

For james.zhu:
I know this page and documentation, but it is not a really choice for me. Because the requirement is to route over ISDN B1 and PRI an ISDN-HDLC package.
From the 1st to the 2nd layer is a isdn frame and the 3th up to 7th is IP....

please visit the projekt page isdn4linux.
www.isdn4linux.org

this software is on the linux HDLC router.

thte config on the linux hdlc router.

| Current setup of interface 'isdn1':
|
| EAZ/MSN: 289
| Phone number(s):
| Outgoing: 020XXXXXX
| Incoming: 020XXXXXX
| Dial mode: auto
| Secure: on
| Callback: in
| Reject before Callback: on
| Callback-delay: 1
| Dialmax: 5
| Hangup-Timeout: 120
| Incoming-Hangup: on
| ChargeHangup: off
| Charge-Units: 0
| Charge-Interval: 0
| Layer-2-Protocol: hdlc
| Layer-3-Protocol: trans
| Encapsulation: rawip
| Slave Interface: None
| Slave delay: 10
| Master Interface: None
| Pre-Bound to: Nothing
| PPP-Bound to: Nothing
`

to miaolin:

the channels/chan_dahdi.c data file has 14697 lines. For me is it very difficult to handle and to search the cause 100 and in the end to implement a solution of the problem.
My currently configuration setup is with hardhdlc, because with hardhdlc we got not so much paket lost as dchan (software hdlc). And its working faster (creation/initialisation of ISDN/PRI speak channels).


I give you an example: please search in the internet with the keyword "dahdi + rawhdlc".
the true is you find max 3 pages where is a "documentation". But any documatation that you find is detailed enough.


So did anyone know how can i configure the asterisk pbx to pass through a digital connection, without handeling the 3th Layer of an ISDN package?

thanks in advance for any answer.


best regards


Patrick
15 years 3 months ago #2575 by james.zhu
hello,
the LCR works with mISDN:
www.linux-call-router.de/l
mISDN supports our BRI cards. it is true that you can not get much information about dahdi+rawdhlc, dahdi is so new, only few people are testing that. it you try zaptel+rawhdlc, i believe that you will get much information.
regards!
James.zhu

15 years 3 months ago #2576 by pemer
hi,

a goog side for HDLC is:

www.interfacebus.com/Design_HDLC.html

a good side for ISDN is:

alumnus.caltech.edu/~dank/isdn/isdn_ai.html

but, i think, in the internet you can't find a good dokumentation of zaptel/dahdi configuration. A ducumentation of an detailed technical implementation of zaptel/dahdi configuration.

Like:
if you change the dchan=17 to hardhdlc=17, in the isdn frame change the following bits.....

if somebody know a page like this, please let me know this.

thanks for any reply or an answer of the question how i can configure a pass trough configuration of ISDN-HDLC data-package

best regards


Patrick
Time to create page: 0.036 seconds
Powered by Kunena Forum