Solved

Asterisk Dahdi 4 FXO 4 FXS FPBX question

Posted on 2010-09-16
7
994 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
Comment Utility
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
Comment Utility
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
Comment Utility
figured it out it was one of these 3 things. :)


pulsedial=yes
answeronpolarityswitch=yes
polarityonanswerdelay

0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:ritztech
Comment Utility
dialing via the FXO on the * ....
0
 
LVL 32

Accepted Solution

by:
DrDamnit earned 500 total points
Comment Utility
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
Comment Utility
i actually got it working it was

pulsedial=yes
answeronpolarityswitch=yes
polarityonanswerdelay


set int chan_dahdi.conf

0
 

Author Closing Comment

by:ritztech
Comment Utility
:)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Ever wanted to query Cisco Call Manager CDR records from MS SQL Server? Here's how! CUCM can be configured to upload a CDR file to a given FTP server every minute. This article will show you how to set this up, schedule the import of this data an…
I'm Dumb-phoned(ed) Last week, I noticed this message when adding events to my Google Calendar: On June 27th (2015), Google is removing SMS as a notification option for Google Calendar events.  Their assumption is that enough people have smart p…
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…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now