Hi Carsten.<br><br>The configuration works. It&#39;s actually where (which line) in the configuration I should put:<br> ds_select_dst(&quot;1&quot;, &quot;0&quot;);<br><br>:) I&#39;m not strong in Kamailio and just want it to load balance between Freswitch servers. So I have a basic installation of Kamailio, without MySQL, NAT, Auth etc.<br>

<br><div class="gmail_quote">On Wed, Sep 28, 2011 at 5:09 PM, Carsten Bock <span dir="ltr">&lt;<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.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,<br>
<br>
When you&#39;ve got problems with placing &quot;ds_select_dst()&quot; in your<br>
config, you should do the following:<br>
- Open an Editor of your choice<br>
- go to the line, where you want to place it<br>
- type: ds_select_dst(&quot;1&quot;, &quot;0&quot;);<br>
- save &amp; exit<br>
<br>
Just kidding! You should do the following with your config:<br>
kamailio -f &lt;path-to-your-config&gt; -c<br>
<br>
What error is displayed? If none, then check your syslog for errors.<br>
Could you post your config? It is better to put a full path in the<br>
config to the dispatcher-file... otherwise it might be dependent of,<br>
where you are running the init.d-skript/kamailio....<br>
<br>
I am using dispatcher in Kamailio 1.5, 3.1 and 3.2, everythings works<br>
fine with me.<br>
<br>
Kind regards,<br>
Carsten<br>
<br>
2011/9/28 Henrik Aagaard Sørensen &lt;<a href="mailto:henrikaagaardsorensen@gmail.com">henrikaagaardsorensen@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; I&#39;ve installed 2 Freeswitch on different servers and would like to have<br>
&gt; Kamailio load balance between them.<br>
&gt;<br>
&gt; I&#39;ve installed Kamailio following:<br>
&gt; <a href="http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git" target="_blank">http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git</a><br>
&gt;<br>
&gt; I&#39;ve created dispatcher.list and added:<br>
&gt;<br>
&gt; loadmodule &quot;dispatcher.so&quot;<br>
&gt;<br>
&gt; modparam(&quot;dispatcher&quot;, &quot;list_file&quot;, &quot;../etc/dispatcher.list&quot;)<br>
&gt;<br>
&gt; in the kamailio.cfg.<br>
&gt;<br>
&gt; But looking at:<br>
&gt; <a href="http://kamailio.org/docs/modules/3.1.x/modules_k/dispatcher.html" target="_blank">http://kamailio.org/docs/modules/3.1.x/modules_k/dispatcher.html</a><br>
&gt; I&#39;m having difficulties to placing:<br>
&gt;<br>
&gt; ds_select_dst(&quot;1&quot;, &quot;0&quot;);<br>
&gt;<br>
&gt; in the kamailio.cfg that was created originally.<br>
&gt;<br>
&gt; Can anyone help me?<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
&gt; <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
&gt; <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>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Carsten Bock<br>
CEO (Geschäftsführer)<br>
<br>
ng-voice GmbH i. Gr.<br>
Schomburgstr. 80<br>
D-22767 Hamburg / Germany<br>
<br>
<a href="http://www.ng-voice.com" target="_blank">http://www.ng-voice.com</a><br>
mailto:<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a><br>
<br>
Mobile <a href="tel:%2B49%20179%202021244" value="+491792021244">+49 179 2021244</a><br>
Office <a href="tel:%2B49%2040%2034927219" value="+494034927219">+49 40 34927219</a><br>
Fax <a href="tel:%2B49%2040%2034927220" value="+494034927220">+49 40 34927220</a><br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">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>
</blockquote></div><br>