Set timers:
modparam("tm", "fr_inv_timer", 15)
modparam("tm", "fr_timer", 10)
ser uses failure_route when timer runs out:
t_on_failure("1");
in failure_route:
if(method==INVITE)
{
t_reply("100","Trying -- relaying to voicemail-agent");
revert_uri();
lookup("aliases");
if(!vm("/tmp/am_fifo","voicemail"))
{
t_reply("500","could not contact voicemail\n");
}
}
else if(method==BYE)
{
if(!vm("/tmp/am_fifo","bye"))
{
t_reply("500","could not contact voicemail\n");
}
}
regards,
Philipp
Quoting Narcis GRATIANU <narcis(a)veritelvoice.com>om>:
Hello !
I have a SER server and I installed also SEMS for providing voicemail to
my subscribers. The problem is that the calls are redirected to the
voicemail only when the subscribers are not logged in. How can I
redirect the call to the voicemail let's say after 5 rings, even when
the subscriber is logged in ?
Thank you !
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers