[SR-Users] Dispatcher: ds_select_domain(set, alg) with a pseudo variable.
Daniel-Constantin Mierla
miconda at gmail.com
Thu Jul 15 10:53:04 CEST 2010
Hello,
On 7/15/10 9:15 AM, Vic Jolin wrote:
> I sure would love to know if this will work
>
> On Thu, Jul 15, 2010 at 2:01 PM, Geoffrey Mina <geoffreymina at gmail.com
> <mailto:geoffreymina at gmail.com>> wrote:
>
> How difficult would it be to make ds_select_domain(set, alg)
> accept a pseudo variable for the "set" argument? I would like to
> map the $rU to a specific dispatcher set via a database table. I
> suppose i could just hard code three or four sets with a
> conditional if() statement, but I would prefer to make it a little
> more dyanimc.
>
> Correct me if I am wrong in my assumption that ds_select_domain()
> doesn't accept pseudo variables.
>
the function accept variables in both parameters, set and alg.
Cheers,
Daniel
>
> Thanks.
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
> list
> sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
--
Daniel-Constantin Mierla
http://www.asipto.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100715/49bdd8b6/attachment.htm>
More information about the sr-users
mailing list