Hi, need a quick help ... it should be easy but ... exten =>_9898,1,Answer exten =>_9898,2,VoiceMailMain(${CALLERID}@domain) Accepting overlap call from '342' to '9' on channel 0/2, span 3 -- Executing Answer("Zap/8-1", "") in new stack -- Executing VoiceMailMain("Zap/8-1", "@domain") in new stack As you can see there variable CALLERID is empty, why ? I tried also with CALLERIDNUM, same result. Tnx for any help ..... -- Best regards, Alessio mailto:afoc@interconnessioni.it
asterisk-users-bounces@lists.digium.com wrote:> Accepting overlap call from '342' to '9' on channel 0/2, span 3 > -- Executing Answer("Zap/8-1", "") in new stack > -- Executing VoiceMailMain("Zap/8-1", "@domain") in new stack > As you can see there variable CALLERID is empty, why ?Sending a question again doesn't mean it wil be answered. Anyway, Wait() is your friend I think, because sometimes caller id information is not immediately sent. I'd wait one or two seconds before dialing out again. -- Andreas Sikkema Rits tele.com Scheepmakersstraat 11 3011 VH Rotterdam t: +31 (0)10 2245544 f: +31 (0)10 2245540
Clayton Smith
2004-Sep-02 11:06 UTC
[Asterisk-Users] Leaving messages on answering machines (no its not spam)
Hey there I'm trying to get asterisk to leave messages on answering machines So i have a pretty cool php notifying script (it notifys, it doesn't spam!!) to phones and cellphones Now all is fine if a human picks up, but if an answering machine picks up, well the script plays, but only the ending is recorded So really, the tricky part is knowing WHEN to leave a message Now to the best of my knowledge, there is no way to tell when an answering machine picks it (be it the "sprint cellphone operator", or a home owned cellphone), but i was thinking... I could play my script using an EAGI script So i get extensions to run an EAGI script, that then manages everything, So when the call is picked up, relay the message, but if a high pitched beep is detected (via the EAGI script), repeat the message from scratch Now I'm no expert on asterisk, and i can see that this method could be a little buggy, so I'm wondering if there are any suggestions or if there is a better way to leaving messages on answering machines Any help or suggestions will be greatly appreciated Thanks