Page 1 of 1
Remove VM of a phone extension
Posted:
Thu Jul 11, 2013 2:10 pm
by rrb555
Hi,
Vicibox 4.0.2
VERSION: 2.8-406a
BUILD: 130627-0745
© 2013 ViciDial Group
Is it possible to remove the voicemail of an extension say phone extension 101? right now when I tried calling an extension 101 if its not registered I can hear leave a message to voicemail 101. Can I remove this feature and maybe just forward the call to a phone number (1888XXXXXXX) ? or say nobody available to take calls message?
Re: Remove VM of a phone extension
Posted:
Thu Jul 11, 2013 2:12 pm
by williamconley
use the "conf override" section at the bottom of the phone. copy the entry from sip-vicidial.conf and just remove the VM line.
Re: Remove VM of a phone extension
Posted:
Thu Jul 11, 2013 3:51 pm
by rrb555
had a test but VM is still running
CONF OVERRIDE
[102]
username=102
secret=mypassword
accountcode=102
callerid="" <0000000000>
context=default
type=friend
host=dynamic
CLI
- Code: Select all
[Jul 12 04:43:03] -- Executing [102@defaultlog:1] AGI("SIP/101-00000080", "agi-NVA_recording.agi|BOTH------Y---Y---Y") in new stack
[Jul 12 04:43:03] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-NVA_recording.agi
[Jul 12 04:43:03] -- AGI Script Executing Application: (Monitor) Options: (wav|/var/spool/asterisk/monitor/MIX/2013071244303_101_102)
[Jul 12 04:43:03] -- AGI Script agi-NVA_recording.agi completed, returning 0
[Jul 12 04:43:03] -- Executing [102@defaultlog:2] Goto("SIP/101-00000080", "default|503|1") in new stack
[Jul 12 04:43:03] -- Goto (default,102,1)
[Jul 12 04:43:03] -- Executing [102@default:1] Dial("SIP/101-00000080", "SIP/101|60|") in new stack
[Jul 12 04:43:03] WARNING[2773]: app_dial.c:1310 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
[Jul 12 04:43:03] == Everyone is busy/congested at this time (1:0/0/1)
[Jul 12 04:43:03] -- Executing [102@default:2] Goto("SIP/101-00000080", "default|85026666666666102|1") in new stack
[Jul 12 04:43:03] -- Goto (default,85026666666666102,1)
[Jul 12 04:43:03] -- Executing [85026666666666102@default:1] Wait("SIP/101-00000080", "1") in new stack
[Jul 12 04:43:04] -- Executing [85026666666666102@default:2] VoiceMail("SIP/101-00000080", "102|u") in new stack
[Jul 12 04:43:04] -- <SIP/101-00000080> Playing 'vm-theperson' (language 'en')
[Jul 12 04:43:06] -- <SIP/101-00000080> Playing 'digits/1' (language 'en')
[Jul 12 04:43:06] == Parsing '/etc/asterisk/manager.conf': [Jul 12 04:43:06] Found
[Jul 12 04:43:06] == Manager 'sendcron' logged on from 127.0.0.1
[Jul 12 04:43:06] == Manager 'sendcron' logged off from 127.0.0.1
[Jul 12 04:43:06] -- <SIP/101-00000080> Playing 'digits/0' (language 'en')
[Jul 12 04:43:07] -- <SIP/101-00000080> Playing 'digits/2' (language 'en')
[Jul 12 04:43:08] -- <SIP/101-00000080> Playing 'vm-isunavail' (language 'en')
[Jul 12 04:43:09] -- <SIP/101-00000080> Playing 'vm-intro' (language 'en')
Re: Remove VM of a phone extension
Posted:
Thu Jul 11, 2013 4:08 pm
by williamconley
don't put [102] in ... but it's possible the configuration file generator is planning to insist on creating the direct dial push to VM. It may be necessary to customize the system to disable VM for a user. I don't think I remember that being requested before. Of course, you can always modify the VM account to a "group" account.
We have a findme/follow me add-on we recently developed for a client that has such a customization.
Re: Remove VM of a phone extension
Posted:
Fri Jul 12, 2013 9:58 am
by rrb555
I think I found where I could delete the VM.
Ive tried deleting the second line in extensions-vicidial.conf
exten => 102,1,Dial(SIP/sf503|60|)
exten => 102,2,Goto(default,85026666666666102,1)
when I tried calling the extensions no VM, But here's another issue, I restarted the server and found out that exten => 102,2,Goto(default,85026666666666102,1) was added again. How can I delete this line permanently?
Re: Remove VM of a phone extension
Posted:
Fri Jul 12, 2013 8:52 pm
by williamconley
it is generated in the keepalive perl script each time extensions-vicidial.conf is re-written. this happens any time any change is made.
script is in /usr/share/astguiclient ... ADMIN_keepalive ...
if you know perl, you can either disable that line entirely or add logic to check the VM value and omit this line if VM is 8300 or 0 or some other impossible value (it can't be blank as there is a checker when modifying the phone that will disable changes if the vm value is blank). 8300 is a fake extension used for interesting things like the "nophone" phone.