Hello List. I have a question regarding VoiceMail. So far, i have seen examples when the user sets his own voicemail "ON", and this is reflected in if (is_user_in("Request-URI", "voicemail")) { setflag(4);
The user is in the voicemail group. So when call arrives all you have to do is check the setflag to forward the call to VM system What i'm looking for is to activate the voicemail on busy or in a "unanswered call" answers (408 or 496). Is there a way to do this?. Can someone give me an example of how to do this?.
Thanks in advance
Best regards,
Ricardo Martinez.-
Hi,
--- Ricardo Martinez rmartinez@redvoiss.net wrote:
What i'm looking for is to activate the voicemail on busy or in a "unanswered call" answers (408 or 496). Is there a way to do this?. Can someone give me an example of how to do this?.
Add a failure route in your script, and check for the status in that and send calls to voicemail server.
if (t_check_status ("408|496") { revert_uri(); rewritehostport("vm server ip:port"); append_branch(); t_relay(); break; }
HTH,
===== Girish Gopinath gr_sh2003@yahoo.com
__________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com