View Issue Details

IDProjectCategoryView StatusLast Update
0000155Multi-Tenant[All Projects] Feature Requestpublic2020-05-20 10:08
ReporterpitzkeyAssigned Tomrivera 
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformVitalPBXOSCentosOS Version7
Product Version[VitalPBX] 2.0.4-1 
Target VersionFixed in Version 
Summary0000155: Multi Tenant Voicemail Operator Extension
DescriptionPlease add the ability to set the operator extension for each tenant individually.

Thank you
TagsNo tags attached.

Activities

mrivera

2020-02-18 15:03

administrator   ~0000283

We will check if asterisk has that capability.

pitzkey

2020-05-20 10:05

reporter   ~0000306

Hey,

To help out a little, I looked at the current dialplan to see if it possible to accomplish this. I think it is!

So currently, if you have operator enabled, I see that the PBX adds the following under extensions__50-1-dialplan.conf

[sub-vm](+)
exten => o,1,NoOp(Calling to operator)
 same => n,Goto(cos-all,1001,1)
 same => n,Hangup()

So it got me thinking that maybe you guys can store the operator destination in the asterisk database under each tenant path, something like:

/TENANT_PATH/voicemail/operator : context,extension,priority

And then set the following in the dialplan

[sub-vm](+)
exten => o,1,NoOp(Calling to operator)
 same => n,Gotoif($[${DB_EXISTS(${TENANT_PATH}/voicemail/operator)}]?${DB(${TENANT_PATH}/voicemail/operator):noOperDest)
 same => n,Hangup()
 same => n,Playback(error-message) ;invalid entry
 same => n,Goto(sub-vm,s,1) ;This destination might actually be wrong, but it works for me to return to voicemail.

Let me know if you need any further help.

Thank you

pitzkey

2020-05-20 10:07

reporter   ~0000307

Woops, I missed the noOperDest. Here's the correct one:

[sub-vm](+)
exten => o,1,NoOp(Calling to operator)
 same => n,Gotoif($[${DB_EXISTS(${TENANT_PATH}/voicemail/operator)}]?${DB(${TENANT_PATH}/voicemail/operator):noOperDest)
 same => n,Hangup()
 same => n(noOperDes),Playback(error-message) ;invalid entry
 same => n,Goto(sub-vm,s,1) ;This destination might actually be wrong, but it works for me to return to voicemail.

pitzkey

2020-05-20 10:08

reporter   ~0000308

And I have a spelling mistake... a wish we can edit these posts :(

 same => n(noOperDest),Playback(error-message) ;invalid entry

Issue History

Date Modified Username Field Change
2020-02-17 20:27 pitzkey New Issue
2020-02-17 20:27 pitzkey Status new => assigned
2020-02-17 20:27 pitzkey Assigned To => mrivera
2020-02-18 15:03 mrivera Note Added: 0000283
2020-05-20 10:05 pitzkey Note Added: 0000306
2020-05-20 10:07 pitzkey Note Added: 0000307
2020-05-20 10:08 pitzkey Note Added: 0000308