[Serusers] SER+SEMS
Alexander Philipp Lintenhofer
lintenhofer at aon.at
Thu Mar 10 16:22:49 CET 2005
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 at veritelvoice.com>:
> 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 at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
More information about the sr-users
mailing list