TIPS Viva WAZO: A New Beginning

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

  1. arztde

    arztde Active Member

    Joined:
    Jan 4, 2014
    Messages:
    284
    Likes Received:
    25
    Isthere any chance for Google Motiv? And Localphone.

    I look since a long time for a solution that someone can dial directely a internal phone number like

    0049 6263 660 - 701
    0049 6263 660 - 702
    ...
    etc.

    Is there a possibility for
    the IVR to manage with festival this way

    dial 1 go to german IVR
    dial 2 go to english IVR

    or much better if a german phonenumber comes in play the german IVR
    if a romanian number comes in go romanian IVR
    and rest of the numbers goenglish IVR

    Any Ideas for such solutions?
     
  2. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,701
    Likes Received:
    2,512
  3. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,701
    Likes Received:
    2,512
  4. arztde

    arztde Active Member

    Joined:
    Jan 4, 2014
    Messages:
    284
    Likes Received:
    25
    I did but still in translation process but did not understand all. Special how to manage the festival to speak 2 languages. Idea is for my demo for example that Lenny speaks German and also english, depence of the number that comes in. I mean a preselection of the IVR a german number comes in and than the IVR speaks German. If another outside of Germany, Austria and switzerland IVR runs English.

    do not forget to send me yours shipping adress!

    Idea is to guide IVR to a database at later time. You will understand after the shipping.
     
  5. henry

    henry Member

    Joined:
    Apr 2, 2014
    Messages:
    99
    Likes Received:
    30
    Really nice write-up...

    Could the performance enhancements have something to do with Nginx vs. Apache? Among other things...

    XiVO does require a bit of a mindset change...

    All Asterisk flavours I've seen before dealt with 4 components: trunks, extensions and in-/outgoing routes.
    With XiVO it is trunks, lines, users, in-/outcalls. And there is no simple mapping between the two...

    Still working on it. Have no doubt it's worth it..:)
     
    #165 henry, May 31, 2016
    Last edited: May 31, 2016
    bigtoodog and hecatae like this.
  6. Sylvain Boily

    Sylvain Boily Active Member

    Joined:
    Apr 30, 2016
    Messages:
    258
    Likes Received:
    143
    Hello Henry,

    Yes nice article!

    You right, the mindset in XiVO is different because we wanted to have a separation between user (like you and me), a device, an extension and a line with a protocol (SIP/SCCP) inside. This choice help us for a really nice future of XiVO :)
    We are very different from FreePBX or Elastix philosophy, XiVO is a telecom business platform and not only a php interface front end for Asterisk or not only a PBX (IPBX). We want to help people to use XiVO as a platform and to create nice telecom applications for end user, easily.

    Thank you Ward for your help!
    If you like XiVO please spread the word, telecom is fun :)

    Have fun with XiVO
     
    bkryatt, henry and wardmundy like this.
  7. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,701
    Likes Received:
    2,512
    I keep hoping @Sylvain Boily is going to surprise us one morning with a Hot Desking feature that lets users quickly change from one line to another as they move around in their organization. All of the pieces are already there.

    :party::party::party:
     
  8. ou812

    ou812 Guru

    Joined:
    Oct 18, 2007
    Messages:
    453
    Likes Received:
    69
    @ward not sure if this is what you mean but if you use there endpoint provisioning you are able to un-provision the device and re-provision pretty quickly.

    To un-provision dial *48378 "guest" with password xivo, to re-provision dial provisioning password for your account.

    gary.
     
    Sylvain Boily, wardmundy and hecatae like this.
  9. henry

    henry Member

    Joined:
    Apr 2, 2014
    Messages:
    99
    Likes Received:
    30
    This is exactly the part that requires getting used to.
    It took me over an hour to realize that the "Name" and "Authentication username" HAVE TO BE the same!
    On both tabs, General and Register!! [Services->IPBX->Trunk Management->SIP Protocol]

    Lazy, I know... It's all written there... That's where Ward's tutorials are very helpful...:)

    Also, I've never used something like CUCM with autoprovisioning.
    So, all this automation - definitely useful when you are from the telecom side - is foreign to me...

    And those are just the Ups! that I'm not ashamed to admit...:)
     
    #169 henry, May 31, 2016
    Last edited: May 31, 2016
    krakastan and wardmundy like this.
  10. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,701
    Likes Received:
    2,512
    Played with Call Filters yet? One of the most important office setups and now it's a few button clicks. Designate users as boss or secretary, create a Call Filter, and PRESTO!

    [​IMG]

    [​IMG]
     
  11. Sylvain Boily

    Sylvain Boily Active Member

    Joined:
    Apr 30, 2016
    Messages:
    258
    Likes Received:
    143
  12. Sylvain Boily

    Sylvain Boily Active Member

    Joined:
    Apr 30, 2016
    Messages:
    258
    Likes Received:
    143
    hawk#1 and wardmundy like this.
  13. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,701
    Likes Received:
    2,512
    Festival Bug

    Apparently the Festival developers have "improved" something and broken the best voices that we were using. Here's the fix until we can get it resolved:
    Code:
    sed -i 's|(set|;(set|' /etc/festival.scm
    echo "(set! voice_default 'voice_kal_diphone)" >> /etc/festival.scm
    killall festival
    festival --server &
    New installs beginning at 4 p.m. EDT today will have the patch already.
     
    #173 wardmundy, Jun 1, 2016
    Last edited: Jun 1, 2016
  14. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,701
    Likes Received:
    2,512
    TAR Bug

    We've uncovered a nasty bug in the Debian 8 version of the tar application. For some reason, it trashes the settings on some (not all) directories when restoring files to certain places. This was damaging the Asterisk SQLite3 database for some reason even when the proper ownership and permissions were restored to the directory tree. We've reworked the affected portions of the Getting Started with XiVO tutorial to avoid the problem by simply restoring files within a directory instead of multiple files in multiple directories all at once.

    You can decipher whether your server needs to be rebuilt by running the following command. If you get an error, rebuild away. Thanks for being a PIONEER.

    Code:
    asterisk -rx "database put blacklist 9999999999 FCC"
    p.s. FreePBX-compatible blacklist feature set coming soon.
     
    #174 wardmundy, Jun 1, 2016
    Last edited: Jun 1, 2016
  15. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,701
    Likes Received:
    2,512
    Your posts were moved to the Help forum. Check your email.
     
  16. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,701
    Likes Received:
    2,512
    Your posts were moved to the Help forum. Check your email.
     
  17. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,701
    Likes Received:
    2,512
    This is an Announcement thread. Bug posts are fine but open Help threads for personal assistance. Thanks.
     
  18. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,701
    Likes Received:
    2,512
    Implementing a FreePBX-compatible Blacklist with XiVO

    [​IMG]


    We wanted to provide a simple way to migrate the existing Blacklist methodology to XiVO using the Asterisk database to store the entries. This will also facilitate importing of the weekly FCC Spammers List.

    To install the Blacklist components, download the latest Incredible PBX dialplan:
    Code:
    cd /etc/asterisk/extensions_extra.d
    wget http://incrediblepbx.com/configfiles.tar.gz
    tar zxvf configfiles.tar.gz
    rm -f configfiles.tar.gz
    /etc/init.d/asterisk restart
    Numbers can be added and removed from the Blacklist by phone or by using commands on the Asterisk CLI.

    Managing the Blacklist by Phone is supported with the following extensions:
    • *30 - Add a number to the Blacklist
    • *31 - Remove a number from the Blacklist
    • *32 - Blacklist the last Caller

    Add Numbers to the Blacklist using the Asterisk CLI with the following syntax:
    Code:
    database put blacklist 9999999999 1
    To Block Anonymous and Restricted Calls:
    Code:
    database put blacklist Anonymous 1
    database put blacklist anonymous 1
    database put blacklist Restricted 1
    
    To Remove a Number from the Blacklist:
    Code:
    database deltree blacklist 9999999999
    To Review Existing Blacklist Entries:
    Code:
    database show blacklist
    UPDATE: There's now a CallerID WhiteList feature that lets you protect numbers from the FCC BlackList. Here's a link to the tutorial to implement it.

    The existing Nerd Vittles scripts can be used to Import the FCC Blacklist weekly. FCC entries in the blacklist have a value of FCC instead of 1 so that they can be easily replaced each week without affecting your personal blacklist entries.
     
    #178 wardmundy, Jun 2, 2016
    Last edited: Jun 29, 2016
    bigtoodog likes this.
  19. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,701
    Likes Received:
    2,512
    For those that are interested, the new Blacklist feature is an excellent opportunity to compare the simplicity of XiVO with "the other alternative."

    In XiVO, the entire Blacklist methodology is implemented with 3 lines of code:
    Code:
    same = n,GotoIf($[${LEN(${DB(blacklist/${XIVO_SRCNUM})}))} > 1]?byebye)
    same = n(byebye),Answer
    same = n,Congestion
    For the alternate method, explore the code in /var/www/html/admin/modules/blacklist and then review all of the contexts beginning with "blacklist" in /etc/asterisk/extensions_additional.conf.
     
  20. jerrm

    jerrm Guru

    Joined:
    Sep 23, 2015
    Messages:
    449
    Likes Received:
    176
    Not a fair comparison. Apples and Oranges. Hardcoded vs GUI config. Most of extensions_additional.conf is for functionality not yet implemented for Xivo.