<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"><<a href="mailto:khorsmann@gmail.com" target="_blank">khorsmann@gmail.com</a>></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("location")) {<br>
if(ds_select_domain("1", "4")) {<br>
xlog("DISPATCHER ds_select_dst\n");<br>
forward();<br>
}<br>
}<br>
#!endif<br>
<br>
2012/4/16 Carsten Bock <<a href="mailto:carsten@ng-voice.com" target="_blank">carsten@ng-voice.com</a>>:<br>
> Hi,<br>
><br>
> you should distinguish between ds_select_dst and ds_select_domain:<br>
> ds_select_dst only sets $du (Next Hop) while ds_select_domain actually<br>
> rewrites the Request URI (like a lookup would do).<br>
> Maybe this is your problem.<br>
><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>