I wrote a perl program that will send a SMS message to my cell phone.
Now I would like pass caller ID information to my program when someone leaves me a Voice mail.
It looks like the externotify feature in voicemail.conf will do what I want it to but how do you pass the following variables to the external program?
where $ext = vmail box number
$padnum = a padded message number
ie if your message number was 5 then the $padnum = 0005
if your message number was 10 then the $padnum =0010
Inside the file you will find the caller ID information and date and time the message was sent.
[message]
origmailbox=213
context=macro-vm
macrocontext=from-internal
exten=s-NOANSWER
priority=1
callerchan=SIP/216-1f24
callerid=“device” <216>
origdate=Sat Apr 8 11:21:46 PM EDT 2006
origtime=1144552906
category=
duration=7