I've looked and looked, and not sure if there is a solution to this problem:
Here's how it goes:
If someone I call with my teleyapper system, has a cell phone,. doesn't answer the call, depending on how long the voice mail is, or how long it rings...etc, it only leaves part of a message. Or, it'll catch the end of the original recording/text2speech and also the 'restarting' and plays a second time "for the answering machine"
Does anyone have a solution to this? I'm not sure it can be done. Because, some voicemail systems when they hear silence, they'll cut it off (they assume the person is done leaving a message). There is not way for the system to know when it's actually been picked up. So, if it rings past my 8 second wait, it goes ahead and plays my text2speech. It seems like there is just too many variables. voicemails don't answer like answering machines..
my setup.. incase I have a mistake somewhere that corrects this. problem
[broadcast]
exten => s,1,Answer
exten => s,2,Wait(8)
exten => s,3,Playback(custom/nv-yapintro)
exten => s,4,Wait(8)
exten => s,5,GotoIf($[${AMDSTATUS}=HUMAN]?s,6:s,9)
exten => s,6,BackgroundDetect(custom/testing11 |4250|50|3000)
exten => s,7,Playback(custom/testing11)
exten => s,8,Goto(talk,1)
exten => s,9,Swift("${MSG}")
exten => s,10,Goto(talk,1)
exten => t,1,Goto(talk,1)
exten => i,1,Goto(talk,1)
exten => o,1,Goto(talk,1)
exten => h,1,NoOp(Callee hung up call before menu. Dialed: ${DIAL} ID: ${ID}.)
exten => h,2,Set(STATUS='EarlyHangup'|g)
exten => h,3,DeadAGI(teleyapper2.php|${ID}|${STATUS}|${DIAL})
exten => h,4,Hangup
exten => talk,1,Goto(broadcast2,s,1)
exten => 0,1,Goto(custom3,0,1)
I don't think it's nessarry to post the broadcast2.. .because really the vm/amd should be right when the phone/cell is picked up. That's the only way it would work... i think.??
also on line s,5 I was working with the default teleyapper information... exten => s,5,GotoIf($["foo${MSG}" = "foo"]?s,6:s,9)
However, it's proved to be no different than what I am currently using.
Here's how it goes:
If someone I call with my teleyapper system, has a cell phone,. doesn't answer the call, depending on how long the voice mail is, or how long it rings...etc, it only leaves part of a message. Or, it'll catch the end of the original recording/text2speech and also the 'restarting' and plays a second time "for the answering machine"
Does anyone have a solution to this? I'm not sure it can be done. Because, some voicemail systems when they hear silence, they'll cut it off (they assume the person is done leaving a message). There is not way for the system to know when it's actually been picked up. So, if it rings past my 8 second wait, it goes ahead and plays my text2speech. It seems like there is just too many variables. voicemails don't answer like answering machines..
my setup.. incase I have a mistake somewhere that corrects this. problem
[broadcast]
exten => s,1,Answer
exten => s,2,Wait(8)
exten => s,3,Playback(custom/nv-yapintro)
exten => s,4,Wait(8)
exten => s,5,GotoIf($[${AMDSTATUS}=HUMAN]?s,6:s,9)
exten => s,6,BackgroundDetect(custom/testing11 |4250|50|3000)
exten => s,7,Playback(custom/testing11)
exten => s,8,Goto(talk,1)
exten => s,9,Swift("${MSG}")
exten => s,10,Goto(talk,1)
exten => t,1,Goto(talk,1)
exten => i,1,Goto(talk,1)
exten => o,1,Goto(talk,1)
exten => h,1,NoOp(Callee hung up call before menu. Dialed: ${DIAL} ID: ${ID}.)
exten => h,2,Set(STATUS='EarlyHangup'|g)
exten => h,3,DeadAGI(teleyapper2.php|${ID}|${STATUS}|${DIAL})
exten => h,4,Hangup
exten => talk,1,Goto(broadcast2,s,1)
exten => 0,1,Goto(custom3,0,1)
I don't think it's nessarry to post the broadcast2.. .because really the vm/amd should be right when the phone/cell is picked up. That's the only way it would work... i think.??
also on line s,5 I was working with the default teleyapper information... exten => s,5,GotoIf($["foo${MSG}" = "foo"]?s,6:s,9)
However, it's proved to be no different than what I am currently using.