<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Look at the features-callfwd.cfg example from onsip.org, now available
here:<br>
<a class="moz-txt-link-freetext" href="http://www.iptel.org/ser/doc/gettingstarted">http://www.iptel.org/ser/doc/gettingstarted</a><br>
g-)<br>
<br>
ram wrote:
<blockquote
cite="midb74751490608231101t2cc9779bw50f9e14c1b6e46cb@mail.gmail.com"
type="cite">
<div>Hi</div>
<div> </div>
<div>I have existing SER Running</div>
<div> </div>
<div>i have local users ( extensions) and DID ( all other countries)</div>
<div> </div>
<div>iam able to make calls in and out , there is no problem</div>
<div> </div>
<div>but when the user not available, it has to send to Voice mail,
but its only sending the users</div>
<div>who are locally start with 9*, </div>
<div> </div>
<div>how can i send the user start with 9 or any DID not availble
send to voicemail</div>
<div> </div>
<div>here is my config</div>
<div> </div>
<div>
<p> if (!lookup("location") &&<br>
( uri=~"^sip:<a href="mailto:9.*@domain.com">9.*@domain.com</a>"
)<br>
) {</p>
<p> # Voicemail specific configuration - begin</p>
<p> if(method=="ACK" || method=="INVITE" ||
method=="BYE"){</p>
<p> setflag(2);<br>
if(t_newtran()){</p>
<p> t_reply("100","Trying -- just wait
a minute !");</p>
<p> if(method=="INVITE"){<br>
log(1,"**************** vm
start - begin ******************\n");<br>
if(!vm("/tmp/am_fifo","voicemail")){
<br>
log("could not contact the
answer machine\n");<br>
t_reply("500","could not
contact the answer machine");<br>
};<br>
log(1,"**************** vm start - end
******************\n");<br>
break;<br>
};</p>
<p> if(method=="BYE"){<br>
log(1,"**************** vm end - begin
******************\n");<br>
if(!vm("/tmp/am_fifo","bye")){
<br>
log("could not contact the
answer machine\n");<br>
t_reply("500","could not
contact the answer machine");<br>
};<br>
log(1,"**************** vm end - end
******************\n");<br>
break;<br>
};<br>
}
<br>
else {<br>
log("could not create new transaction\n");<br>
sl_send_reply("500","could not create new
transaction");<br>
};
</p>
<p> break;<br>
};<br>
break;<br>
};<br>
</p>
<p> </p>
<p>any help will be great</p>
<p> </p>
<p>Ram</p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>
</pre>
</blockquote>
</body>
</html>