Hi all, <div><br></div><div>I'm using kamailio like dispatcher, for INVITE requests. </div><div>The client is the IMS bench as UAC, and the backend node are </div><div>sip servlet container, in which is running an UAS servlet. </div>
<div>Between the client and kamailio there is the OpenIMSCore. </div><div>I was using the<span style="font-family:Helvetica, Arial;font-size:12px"> hash over callid like algorithm, and all</span></div>
<div>was going well. <br>Now I'm trying to use the last algorithm, based on the call load <br>of the destination backend, and the ACK message of<br>the same dialog is sent to another instance. I read on the documentation<br>
that there is no SIP dialog tracking depending on other modules.<br>This is my configuration: <br><br># main request routing block<br>route {<br> if ( !mf_process_maxfwd_header("10") )<br> { sl_send_reply("483","To Many Hops"); exit; }</div>
<div> # select from first dst group by round-robin<br> if(!ds_select_dst("1", "10"))<br> { sl_send_reply("500", "No destination available"); exit; }<br>
<br></div><div> t_on_failure("RTF_DISPATCH");<br> if(!t_relay())<br> { sl_reply_error(); exit; }<br>}</div><div><br># dispatcher failure routing block<br>failure_route[RTF_DISPATCH] {<br>
if (t_is_canceled()) { exit; }<br> # select next destination only for local timeout<br> if (t_branch_timeout() & !t_branch_replied())<br> { if(ds_next_dst()) </div><div> { t_on_failure("RTF_DISPATCH"); t_relay(); exit; }</div>
<div> }</div><div>}<br><br>Thanks and best regards,<br>Giuseppe</div>