<div dir="ltr"><br><div>Thanks for reply, But i am confused here how do i pass that variable to ds_select_dst(set, alg) function?</div><div><br></div><div>currently i have following set in my script, how do i replace "0" with variable? do you know? is there built in variable? </div><div><br></div><div>ds_select_dst("0", "4") <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 19, 2014 at 11:58 AM, campusvtv <span dir="ltr"><<a href="mailto:campusvtv@gmail.com" target="_blank">campusvtv@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
maybe you can configure the users using the same initial number for
the same group.<br>
<br>
Example:<br>
group 1<br>
1001<br>
1002<br>
1003<br>
1104<br>
<br>
group2<br>
2001<br>
2002<br>
2003<br>
2004<br>
<br>
then extract first value from $rU pseudo variable (group 1 is 1,
group 2 is 2) and use this group on the ds_select_dst(set, alg [,
max_results]) function.<br>
<br>
Regards<br>
<br>
<br>
<div>El 19/11/2014 11:31, Satish Patel
escribió:<br>
</div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hi,
<div><br>
</div>
<div>We have running opensips 1.12 with dispatcher, we want to
route call to dispatcher bases on specific users. Is there any
way we can implement that scenario? </div>
<div><br>
</div>
<div>Ex:</div>
<div><br>
</div>
<div>UserA ---> dispatcherA</div>
<div>UserB ---> dispatcherB </div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>