<div dir="ltr"><font color="#3366ff"><font><font face="tahoma,sans-serif">Hi,<br><br>When you use forward( ) it loops itself since the dispatcher function is not selecting a destination, and the SIP request is destined to your server. Do you have any error in your log file?<br clear="all">


</font></font></font><div dir="ltr"><font color="#3366ff" face="tahoma, sans-serif"><br></font><div><font color="#3366ff" face="tahoma, sans-serif">Reda</font></div></div><br>
<br><br><div class="gmail_quote">On Mon, Apr 16, 2012 at 14:31, Karsten Horsmann <span dir="ltr">&lt;<a href="mailto:khorsmann@gmail.com" target="_blank">khorsmann@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hi Carsten,<br>
<br>
<br>
its still the same if i use ds_select_domain to rewrite the ruri.<br>
It seems not to fetch the values from the database.<br>
<br>
#!ifdef WITH_DISPATCHER<br>
        if (!lookup(&quot;location&quot;)) {<br>
                if(ds_select_domain(&quot;1&quot;, &quot;4&quot;)) {<br>
                xlog(&quot;DISPATCHER ds_select_dst\n&quot;);<br>
                forward();<br>
                }<br>
        }<br>
#!endif<br>
<br>
2012/4/16 Carsten Bock &lt;<a href="mailto:carsten@ng-voice.com" target="_blank">carsten@ng-voice.com</a>&gt;:<br>
&gt; Hi,<br>
&gt;<br>
&gt; you should distinguish between ds_select_dst and ds_select_domain:<br>
&gt; ds_select_dst only sets $du (Next Hop) while ds_select_domain actually<br>
&gt; rewrites the Request URI (like a lookup would do).<br>
&gt; Maybe this is your problem.<br>
&gt;<br>
<span><font color="#888888"><br>
<br>
--<br>
Mit freundlichen Grüßen<br>
*Karsten Horsmann*<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</font></span></blockquote></div><br></div>