[OpenSIPS-Users] dispatcher route call based on users

Satish Patel satish.txt at gmail.com
Wed Nov 19 18:10:50 CET 2014


Thanks for reply, But i am confused here how do i pass that variable to
ds_select_dst(set, alg) function?

currently i have following set in my script, how do i replace "0" with
variable? do you know? is there built in variable?

ds_select_dst("0", "4")

On Wed, Nov 19, 2014 at 11:58 AM, campusvtv <campusvtv at gmail.com> wrote:

>  Hello,
>
> maybe you can configure the users using the same initial number for the
> same group.
>
> Example:
> group 1
> 1001
> 1002
> 1003
> 1104
>
> group2
> 2001
> 2002
> 2003
> 2004
>
> 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.
>
> Regards
>
>
> El 19/11/2014 11:31, Satish Patel escribió:
>
> Hi,
>
>  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?
>
>  Ex:
>
>  UserA ---> dispatcherA
> UserB ---> dispatcherB
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141119/3af9f0f9/attachment.htm>


More information about the Users mailing list