Solved

Asterisk Dahdi 4 FXO 4 FXS FPBX question

Posted on 2010-09-16
7
1,003 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
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

This is a step by step guide on creating single number reach (mobility) for Cisco Call Manager.  After configuring this when someone calls your deskphone after 3-4 rings your cell phone will start to ring.  If you do not answer the call will go to y…
Let’s list some of the technologies that enable smooth teleworking. 
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…
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…

749 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