<html><div style='background-color:'><DIV class=RTE>Hello, I'm trying to test voicemail just with one sip-phone destination (331106), and I want the calls to be forwarded to voicemail in case the phone is busy or doesn't answer in 15 seconds (modparam("tm","fr_inv_timer",15) and modparam("tm","fr_timer",10)). </DIV>
<DIV class=RTE>I looked at the examples and tried. I enclose the important parts of ser.cfg:</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>First I tried:</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE> route { if (!uri=~"^sip:331105@*") //this will be sip 331106</DIV>
<DIV class=RTE> {<BR> t_on_failure("1");</DIV>
<DIV class=RTE> <BR> }</DIV>
<DIV class=RTE> if (!t_relay()) {<BR> sl_reply_error();<BR> }</DIV>
<DIV class=RTE><BR>}</DIV>
<DIV class=RTE>failure_route[1]{<BR> t_relay_to_udp ( "172.25.97.19","5090"); <BR> break;<BR>}</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>I got the errors:</DIV>
<DIV class=RTE>ERROR: t_forward_nonack: no branched for fwding<BR>ERROR: failure_route: t_relay_to failed</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>Then I changed failure_route to:</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>failure_route[1]{<BR> revert_uri();<BR> rewritehostport("172.25.97.19:5090");<BR> append_branch(); </DIV>
<DIV class=RTE> t_relay_to_udp ( "172.25.97.19","5090");<BR>}</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>And I got the errors:</DIV>
<DIV class=RTE>1(9029) ERROR: t_should_relay: status rewrite by UAS: stored: 408, received: 487<BR> 9(9053) ERROR: fifo_t_reply: lookup failed<BR> 9(9053) ERROR: fifo_server: command (vm_reply) processing failed</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>I'm sure the way to do it must be very simple, but I just don't know how to do it. Pleas help!!</DIV>
<DIV class=RTE>Llanos</DIV></div></html>