I HAVE A DREAM What's Missing from Wazo/XiVO?

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
In the FreePBX version of IncrediblePBX, one of the Custom Applications/Destinations is Time (8463). Will you port this to your IncrediblePBX list of applications?

As a time geek, I love this application. I call into my PBX. I have set to this destination to hear the time at the sound of the tone. :) My own time server (not as accurate as the NIST but good enough for me :) )

*61 Time Of Day is already in the new Incredible PBX for XiVO build for Raspberry Pi 3. Here's how to add it to an existing server.

1. In /etc/asterisk/extensions_extra.d, create a new timeofday.conf file:
Code:
;# // BEGIN TimeOfDay
[new-time]
exten => s,1,ringing
exten => s,2,Set(FutureTime=$[${EPOCH} + 8])
exten => s,3,Set(FutureTimeMod=$[${FutureTime} % 10])
exten => s,4,Set(FutureTime=$[${FutureTime} - ${FutureTimeMod}])
;180 in next line is max # seconds connection can be held open. Use multiples of 10.
exten => s,5,Set(MaxConnectTime=$[${FutureTime} + 180])
exten => s,6,Set(FutureTimeMod=$[${FutureTime} - ${EPOCH}])
exten => s,7,GotoIf($["${FutureTimeMod}" < "0"]?10:8)
exten => s,8,wait(1)
exten => s,9,goto(6)
exten => s,10,Answer
exten => s,11,Set(FutureTime=$[${FutureTime} + 10])
exten => s,12,Set(FutureTimeMod=$[${FutureTime} % 60])
exten => s,13,wait(1)
exten => s,14,playback(at-tone-time-exactly)
exten => s,15,SayUnixTime(${FutureTime},,IM)
exten => s,16,GotoIf($["${FutureTimeMod}" = "0"]?17:19)
exten => s,17,SayUnixTime(${FutureTime},,p)
exten => s,18,goto(22)
exten => s,19,playback(and)
exten => s,20,SayUnixTime(${FutureTime},,S)
exten => s,21,playback(seconds)
exten => s,22,Set(FutureTimeMod=$[${FutureTime} - ${EPOCH}])
exten => s,23,GotoIf($["${FutureTimeMod}" < "1"]?26:24)
exten => s,24,wait(1)
exten => s,25,goto(22)
exten => s,26,playback(beep)
exten => s,27,Set(FutureTimeMod=$[${MaxConnectTime} - ${EPOCH}])
exten => s,28,GotoIf($["${FutureTimeMod}" < "1"]?29:11)
exten => s,29,Hangup
;# // END TimeOfDay

2. Set the permissions on the new file:
Code:
chown asterisk:www-data /etc/asterisk/extensions_extra.d/timeofday.conf
chmod 664 /etc/asterisk/extensions_extra.d/timeofday.conf

3. Edit /etc/asterisk/extensions_extra.d/xivo-extrafeatures.conf and add this code at the bottom:
Code:
;# // BEGIN TimeOfDay
exten => *61,1,Goto(new-time,s,1)
exten => 8463,1,Goto(new-time,s,1)
;# // END TimeOfDay

4. Reload the dialplan: /etc/init.d/asterisk reload

To use Time of Day feature, dial *61 or 8463 (T-I-M-E) from any extension.
 
Last edited:

Jonny5

New Member
Joined
May 25, 2013
Messages
3
Reaction score
1
You can already do that using an IVR instead of the sound file. Just have the IVR play the message and then the default timeout should point to the voice mail. I'm basing this comment mostly on knowledge of Asterisk config files but I believe the Xivo IVR will let you do it.

Let me change that. I just checked and Xivo does not have a GUI for an IVR. You have to do direct config file programming. If you loaded Incredible PBX, you can look at Ward's IVR-1.conf file to see an example.

With that in mind, I'd like to see Xivo have and IVR configuration section somewhat like what is offered by FreePBX.

Thanks, I thought that would be the way to do it at the moment and a GUI for IVR would help with that.
 

omunni

Guru
Joined
Feb 12, 2010
Messages
27
Reaction score
7
Most of this had already been set up. I just forgot to finish it. Here's how to add *69 CallTrace to an existing system:

In the XiVO browser interface, go to IPX ‣ IPX Configuration ‣ Configuration Files and edit xivo-extrafeatures.conf. Add the following code to the bottom of the file and Save the changes.

Code:
;# // BEGIN CallTrace
exten => *69,1,Set(lastcaller=${DB(CALLTRACE/${XIVO_USERID})})
exten => *69,2,GotoIf($[ $[ "${lastcaller}" = "" ] | $[ "${lastcaller}" = "unknown" ] ]?noinfo)
exten => *69,3,Background(calling)
exten => *69,4,SayDigits("${lastcaller}")
exten => *69,5,Dial(Local/${lastcaller}@default)
exten => *69,6,Hangup
exten => *69,7(noinfo),Playback(unidentified-no-callback)
exten => *69,8,Hangup
;# // END CallTrace

To use Call Trace, dial *69 to return call of the last caller.

Thank you Ward. I was wondering about that feature as well.
However, I apologize if I was vague, the feature I meant to suggest was Callback.
The callback, will hang up on the caller and then call them back. Either to an optional number to be dialed for the callback or just dial the incoming DID number.
 

lrosenman

Guru
Joined
Oct 17, 2014
Messages
221
Reaction score
30
I'm looking for a way to mimic the FreePBX group where one of members can be a SIP URL. (for NoMoRoBo).
I've already post4d on the Xivo forum, but figure posting here can't hurt.
 

lrosenman

Guru
Joined
Oct 17, 2014
Messages
221
Reaction score
30
yes, where I have Local/18xxXXXXXXX@default, and it doesn't call out (see my thread on projects.xivo.com).
 

ou812

Guru
Joined
Oct 18, 2007
Messages
479
Reaction score
79
I created some quick dials in a configuration file so we can dial 4 digit name's to call there cell phone, you can adapt for your needs, replace "XXXXX" with number.

[xivo-extrafeatures]

;# // Call Gary's Cell
exten => 4279,1,Answer
exten => 4279,n,Wait(1)
exten => 4279,n,Dial(Local/XXXXXXXXXX@default)
exten => 4279,n,Hangup
;# // END Call Gary's Cell

;# // Call Beth's Cell
exten => 2384,1,Answer
exten => 2384,n,Wait(1)
exten => 2384,n,Dial(Local/XXXXXXXXXX@default)
exten => 2384,n,Hangup
;# // END Call Beth's Cell

;# // Call Candace's Cell
exten => 2263,1,Answer
exten => 2263,n,Wait(1)
exten => 2263,n,Dial(Local/XXXXXXXXXX@default)
exten => 2263,n,Hangup
;# // END Call Candace's Cell

;# // Call Brendon's Cell
exten => 2736,1,Answer
exten => 2736,n,Wait(1)
exten => 2736,n,Dial(Local/XXXXXXXXXX@default)
exten => 2736,n,Hangup
;# // END Call Brendon's Cell

gary.
 

lrosenman

Guru
Joined
Oct 17, 2014
Messages
221
Reaction score
30
I'm looking for it to simul-ring the SIP phone, and the 1-8XX-XXX-XXXX number, these seem to do the answer.
(I also need it to send the incoming CID to the 8XX number. )
 

Bryan Hiller

New Member
Joined
May 25, 2013
Messages
17
Reaction score
2
I would like to have a way to allow the user to control outbound Caller id with a star code similar to the caller id module in freepbx. I suppose I could write a context for this and/or keep CIDs in a database. This helps for a call center for multiple branch offices. thanks
 

jerrm

Guru
Joined
Sep 23, 2015
Messages
838
Reaction score
405
Anything analogous to the system recordings or announcement modules in XiVO?
 

rchalk

Active Member
Joined
Feb 19, 2010
Messages
403
Reaction score
55
Does this system support the equivalent of Device-User mode? This is an indispensable feature for me, as my main client travels between three offices in three different cities, and wants his extension to be the same everywhere.

Thanks
 

krzykat

Telecom Strategist
Joined
Aug 2, 2008
Messages
3,145
Reaction score
1,235
Just doing a lot of reading right now ... no support for Grandstream devices?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Does this system support the equivalent of Device-User mode? This is an indispensable feature for me, as my main client travels between three offices in three different cities, and wants his extension to be the same everywhere.

Thanks

That's the XiVO default.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Coming Soon... XiVO Navigation Guide for FreePBX Users
 
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