[asterisk-users] How to deal with voice SMS - Asterisk 1.4

Administrator TOOTAI admin at tootai.net
Thu Jul 15 03:15:37 CDT 2010


Hi list,

I face a problem with voice SMSs. In some countries, if you send an SMS 
to a landline number, the mobile operator will record the message and 
then call this number. When picking up the phone you hear "You get an 
SMS from <phone number>, press 1 to listen the message, 2 to repeat the 
sender phone number". If you press 1 you hear the message and after it 
you have the possibility to press 1 to repeat message or 2 to repeat the 
sender phone number.

In a perfect world it's OK, but not here. There is fax detection, users 
send to voicemail directly, companies message with open hours aso. How 
to treat this with Asterisk knowing that such kind of messages are 
sended -at least for some operators- with a special callerID?

At this time, I check the length of the first message, record it message 
for length seconds, then sendDTMF(1) and go to voicemail. All is good 
except that:

- if first message length is changed it's no more working
- same if the behaviour is changed (eg press 2 or 3 or ...)
- but more of all, the callee never know the phone number from the 
person who send the message

Is it possible to know the voicemail file name just being recorded? In 
this case, I could merge my first recorded file with the one of the 
voicemail.

Other solution? How do you guys are handling such situation?

-- 
Daniel



More information about the asterisk-users mailing list