Solved

Asterisk Dahdi 4 FXO 4 FXS FPBX question

Posted on 2010-09-16
7
1,001 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
What do we know about Legacy Video Conferencing? - Full IT support needed! - Complicated systems at outrageous prices! - Intense training required! Highfive believes we need to embrace a new alternative.
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…

777 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