[Asterisk-Users] Voicemail => SMS
Mike Dent
mcdent at gmail.com
Thu Jun 30 05:13:46 MST 2005
Sorry I should have paid more attention to your post :)
You are already using fastsms!
oops.
>
> ;exten => h,1,HasNewVoiceMail(30${dialed_extn})
> ;exten => h,2,goto(h,100)
> ;exten => h,102,DeadAGI(fastsms|4400000000000|Caller ${CALLERID} left
> a new voice
> mail at ${DATETIME} on Sales extn ${dialed_extn}|Asterisk)
> ;exten => h,103,Hangup
Here is what mine looks like:-
[sales] ; sales menu
exten => s,1,Background(new/ubertechs/uber_sales)
exten => s,2,Playback(new/pls-wait-connect-call)
exten => s,3,Dial(${OFFICE},20,trm)
exten => s,4,Playback(new/nbdy-avail-to-take-call)
exten => s,5,VoiceMail(u${OFFICEVM})
exten => s,6,HasNewVoiceMail(2002)
exten => s,7,goto(110)
exten => s,106,AGI(fastsms|44792108XXXX|Ubertechs Voicemail. Caller
${CALLERID} left a new voice mail for sales at ${
DATETIME}|441524342XX)
exten => s,107,AGI(fastsms|447971494XXX|Ubertechs Voicemail. Caller
${CALLERID} left a new voice mail for sales at ${
DATETIME}|441524342XX)
exten => s,110,Hangup
exten => h,1,HasNewVoicemail(2002)
exten => h,102,DeadAGI(fastsms|44792108XXXX|Uberetchs Voicemail.
Caller ${CALLERID} left a new voice mail for sales a
t ${DATETIME}|441524342XX)
exten => h,103,DeadAGI(fastsms|44797149XXXX|Uberetchs Voicemail.
Caller ${CALLERID} left a new voice mail for sales a
t ${DATETIME}|441524342XX)
It actually sends out two SMS's in the above example.
Hope that helps,
Mike
More information about the asterisk-users
mailing list