Solved

Asterisk Dahdi 4 FXO 4 FXS FPBX question

Posted on 2010-09-16
7
1,002 Views
Last Modified: 2013-11-12
Trying to get my outbound route to work out to ONLY the FXO group ...

so in the system its programmed as FXSKS  (kinda confusing but it worked UNTIL i added 4 FXS ports on a 2nd card.

Not sure how to Make it work right BUT i have 2 PCI cards

1st  Card is 4FXO
2nd Card is 4FXS

Not sure how it interferes with FPBX

But my question is how do i define .

1st card for Group 1 and 2 Card for Group 2

and specify the channels per port ....

heres what i have ..



chan_dahdi.conf




callprogress=yes
pulsedial=yes
answeronpolarityswitch=yes
polarityonanswerdelay

group=0
callgroup=1
pickupgroup=1
callerid=asreceived
context=from-zaptel
channel => 1-4

group-1
callgroup=1
pickupgroup=1
callerid=asrecieved
context=from-zaptel
channel => 5-8


dahdi-channels.conf


root@pbx:/etc/asterisk $ cat dahdi-channels.conf

; Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER)
;;; line="1 WCTDM/0/0 FXSKS  (In use) (SWEC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 1


;;; line="2 WCTDM/0/1 FXSKS  (In use) (SWEC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 2


;;; line="3 WCTDM/0/2 FXSKS  (In use) (SWEC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 3



;;; line="4 WCTDM/0/3 FXSKS  (In use) (SWEC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 4



; Span 2: WCTDM/4 "Wildcard TDM400P REV I Board 5"
;;; line="5 WCTDM/4/0 FXOKS"
signalling=fxo_ks
group=1
context=from-zaptel
channel => 5


;;; line="6 WCTDM/4/1 FXOKS"
signalling=fxo_ks
callerid="Channel 6" <4006>
group=1
context=from-zaptel
channel => 6



;;; line="7 WCTDM/4/2 FXOKS"
signalling=fxo_ks
callerid="Channel 7" <4007>
mailbox=4007
group=1
context=from-zaptel
channel => 7



;;; line="8 WCTDM/4/3 FXOKS"
signalling=fxo_ks
callerid="Channel 8" <4008>
group=1
context=from-zaptel
channel => 8


Thanks :) : )

0
Comment
Question by:ritztech
  • 5
  • 2
7 Comments
 
LVL 32

Expert Comment

by:DrDamnit
ID: 33696251
Don't configure it by hand. Use the tools that come with the DAHDI package.

Read my article for an introduction on how to configure it:
http://www.experts-exchange.com/Networking/Telecommunications/IP_Telephony/Asterisk_/A_2339-Who%27s-your-DAHDI-How-to-go-from-Zaptel-to-DAHDI-in-5-Easy-Steps.html
0
 

Author Comment

by:ritztech
ID: 33696656
thing is i actually used this exact article to build it but im having a heck of a time trying to outbound route correctly and its some reason not.


0
 

Author Comment

by:ritztech
ID: 33697189
figured it out it was one of these 3 things. :)


pulsedial=yes
answeronpolarityswitch=yes
polarityonanswerdelay

0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:ritztech
ID: 33697214
dialing via the FXO on the * ....
0
 
LVL 32

Accepted Solution

by:
DrDamnit earned 500 total points
ID: 33700872
To better assist you, I need to see what is going on. Please use the following procedure to create a log file of the Asterisk CLI:

1. Open the CLI using this:

       asterisk -rvvvvvv | tee /var/log/asterisk.log

This puts the a debug log into the file /var/log/asterisk.log

2. Reproduce the problem.
3. Make calls
4. Exit the CLI after you get the error.
5. Post the log here (as "code") or as an attachment.
0
 

Author Comment

by:ritztech
ID: 33702161
i actually got it working it was

pulsedial=yes
answeronpolarityswitch=yes
polarityonanswerdelay


set int chan_dahdi.conf

0
 

Author Closing Comment

by:ritztech
ID: 33702167
:)
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Issues with Hosted 3CX 1 83
Free PBX 3 86
Vanity Phone Numbers? 1 54
Wi-Fi calling 12 105
I recently purchased a Bluetooth headset called the Music Jogger (model BSH10). The control buttons on it look like this: One of my goals is to use it as the microphone and speakers for Skype calls. In that respect, it works well. However, I …
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question