1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TIPS Viva WAZO: A New Beginning

Discussion in 'Developers' Corner' started by rjaiswal, Apr 23, 2016.

  1. rjaiswal

    rjaiswal
    Expand Collapse
    Moderator

    Joined:
    May 24, 2013
    Messages:
    402
    Likes Received:
    42
    Hi,

    Perusing the interwebs, and I stumbled upon this:

    http://www.xivo.io/

    Anyone tried it? The website says they are compatible with sccp phones. I'm very intrigued.
     
  2. henry

    henry
    Expand Collapse
    Member

    Joined:
    Apr 2, 2014
    Messages:
    99
    Likes Received:
    29
    Looks like a European attempt at a completely GUI'd Asterisk.
    They (claim to) have their own skinny channel driver (clean room?).

    But the 7941/61 series of phones runs the 9.0 version of the firmware?! Circa 2010...

    Could be interesting to try...
     
  3. henry

    henry
    Expand Collapse
    Member

    Joined:
    Apr 2, 2014
    Messages:
    99
    Likes Received:
    29
    Slick is what comes to mind after installation...

    I installed it as a VM under vSphere6. Basic minimalistic Debian Jessie (8.0) and then running a script on top of it.
    Takes some minute or two... Connecting using browser, basic config and you are ready to add users...

    I think it is targeting businesses and is overkill for home.
    You add users, lines and phones... And then auto-provision... Any user on any line...

    Haven't brought to a point of making a call... Will try when having more time...

    Good documentation!
     
    rjaiswal likes this.
  4. rjaiswal

    rjaiswal
    Expand Collapse
    Moderator

    Joined:
    May 24, 2013
    Messages:
    402
    Likes Received:
    42
    Wow... Very slick indeed. Spun up on Hyper-V 2012. Worked out of the box. Need to play with it some more to check multicast paging, etc.
     
  5. hecatae

    hecatae
    Expand Collapse
    resident hecatae

    Joined:
    Feb 7, 2014
    Messages:
    623
    Likes Received:
    148
    rjaiswal likes this.
  6. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    Installation, check. Configuration, check. So far, so good. Very impressive in VirtualBox with 1GB RAM running Asterisk 13.7.2.

    Moving on to Getting Started. See below for results in under half an hour. GPL3 code. No CrippleWare!

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    SUCCESS! Our First Call from Extension 701 (Line 3jz8tsr0) to Extension 702 (Line 8fmne2x4):

    [​IMG]
     
    #6 wardmundy, Apr 26, 2016
    Last edited: Apr 26, 2016
  7. hecatae

    hecatae
    Expand Collapse
    resident hecatae

    Joined:
    Feb 7, 2014
    Messages:
    623
    Likes Received:
    148
    rjaiswal and wardmundy like this.
  8. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
  9. hecatae

    hecatae
    Expand Collapse
    resident hecatae

    Joined:
    Feb 7, 2014
    Messages:
    623
    Likes Received:
    148
    I like the mollyguard feature, you cant reboot a xivo server without typing in the server name.

    Kind of a "are you sure you really want to do this"
     
    wardmundy likes this.
  10. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    Lots of disabled modules including festival, mp3, pjsip, motif, xmpp, etc. (/etc/asterisk/modules.conf) but at least they are all there (/usr/lib/asterisk/modules) and presumably will work with a little tweaking .

    This is going to be fun! :sorcerer:
     
    wa4zlw likes this.
  11. hecatae

    hecatae
    Expand Collapse
    resident hecatae

    Joined:
    Feb 7, 2014
    Messages:
    623
    Likes Received:
    148
  12. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    This might turn out to be downright incredible :chef:

     
    #12 wardmundy, Apr 27, 2016
    Last edited: Apr 27, 2016
    rjaiswal, wa4zlw and hecatae like this.
  13. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    Outgoing and Incoming Calls with VoIP.ms* working great...

    [​IMG]

    [​IMG]

    [​IMG]

    * We use VoIP.ms for experimentation but rely upon our Platinum Sponsor, Vitelity, for "real work."
     
    #13 wardmundy, Apr 27, 2016
    Last edited: Apr 27, 2016
    wa4zlw likes this.
  14. ou812

    ou812
    Expand Collapse
    Guru

    Joined:
    Oct 18, 2007
    Messages:
    415
    Likes Received:
    65
    This is pretty sweet so far, I have voip.ms trunk, Yealink phone auto provisioned, Xivo windows client with chrome click to dial, emailing of voice mails. couple hours in seems pretty good.

    Gary.
     
    wardmundy likes this.
  15. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
  16. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    Adding custom extensions is very straight-forward and can be done without ever leaving the GUI. Works exactly like [from-internal-custom] context in FreePBX's extensions_custom.conf. Now it's time to migrate a few apps.

    [​IMG]
     
    henry likes this.
  17. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    #17 wardmundy, Apr 28, 2016
    Last edited: Apr 28, 2016
    rjaiswal likes this.
  18. henry

    henry
    Expand Collapse
    Member

    Joined:
    Apr 2, 2014
    Messages:
    99
    Likes Received:
    29
    Thanks, Ward.
    Your efforts are really appreciated...
     
    wardmundy likes this.
  19. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    Well, getting NWS Weather Forecasts by ZIP to work was a bear. There is no MySQL loaded on XiVO, and we didn't want to add the overhead of running both MySQL and PostGreSQL. Rather than learn PostGreSQL (again), I opted to convert the ZIP code database to SQLite3 and go from there. But, ODBC didn't work quite right either. So we used another approach by writing the results of the SQLite3 query to a temporary text file with a filename matching the ZIP code. Then the nv-weather-zip.php AGI script reads the city, latitude, and longitude information from the text file and passes it along to NOAA to execute the weather query.
    Code:
    ;# // BEGIN Weather by ZIP
    exten => 947,1,Answer
    exten => 947,n,Wait(1)
    exten => 947,n,Set(TIMEOUT(digit)=7)
    exten => 947,n,Set(TIMEOUT(response)=10)
    exten => 947,n,Festival("At the beep enter the five digit zip code for the weather report you wish to retrieve.")
    exten => 947,n,Read(ZIPCODE,beep,5)
    exten => 947,n,Festival("Please hold a moment while we contact the National Weather Service.")
    exten => 947,n,System(sqlite3 /var/lib/asterisk/agi-bin/zipcodes.sqlite "select city,latitude,longitude from zipcodes where zip=${ZIPCODE}" > /tmp/${ZIPCODE})
    exten => 947,n,AGI(nv-weather-zip.php,${ZIPCODE})
    exten => 947,n,NoOp(Wave file: /tmp/${TMPWAVE})
    exten => 947,n,Playback(/tmp/${TMPWAVE})
    exten => 947,n,Hangup
    ;# // END Weather by ZIP
    
    This meant a major rewrite of the AGI script so that the City, Latitude, and Longitude data could be read from a temporary text file rather than from MySQL. But it all works now.

    You can try it out by calling the Demo IVR and choosing Option 6. Option 2 (MeetMe Conference), Option 4 (Lenny), and Option 5 (Yahoo News) also work, but the rest of the IVR options blow up at this time. [​IMG]

    Also mastered how to point an Incoming Route to a custom context. You'll need to know this to build any sort of IVR or custom dialplan with XiVO, and it wasn't documented:

    [​IMG]

    [​IMG]
     
    #19 wardmundy, Apr 29, 2016
    Last edited: May 24, 2016
  20. wardmundy

    wardmundy
    Expand Collapse
    Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    12,595
    Likes Received:
    1,870
    Vitelity, VoIP.ms, and Future-Nine all working. One-way audio with Anveo Direct but we have lots of servers behind a NAT-based firewall and can't redirect UDP ports which is probably the issue with RTP. STUN didn't help (or didn't work).
     

Share This Page