[asterisk-users] Answering machine dectection (AMD)
Etann
manuliste at manu-dpk.net
Thu Feb 9 10:20:24 CST 2012
Hi,
I'll try to havebeen help for asterisk AMD module.
Sorry for my bad english but I'll try to speak the better I'll able to do.
So, here's my project:
I did IVR.
If you're pressing 1 key, asterisk's calling a mobile phone line.
During the ringing, asterisk is lunching musiconhold for waitting aswnering response.
If someone's asnwering, that's nice, I'm keeping over the line.If aswering machine mobile is responsing, I'd like to get asterisk voicemail.
I don't know if it's clear.
There's my diaplan :
[ServeurPro]
exten => s,1,Ringing()
exten => s,2,Wait(2)
exten => s,3,Answer()
exten => s,4,Set(NbInvalide=0)
exten => s,5,Set(NbEssai=0)
exten => s,6,background(${ChmAudio}/ServeurProBienvenu)
exten => s,7,WaitExten(2)
exten => 1,1,AMD()
exten => 1,2,GotoIf($["${AMDSTATUS}"=="MACHINE"]?1,4)
exten => 1,3,Dial(SIP/06XXXXXXXX at ippi_outgoing2,40,m(Attente))
exten => 1,4,Voicemail(801 at FloriePro,us)
(...)
exten => i,1,Set(NbInvalide=$[${NbInvalide}+1]})
exten => i,2,Gotoif($["${NbInvalide}" < "3"]?:6)
exten => i,3,Playback(${ChmAudio}/ErreurSaisie)
exten => i,4,Playback(${ChmAudio}/RetourMenu)
exten => i,5,Goto(s,6)
exten => i,6,Playback(${ChmAudio}/ErreurSaisie)
exten => i,7,Playback(${ChmAudio}/Aurevoir)
exten => i,8,Hangup()
exten => t,1,Set(NbEssai=$[${NbEssai}+1])
exten => t,2,Gotoif($["${NbEssai}" < "3"]?:5)
exten => t,3,Playback(${ChmAudio}/DemandeIncomprise)
exten => t,4,Goto(s,6)
exten => t,5,PlayBack(${ChmAudio}/Aurevoir)
exten => t,6,Hangup()
Then AMD Module is right.
But it's detecting when I'm calling and talking for example and not when someone or answering machine are answering.
Please someone can help me ?
Thank you very much in advance for replies
--------------------------------------------------------------------------------
AMICALEMENT
Manu
SITES WEBS
Mon site web Officiel (Manu-dpk.net)
Ecoutez Radio DPK
CONTACT
- E-mail : manuliste at manu-dpk.net
- Messenger (WLM) : msn at manu-dpk.net
- Skype : manu-dpk
--------------------------------------------------------------------------------
PS : Pour le respect de l'environnnement, n'imprimez ce mail qu'en cas de nécessité.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120209/3b0e88b8/attachment.htm>
More information about the asterisk-users
mailing list