Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




Professional yak shaver
1599 posts

Uber Geek
+1 received by user: 8

Trusted
BitSignal
Subscriber

Topic # 53865 14-Dec-2009 22:49
Send private message

Howdy guys!


I've been helping a friend set up a replacement IP-PBX system to SwyxWare, but got a bit stuck with setting up the ISDN lines into Asterisk.


I've got Asterisk 1.6 running with DAHDI drivers for the Digium card and they show up in Asterisk correctly. I'm using switchtype=euroisdn and signalling=bri_cpe, but for some reason the calls don't show up in Asterisk at all.


I know the lines work because when using default switchtype= and signalling= values Asterisk will ring the configured extensions, but in this case the call drops after a few seconds and there's no ringing on the caller's side. I believe this has something to do with the signalling=, but ain't quite sure.


Anyone ever configured Telstra's ISDNs on a Digium card?




"Roads? Where we're going, we don't need roads." - Doc Emmet Brown

Create new topic
823 posts

Ultimate Geek
+1 received by user: 40

Subscriber

  Reply # 282674 15-Dec-2009 13:13
Send private message

What version of DAHDI do you have? Support for B410P was only recently added to DAHDI (in the past year) prior to that mISDN was used. What modules do you have loaded (B410p uses the wcb4xxp dahdi module).

Other things to check make sure mISDN is not running. And perhaps you could try mISDN instead of DAHDI?

What is the contents of your system.conf from /etc/dadhi ? (perhaps upload it to pastebin.com



Professional yak shaver
1599 posts

Uber Geek
+1 received by user: 8

Trusted
BitSignal
Subscriber

  Reply # 282679 15-Dec-2009 13:28
Send private message

Latest (stable) versions of all parts (Asterisk, FreePBX, DAHDI) compiled from source on Saturday. DAHDI loads up the wcb4xxp module correctly (although Ubuntu kernel was loading hfcmulti before, causing a conflict -- I blacklisted it) and mISDN is not installed at all.

I'll see if I can source the system.conf from that system. It was generated from dahdi_genconf.




"Roads? Where we're going, we don't need roads." - Doc Emmet Brown

 
 
 
 


823 posts

Ultimate Geek
+1 received by user: 40

Subscriber

  Reply # 282722 15-Dec-2009 14:48
Send private message

There isn't much you need uncommented in the system.conf here is a good sample:
http://svnview.digium.com/svn/dahdi/tools/tags/2.1.0-rc3/system.conf.sample
important bits of system.conf:

loadzone = nz
defaultzone = nz

#span=<span num>,<timing source>,<line build out (LBO)>,<framing>,<coding>[,yellow]
#span 1
span=1,1,3,ccs,ami
bchan=1-2
dchan=3

#span 2
span=2,1,3,ccs,ami
bchan=4-5
dchan=6

#span3
span=3,1,3,ccs,ami
bchan=7-8
dchan=9

#span4
span=4,1,3,ccs,ami
bchan=10-11
dchan=12

#if that doesnt work try
#span=<span#>,1,0,ccs,ami



Professional yak shaver
1599 posts

Uber Geek
+1 received by user: 8

Trusted
BitSignal
Subscriber

  Reply # 283161 16-Dec-2009 17:51
Send private message

/etc/dahdi/system.conf contents below:

# Autogenerated by /usr/sbin/dahdi_genconf on Sun Dec 13 18:13:38 2009
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER) AMI/CCS RED
span=1,1,0,ccs,ami
# termtype: te
bchan=1-2
hardhdlc=3
echocanceller=mg2,1-2

# Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" AMI/CCS
span=2,2,0,ccs,ami
# termtype: te
bchan=4-5
hardhdlc=6
echocanceller=mg2,4-5

# Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3" AMI/CCS
span=3,3,0,ccs,ami
# termtype: te
bchan=7-8
hardhdlc=9
echocanceller=mg2,7-8

# Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4" AMI/CCS
span=4,4,0,ccs,ami
# termtype: te
bchan=10-11
hardhdlc=12
echocanceller=mg2,10-11

# Global data

loadzone = nz
defaultzone = nz




"Roads? Where we're going, we don't need roads." - Doc Emmet Brown



Professional yak shaver
1599 posts

Uber Geek
+1 received by user: 8

Trusted
BitSignal
Subscriber

  Reply # 284177 20-Dec-2009 13:13
Send private message

Finally got it going. Telstra's ISDN service uses bri_cpe for signalling, and I was trying bri_cpe_ptmp.

That sample file really helped a lot!

Remind me to buy you a beer in the next Geekzone Pizza!




"Roads? Where we're going, we don't need roads." - Doc Emmet Brown

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Phone prices rising as users move upmarket
Posted 24-Nov-2017 17:16


Talking net neutrality on RNZ Nine-to-Noon
Posted 24-Nov-2017 12:11


Air New Zealand experiments with blockchain technology
Posted 23-Nov-2017 15:39


Symantec selects Amazon Web Services to deliver cloud security
Posted 23-Nov-2017 10:40


New Zealand Ministry of Education chooses Unisys for cloud-based education resourcing management system
Posted 22-Nov-2017 22:00


Business analytics software powers profits for NZ wine producers
Posted 22-Nov-2017 21:52


Pyrios strikes up alliance with Microsoft integrator UC Logiq
Posted 22-Nov-2017 21:51


The New Zealand IT services ecosystem - it's all digital down here
Posted 22-Nov-2017 21:49


Volvo to supply tens of thousands of autonomous drive compatible cars to Uber
Posted 22-Nov-2017 21:46


From small to medium and beyond: Navigating the ERP battlefield
Posted 21-Nov-2017 21:12


Business owners: ERP software selection starts (and finishes) with you
Posted 21-Nov-2017 21:11


Why I'm not an early adopter
Posted 21-Nov-2017 10:39


Netatmo launches smart home products in New Zealand
Posted 20-Nov-2017 20:06


Huawei Mate 10: Punchy, long battery life, artificial intelligence
Posted 20-Nov-2017 16:30


Propel launch Disney Star Wars Laser Battle Drones
Posted 19-Nov-2017 21:26



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.