Koozali.org: home of the SME Server

Selintra and others, Sail and R2

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Selintra and others, Sail and R2
« on: May 26, 2009, 02:29:15 AM »
Yeaiiieee, we finally ordered an E1 trunk. It'll be an R2 signaling (MFC R2).
I took a read at this url, and I have a feeling I won't be able to use SAIL in it's native way.
My card is an TE110P.
Does anyone have any experience with this hardware, this signaling protocol or anything related?
Thanks,


Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Selintra and others, Sail and R2
« Reply #1 on: May 26, 2009, 08:51:25 AM »
Shouldn't be a problem.  SAIL (2.1) will, by default, set the card up for E1 Qsig but you can override that in PCI cards panel to set it to whatever you want.  Set your card jumpers for E1 and you should be fine.

In 2.3.8(ish) you have even more freedom to change the generated hardware setup.  PCI cards panel is completely different in these releases so you may want to check it out.

Best

S


Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Selintra and others, Sail and R2
« Reply #2 on: May 26, 2009, 03:31:56 PM »
Thanks a lot Selintra,
In 2.3.8(ish) you have even more freedom to change the generated hardware setup.  PCI cards panel is completely different in these releases so you may want to check it out.
Is that something to come?
I'm running:
Code: [Select]
[root@servidor ~]# rpm -q sail
sail-2.3.1-4

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Selintra and others, Sail and R2
« Reply #3 on: May 26, 2009, 08:21:18 PM »
Yes - it's what we are using here on our own PBX at the moment.  It'll be a week or so in shakedown but it's definitely getting there.. (sorry - release is 2.3.1.8 )

:)


Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Selintra and others, Sail and R2
« Reply #4 on: June 09, 2009, 05:10:51 AM »
Hi Selintra,
I finally have tried to set up the card, without success at first :(

The system detects the card:
Code: [Select]
Current Contents of /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Mon Jun  8 23:56:07 2009 -- do not hand edit
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCT1/0 "Wildcard TE121 Card 0" (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31

# Global data

loadzone = uk
defaultzone = uk
Code: [Select]
Current Contents of /etc/asterisk/dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Mon Jun  8 23:56:07 2009 -- do not hand edit
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/asterisk/chan_dahdi.conf that will include the global settings
;

; Span 1: WCT1/0 "Wildcard TE121 Card 0" (MASTER)
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63

But as I read in this chapter, querying the channels returns nothing:
Code: [Select]
Asterisk 1.4.24.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.4.24.1 currently running on asterisk (pid = 7000)
asterisk*CLI> dahdi show channels
No such command 'dahdi show channels' (type 'help dahdi show' for other possible commands)
asterisk*CLI>

And the trunklines:

Should I have all the 32 channels listed?

Thanks,
« Last Edit: June 09, 2009, 05:12:24 AM by Franco (a.k.a. stuntshell) »

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Selintra and others, Sail and R2
« Reply #5 on: June 09, 2009, 07:14:37 AM »
Your kernel modules have not been loaded. 

The kmdl loader is a separate entity in 2.3.  Make sure you start dahdi the first time through, or simply reboot the system.  kmdls are loaded by doing /etc/init.d/dahdi start.   We noticed this issue for the first time on a fresh install yesterday and we have included a note into the 2.3(dahdi) installation quick notes.

For regular ISDN30e you should only have the Group listed because you can't "fix" or reserve  channels (for example for fax or data) in the way you could with DSS, so addressing individual channels is meaningless, it's just a 2Megabit symmetrical pipe (30B+1D@16) with each B-channel running at 64K.  Let me know if your E1 R2 signalling is different.

 
Best

S



 
« Last Edit: June 09, 2009, 07:26:15 AM by selintra »

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Selintra and others, Sail and R2
« Reply #6 on: June 09, 2009, 03:08:58 PM »
Very well Selintra, following the above got me the channels listed.

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Selintra and others, Sail and R2
« Reply #7 on: June 09, 2009, 03:47:07 PM »
Still having problems, the link doesn't get stablished.
The provider is telling me that I'm not passing the necessary signaling, MFC-R2.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Selintra and others, Sail and R2
« Reply #8 on: June 09, 2009, 05:10:12 PM »
I'm afraid I can't help you much there because we've never done anything with R2.  You will need to set the correct values in /etc/dahdi/system.conf and then reload chan_dahdi, or restart asterisk, each time until you get synch.

Are there no examples on the web?

Best

S

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Selintra and others, Sail and R2
« Reply #9 on: June 09, 2009, 05:27:18 PM »
Selintra,
They just called me and are saying I need this http://www.libopenr2.org/, and that it's already part of the latest asterisk.
I'm reading all about before I start playing.
Any help is much appreciated.

Thanks,

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Selintra and others, Sail and R2
« Reply #10 on: June 10, 2009, 12:09:21 AM »
Ok, I finally got it all running.
It was a signalling problem, together with me not knowing how to make a RJ48C cable  :grin:
I'll document the entire process and post in the Wiki for those who need.
Thanks a lot!

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Selintra and others, Sail and R2
« Reply #11 on: June 10, 2009, 12:58:40 AM »
Well done Franco!

I'll look forward to seeing what you;ve done.

Best

S

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Selintra and others, Sail and R2
« Reply #12 on: June 12, 2009, 04:43:52 PM »
Selintra, I'm still having problems with this :(
Today I'll do a bit different to make my life easier and stop guessing the parameters: I'll install an asterisk distribution that already has support for this signaling protocol, copy all the configurations and try again with SAIL.
I'll keep you posted.

Thanks,

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Selintra and others, Sail and R2
« Reply #13 on: June 12, 2009, 06:36:34 PM »
OK

Keep us posted

S

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Selintra and others, Sail and R2
« Reply #14 on: June 29, 2009, 04:07:14 PM »
Bump...

Did you get this running yet?

Best

S