My environment: Centos 5.6, Asterisk with freepbx , skype i.e.sends message with parameter skype.sh skype_user message.
Now i wanted to send skype notification so that my asterisk server notification
are sent to skype rather than email (or to both skype and email).
I know, there is voicemail.conf, voicemail_general and vm_email.inc, which has these body created.
vm_email.inc
emailbody=${VM_NAME},\n\nThere is a new voicemail in mailbox ${VM_MAILBOX}
But i dont see where is something like "mail" command.
What my thought to do is: instead of saying "mailcmd" pass
system ( /path/to/script) and it would simply send message as rest is already configured.
Any suggestion where i could run script rather than sending email
Or Executing script on every incoming call, so that i could send as notification on every call over the Skype. (however, ultimate goal is to achieve miss call notification or voice mail notification over Skype.)