I am extremely new to Asterisk, I have gotten everything installed and talking, and have working SIP extensions. My only problem is the making of phone calls into and out of the Astribank we have. As far as I can tell DAHDI can see it and it is configured correctly, it also sees all of the channels in asterisk as well. FreePBX also has a trunk for it. My problem is that I don’t know what I don’t know. I need to make an analog phone (connected to the Astribank) ring from one of my SIP extensions, and make a call into a SIP from the Astribank. Even a nudge in the correct direction would be greatly appreciated, thanks in advance!
In order to use the analog telephones you have to create extensions of the “Generic Zap device”. In the ‘channel’ field you have to define the corresponding DAHDI channel number.
If you have FXO or/and T1 channels then you have to define the channels in the /etc/asterisk/dahdi-channels.conf file. For example:
for FXO channels:
channel => 1-8
for T1 PRI channels:
switchtype = national
signalling = pri_cpe
channel => 1-23
After that you need to create Trunk(s) in FreePBX and then outbound rule(s).
Creating of inbound rules for T1 PRI is trivial in FreePBX but for the FXO channels it is a little tricky: you have to create a DID number for each FXO channel in “Zap channels DIDs” and then create inbound routes for those DIDs.
What version of FreePBX do you use?
What is the output of lsdahdi?