PIONEERS RasPi3: Incredible PBX for XiVO

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,247
Reaction score
2,670
The important point is that you probably don't want to do conferencing on a Raspberry Pi, period. That's especially true when there are robust and free services available for the taking.
 

dziny

Guru
Joined
Sep 4, 2014
Messages
45
Reaction score
19
The important point is that you probably don't want to do conferencing on a Raspberry Pi, period. That's especially true when there are robust and free services available for the taking.
You might be right if we are only taking within US. However, if you have to have a conference with some participants in the UK some in US and maybe elsewhere it's hard to beat what asterisk offers. But yeah, probably not on RPi :)
 

SMTC

Member
Joined
Jan 22, 2009
Messages
162
Reaction score
8
Reverting from Xivo back to the Incredible PBX 13-12.5 I find the Meet-me conference function is there and seems to work. Why is there no "clock" issue for this version of PBX?
 

Dave Gray

Guru
Joined
May 22, 2013
Messages
147
Reaction score
57
Location
Florida USA
Specifically, DAHDI has a "fake" clock generator built in (non-fake clocks were supposed to come from a PRI interface card, or maybe a modem card, but interface hardware was becoming less common as SIP became the norm.) Later Asterisk builds don't even have DAHDI, so confbridge became the way to go.
 

SMTC

Member
Joined
Jan 22, 2009
Messages
162
Reaction score
8
So what is in the Incredible PBX 13-12.5 for Pi 3 and Xivo for Pi 3, Meet-me or Confbridge?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,247
Reaction score
2,670
So what is in the Incredible PBX 13-12.5 for Pi 3 and Xivo for Pi 3, Meet-me or Confbridge?
There is NO meetme hardware support on a Raspberry Pi so the only available option is a ConfBridge.
 

SMTC

Member
Joined
Jan 22, 2009
Messages
162
Reaction score
8
There is NO meetme hardware support on a Raspberry Pi so the only available option is a ConfBridge.
So then, if I understand correctly in the XIVO build ConfBridge is there for "2663", but if you try to use the Xivo GUI to create Conference Rooms 2664 or 2665 etc., it fails, and that is because Xivo tries to use Meet-me which does not work on Raspberry Pi's?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,247
Reaction score
2,670
So then, if I understand correctly in the XIVO build ConfBridge is there for "2663", but if you try to use the Xivo GUI to create Conference Rooms 2664 or 2665 etc., it fails, and that is because Xivo tries to use Meet-me which does not work on Raspberry Pi's?
That's correct. You can clone the 2663 line in /etc/asterisk/extensions_extra.d/xivo-extrafeatures.conf to add additional conference bridges. Or you can use the free Anonochat conferencing service which is much more reliable for conferences than what you'll get with a Raspberry Pi.

Code:
;# // BEGIN Conf 2663
exten=2663,1,Answer
same=n,Set(CONFBRIDGE(user,music_on_hold_when_empty)=yes)
same=n,Set(CONFBRIDGE(user,music_on_hold_class)=default)
same=n,ConfBridge(2663)
same=n,Hangup
NOTE: This is a barebones implementation of ConfBridge. There are dozens of additional features, all of which are documented here.
 
Last edited:

ErikU

Guru
Joined
Mar 16, 2008
Messages
181
Reaction score
6
Location
Seattle, WA
What kind of call volume do you think a RasPi3 could reliably support? I have a two tenant small office with about 15 extensions. Prob no more than 3 or 4 calls at a time. SIP trunks and POTS (will need to find a hardware solution... usb?). Would a RasPi3 be a good choice, or no?

PS- I've been running an ancient (at least 8 year old, maybe more) PBXIAF for a long time that has worked fine, but is REALLY long in the tooth.
 

chris_c_

Active Member
Joined
Aug 19, 2010
Messages
509
Reaction score
67
What kind of call volume do you think a RasPi3 could reliably support? I have a two tenant small office with about 15 extensions. Prob no more than 3 or 4 calls at a time. SIP trunks and POTS (will need to find a hardware solution... usb?). Would a RasPi3 be a good choice, or no?
You should be just find with 3-4 simultaneous calls. Limit is 10 for high quality on a Pi 1. Probably 20-30 calls for a Pi3.
What is the performance of Asterisk running on the Raspberry Pi?
In a typical setup with RasPBX, 10 concurrent calls are possible on a Pi 1. This is also the case for conferences, meaning 10 participants can join a conference. More than 10 calls do work, but audio quality decreases considerably with every additional call. See also:
http://sourceforge.net/p/raspbx/discussion/general/thread/4975db40/#eb2a
How do I interface the RPi with an analog line from my telecoms provider?
Up to date there is no hardware available that is interfacing with an analog line and can be directly connected to the RPi. Calls have to go over Ethernet using any of the VoIP protocols supported by Asterisk. Devices with a PSTN FXO port translating the analog line to SIP are for example the Linksys SPA3102 or the Obihai OBi110. These can be configured as SIP trunks in Asterisk.
Source: http://www.raspberry-asterisk.org/faq/
 

ErikU

Guru
Joined
Mar 16, 2008
Messages
181
Reaction score
6
Location
Seattle, WA
Ward-

I installed your latest XiVO build for pi. After using it for a bit, I followed your instructions for upgrading XiVO. This seemed to break the system. Though I didn't see any errors during the upgrade process, I was stuck with a 403 Forbidden error whenever I tried to visit the web manager. I eventually gave up and started over. I would like to eventually upgrade successfully. Any thoughts on how to make this work?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,247
Reaction score
2,670
The RasPi platform is not supported by XiVO. It's built and maintained by a French company (that speaks French). If it ain't broke...
 

ErikU

Guru
Joined
Mar 16, 2008
Messages
181
Reaction score
6
Location
Seattle, WA
Ok, then I maybe need to rethink building my production machine on a pi. I was questioning how good of an idea that was anyway with the SD card life issue. I do like the portability during my testing and development though. Once I am happy with the system, should I be able to do a XiVO backup and apply that successfully to a standard build on a PC?

On another note, I believe I found an error in your XiVO trunk setup guide for Voip.ms that had me REALLY scratching my head for a while: The Nerdvittles guide shows SIP>Trunk>Edit>Context should be set to Default. This caused incoming calls to be turned around and sent right back out the outcall context causing an error.

The Xivo docs show that the trunk context must be set to an incoming call context: http://documentation.xivo.io/en/stable/administration/interconnections/xivo_with_voip_provider.html

Hope this helps someone else that can't make incoming calls work!
 
  • Like
Reactions: wardmundy

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,247
Reaction score
2,670
Absolutely don't run a production system on a RasPi. That's just asking for trouble. Thanks for heads up on VoIP.ms. Once the Denial of Service attack ends at Twitter, I'll have a look.
 

SMTC

Member
Joined
Jan 22, 2009
Messages
162
Reaction score
8
Why wouldn't you run a production system on a Pi? A company I do work for dropped off what appears to be a Generation 1 Pi box with Fibernetics' FONGO system. They supplied a ZYCOO (never hear of it before) handset. It's been running for over two years with nary a hiccup aside from my periodic loss of internet. I am not sure how their network is designed but basically everyone on the dial plan (intra-company) gets a Pi box and a phone. Certainly qualifies as a production system.

Based on the above I decided to get a Pi3 running IPBX. I fully intend my test system to be "production" in about a day or two. The plan is to keep a spare unit (~$50), and a spare MicroSD (~$10) burned with a regular backup read to go...PBX In a FLASH! (LOL)

If the fear is that the MicroSD's will wear out, do annual maintenance and change them out ($10). The little beasties are solid-state, low power, don't even get hot. Pretty tough to be beat actually.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,247
Reaction score
2,670
@SMTC: We have RasPi's with the same track record. The problem is that most folks DON'T buy a spare RasPi and most folks NEVER make a backup image. That's why we don't recommend them for production systems. If you do those 2 things and you've got physical access to the RasPi with a hot standby, it's a wonderful VoIP platform. We use them at our rental properties to provide free phone service and never have a problem. As you say, swapping out the SD cards once a year works wonders.

XiVO is a bit more disk intensive so I can't vouch for a full year of use with it yet.
 

Ramsey

New Member
Joined
Oct 31, 2016
Messages
3
Reaction score
0
There is nothing that says that the root directory has to stay on the SD card. It can easily be moved to a USB hard drive. The boot files remain on the SD drive and are only read, not written, so that no longer wears out the SD. And the later versions of Raspbian have incorporated methods to directly support booting from a USB drive or even over ethernet.

Edit: as explained in post #11.
 
Last edited:

Members online

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,456
Messages
138,073
Members
14,620
Latest member
Brads#Bell