I’m setup with Trixbox and I’m trying to figure out how to automatically make a message left in one vm box automatically transfer to another then delete from the originating box. So,
if a vm is left in box 101, it gets moved to 102 and the original message in 101 is deleted.
if a vm is left in box 105, it gets moved to 102 and the original message in 105 is deleted.
Voicemail broadcasts
Voicemail broadcasts can be created with the VoiceMail command in the dialplan. This can be combined with the delete option to delete the original voicemail.
In extensions.conf:
exten => 100,1,VoiceMail(u101&102&103)
This entry creates a group mailbox at mailbox 101, which, on receipt, is copied to mailboxes 102 and 103. Following the copy to these other mailboxes, the original voice message is deleted.
When multiple mailboxes are specified, the unavailable or busy message will be taken from the first mailbox specified. This could be used to record a special unavailable or busy message for the broadcast mailbox (101 in this example).
You would put it in whatever context you are in when going to voicemail. Also I think this is kingd of old so you might have to use the context of the voicemail.conf such as
exten => 100,1,VoiceMail(u101@context&102@context)
[quote=“rusty”]You would put it in whatever context you are in when going to voicemail. Also I think this is kingd of old so you might have to use the context of the voicemail.conf such as
exten => 100,1,VoiceMail(u101@context&102@context)[/quote]
Sorry to sound like a dummy, but I don’t understand the “context” concept. I could not find a context section in my extensions.cof either.
the joy of FreePBX/TrixBox … great at keeping you away from the dirty stuff, but utterly useless when you need to actually understand what’s happening.
step one would be to read the book linked to in the sticky at the top of the forum.
extensions.conf (and the assorted "include"d files your setup will contain) is divided into lots (and lots) of contexts. contexts are the building blocks of your dialplan and to not understand them or the concept of them is going to mean trouble. each one will be indicated by [context-name], e.g. [from-pstn].
its an example. i dont mean you will have a context called [context] but that square braces are what defines a context. Same thing if i said to dial 9 to get an outside line, dial 9-1-xxx-phonenumber. I dont mean dial ‘phonenumber’ but to put your phone number there.
extensions.conf (and the assorted "include"d files your setup will contain) is divided into lots (and lots) of contexts. contexts are the building blocks of your dialplan and to not understand them or the concept of them is going to mean trouble. each one will be indicated by [context-name], e.g. [from-pstn].[/quote]
I guess this is why I’m at this forum, asking for help. I just want to have a simple thing done and should not have to understand the entire programming syntax of asterisk to do so.
which is why you chose the TrixBox route. fair enough, but when you reach the limit of what the GUI can do you either live with it or get your hands mucky editing config files. the limitation is certainly not with Asterisk.
seriously, read the book. all will become clearer.
edit: or provide ssh access and appeal to someone here for intervention !
[quote=“rusty”]You would put it in whatever context you are in when going to voicemail. Also I think this is kingd of old so you might have to use the context of the voicemail.conf such as
exten => 100,1,VoiceMail(u101@context&102@context)[/quote]
here are the section of my extensions.conf file. Any suggestions where to insert that command?
i think the biggest problems you’re going to have are working out where in the complex dialplan to put your changes, and keeping any changes you make through a FreePBX rebuild of your config files.
like i say, if this is more than you care to do you can appeal to someones better nature, pay for support, or live with the limitation.