PDA

View Full Version : How do I add a PIKA FXO trunk.



skar
01-14-09, 10:23 AM
If you are using a version of FreePBX on the WARP after the Beta 3 release (http://pikawarp.org/?p=195), it is very easy to add a PIKA FXO trunk to your system. The first thing you need to do is select Trunks from the side menu and then Add PIKA Trunk from the list. This is shown below:

http://pikawarp.org/wp-content/uploads/2009/01/add-trunk.png


You will then be presented with the add PIKA trunk screen. To add an fxo line, you just need to insert the number of the line you wish to add. This number is between 1 and 8 depending on how many FXO modules you have installed. After this, hit the submit changes button to add the trunk. This can be seen in the following :

http://pikawarp.org/wp-content/uploads/2009/01/add-pika-trunk.png

You now need to hit the orange apply configuration changes button at the top to reload asterisk and you now have PIKA FXO trunk 3 as a trunk in your system. There are a few things to note here:


If this is the first time you have added a PIKA trunk, you may need to reboot your WARP. More details on this can be found here (http://forum.pikatechnologies.com/showthread.php?t=92).
If you click on this trunk after you have added it, the dial string appears incorrectly. See more details here. (http://forum.pikatechnologies.com/showthread.php?t=90)

timlitw
03-18-09, 03:15 PM
no longer has this feature - what will it take to add it back?

We also needs this on extensions setup to setup Pika extensions.

agauthier
03-19-09, 02:28 PM
What part is not working for you?

timlitw
03-27-09, 06:10 PM
The options to add a pika trunk or a pika extension went away. I guess I may have update some modules and that removed that option. Anyways even reloading the image now it doesn't come back.

timlitw
03-28-09, 12:17 AM
I figured it out after a new reload from uboot with tftp the first thing I did was to try upgrading the modules to see if one of those removed this option - it was the Core 2.5.1.6 that removed the Pika Trunk and Pika extension options.

voxter
07-20-10, 08:02 PM
So, I upgraded freepbx to 2.8 and since this pika modification seems to be a pika-only thing, its of course not available.

Can i just add a custom trunk and fill it in manually or what? Its pretty crazy to think that a freepbx upgrade (which almost everyone will do) would destroy this capability. Can we see another way to do it or have it submitted to freepbx? I now have a warp that is 99% configured and I cant use the fxo ports!

Also, is there no concept of fxo port groups? I have 8 lines in this one, do i have to create a trunk for each of them, and assign each 8 ports in order on an outbound route?

voxter

mrecoskie
07-26-10, 01:29 PM
Hi voxter,

I agree it is silly and arises because of the use of a channel driver instead of zap/dahdi. Perhaps you have already figured this out but as you suggested I would recommend manually adding the FXO trunk as a custom. Basically 'Add CUSTOM trunk' and using a 'Custom Dial String' like 'PIKA/fxo/3/$OUTNUM$'

There is more detail that can be found here.
http://forum.pikatechnologies.com/showthread.php?403-How-to-add-PIKA-channels (The video actually referenced can be found here http://pikawarp.org/?p=276)

There is formal documentation at www.pikatech.com/appliancedownloads (http://www.pikatech.com/appliancedownloads) where the FreePBX guide specifically is quite good. This guide can be directly downloaded here: ftp://ftp.pikatech.com/outgoing/appliance/2.2/docs_2.2.4/PIKA_WARP_for_Asterisk_FreePBX_2.2_Guide.pdf

In regards to groups, this is simply possible by using a custom dial string like 'PIKA/fxo/g0/$OUTNUM$' where the group definitions for Pika channels can be found in '/etc/asterisk/pika.conf'

Hope this helps.