<br><br>
<div class="gmail_quote">2008/1/14 dim &lt;<a href="mailto:dim_hatzi@yahoo.gr">dim_hatzi@yahoo.gr</a>&gt;:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">hi..<br>I have attached my &quot;running&quot; ser.cfg...in which i want to include something<br>like :<br>
<br>if (uri =~ &quot;sip:1.*@&quot;) &nbsp;{<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;log(&quot;Forwarding to 5070&quot;);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rewritehostport(&quot;localhost:5070&quot;);<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;t_relay_to_udp(&quot;localhost&quot;,&quot;5070&quot;);<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;<br>}<br><br>... in order to uris start from 1 to be forwarded to my other ser (stack for<br>sems)..<br><br>Where exactly in my ser.cfg, should i put this ???<br><br>thank you very much...<br>
</blockquote>
<div>&nbsp;</div>
<div>its all depends what exactly trying to achieve</div>
<div>&nbsp;</div>
<div>if you are looking some one dials 1XXXX and want to send to SEM&nbsp;, you can put them in route logic</div>
<div>&nbsp;</div>
<div>ram</div>
<div>&nbsp;</div></div><br>