SOLVED Run script on new voicemail

Joe Lones

Member
Joined
Feb 10, 2016
Messages
50
Reaction score
4
Forgive me if this has been covered somewhere already. I'd like to run a script upon new voicemail in the inbox. Specifically I'd like to run the smsblast script preferably pass in the CID information as well.
 
Last edited:

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
15,248
Reaction score
2,670
Just add the email address for your SMS delivery in the extension setup.
 

Joe Lones

Member
Joined
Feb 10, 2016
Messages
50
Reaction score
4
I assume you mean the "Email Address" field for the voicemail extension, correct? But I'd like to sms a number (not email sms) via GV using the included smsblast script. Is that possible?
 

Joe Lones

Member
Joined
Feb 10, 2016
Messages
50
Reaction score
4
@wardmundy, thanks. I believe that sending SMS'es via email with my cell provider incurs additional cost, that's why I'd like to use the smsblast script and use GV.

As a thought (very new to asterisk), wouldn't I be able to do something like this in the extensions_custom.conf file. I understand that this would be triggered whether or not someone leaves a message.

Code:
[from-internal-custom]
exten => 10000,1,TrySystem()
In my case extension 10000 is a virtual extension for voicemail used by my ring group.

EDIT: Found this blog post, which happens to use the externnotify in voicemail.conf. Just not sure how to get the caller id/number passed in.
 
Last edited:

Joe Lones

Member
Joined
Feb 10, 2016
Messages
50
Reaction score
4
I've answered my own question here. I wrote a script that notifies me via SMS and/or Kodi Notifications whenever a new voicemail has arrived.

If anybody is interested, I can post it.
 

Sylvain Therien

New Member
Joined
Nov 30, 2017
Messages
2
Reaction score
0
If you still have that externnotify script for SMS notification, I would be interested in looking at it.

Thanks,
 

Members online

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,457
Messages
138,074
Members
14,621
Latest member
Mac-Gayver