FYI XIVO first look

ErikU

Guru
Joined
Mar 16, 2008
Messages
181
Reaction score
6
I am in the process of deciding what to do about an old PIAF install that supports my small business (15 extensions, 4 calls max, two tenants, Polycom endpoints). This ancient install has been mostly working ok, but I have been having some issues lately and think I would be better served by just replacing the whole thing to move to modern hardware and a modern build.

I installed Xivo to a Rasperry Pi 3 to test and have a couple early thoughts...

1. This seems like a really solid and nice Asterisk front end. I like where it is going, and how it is actively updated and supported.

2. I do miss the freepbx modules. For example, the Superfecta caller ID lookup is a must have. Not sure what to do about caller id lookup now.

3. The lack of an IVR gui is probably a show-stopper. I read Wards take on this, and with all due respect (seriously, his community and platform support is amazing and much appreciated), I totally disagree with his take on this. It strikes me as marketing mumbo-jumbo to cover for a serious hole in design. While I could waste hours hacking together an IVR, I don't want to, and I certainly couldn't imagine training a less technical person in making this happen.

With that said, I've only been playing with this for a day or so. I may have some more comments to add, and I'm sure I will be enlightened by more experienced users.

-Erik
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,228
Yes, an IVR component is on the way. Still not sure why it is easier to type an extension number in a GUI than it is in a script. But the question will be moot soon anyway.
 

markieb

Active Member
Joined
Feb 19, 2009
Messages
165
Reaction score
51
That's awesome news! :iagree:
I'm watching with baited breath myself. This can not come soon enough!
I've been praying daily for these last missing pieces to be included into XIVO as well.

The only things stopping me from making a final decision to adopt XIVO as my install of choice to replace my ageing PIAF server is IVR, CDR & Superfecta.
These are game changers for me as they are critical components I can't do without, and though I dabble with the odd "small" change or modification, scripting is not one of my strengths.
 

Yahdie

Guru
Joined
Oct 16, 2009
Messages
199
Reaction score
7
Setting up multiple IVRs is painless using Ward's Tutorial, I think that some sort of customer facing CDR would be a better use of time IMHO
 

Yahdie

Guru
Joined
Oct 16, 2009
Messages
199
Reaction score
7
Oh, and a script to import DIDs from csv unless I have overlooked that.....my next XiVO build has 100+ DIDs....
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,228
Oh, and a script to import DIDs from csv unless I have overlooked that.....my next XiVO build has 100+ DIDs....

I haven't actually tried this, but it should be fairly easy to do yourself. The trunk settings are stored in the usersip table of the asterisk database in PostGreSQL. So all you will need to do is clone an existing trunk once you know the setup. To get that far, try this and experiment with id number until you get the record you want. In the latest XiVO Snapshot, there are 13 or 14 of them if I recall correctly:
Code:
export PGPASSWORD='proformatique'; psql -P pager=off -U asterisk -d asterisk --expanded -c "SELECT * from usersip where id=4"

This will spit out a list of the field entries needed:
Code:
id                  | 4
name                | yourvoipmsID_xivo-master
type                | friend
username            | yourvoipmsID_xivo-master
secret              | yourpassword
md5secret           |
context             | from-extern
language            | en_US
accountcode         |
amaflags            | default
allowtransfer       |
fromuser            |
fromdomain          |
subscribemwi        | 0
buggymwi            |
call-limit          | 0
callerid            | 8431234567
fullname            |
cid_number          |
maxcallbitrate      |
insecure            | port,invite
nat                 | force_rport,comedia
promiscredir        |
usereqphone         |
videosupport        |
trustrpid           | 1
sendrpid            | yes
allowsubscribe      |
allowoverlap        |
dtmfmode            | rfc2833
rfc2833compensate   |
qualify             | yes
g726nonstandard     |
disallow            | all
allow               | ulaw,alaw,gsm
autoframing         |
mohinterpret        |
useclientcode       |
progressinband      |
t38pt_udptl         |
t38pt_usertpsource  |
rtptimeout          |
rtpholdtimeout      |
rtpkeepalive        |
deny                |
permit              |
defaultip           |
host                | atlanta.voip.ms
port                | 5060
regexten            |
subscribecontext    |
fullcontact         |
vmexten             |
callingpres         |
ipaddr              |
regseconds          | 0
regserver           |
lastms              |
parkinglot          |
protocol            | sip
category            | trunk
outboundproxy       |
transport           | udp
remotesecret        |
directmedia         |
callcounter         |
busylevel           |
ignoresdpversion    |
session-timers      |
session-expires     |
session-minse       |
session-refresher   |
callbackextension   |
timert1             |
timerb              |
qualifyfreq         |
contactpermit       |
contactdeny         |
unsolicited_mailbox |
use_q850_reason     |
encryption          |
snom_aoc_enabled    |
maxforwards         |
disallowed_methods  |
textsupport         |
commented           | 0
options             | {}

Once you have that information, you can build your CSV file using the only pieces that change, e.g. name, username, secret, and callerid. Then write a little script to read the entries and add records to the usersip table.
 
Last edited:

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,228
Update: Looks like there's a bit more to it, e.g. trunkfeatures table. I'll put this on my list to discuss with @Sylvain Boily when he visits next month. I'm sure there's a way to do it with the XiVO API. I just don't know how yet.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,228
Update2: And some providers send all the calls from all the DIDs into your PBX using a single provider registration. In this case, all you really need to do is clone the incoming routes by adding records to incall and dialaction.
 

Yahdie

Guru
Joined
Oct 16, 2009
Messages
199
Reaction score
7
The ideal situation would be to have a tool to do a mass import of DIDs from csv pointed at specific destinations
 

ou812

Guru
Joined
Oct 18, 2007
Messages
479
Reaction score
79
There is a lot of talk about how we can use API to do things on the XiVO server, I'm sure there is a lot of people like me who do not know how to use this, besides a written doc which is usually over our heads is there a working API that we can actually use and try to use it as a learning tool to try to understand what it is and how it works,

Gary.
 

TechnicalJohn

Member
Joined
Oct 30, 2008
Messages
30
Reaction score
6
HOLY CRACKERS!!
I was looking into this very subject because I have a 6 year old PIAF, 200 extensions, that needs a major upgrade. As several others mentioned, my initial thoughts about migrating were not very encouraging given some missing "features" in the gui... But reviewing the API, I see that I have a ton of features at my fingertips, just not visible from the surface! And kudos for using python! :clap:

I've already got a test VM set up in virtualbox and will be working out my migration scenarios...
 

Members online

Forum statistics

Threads
25,825
Messages
167,842
Members
19,250
Latest member
mark-curtis
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top