[SR-Users] Dispatcher: ds_select_domain(set, alg) with a pseudo variable.

Geoffrey Mina geoffreymina at gmail.com
Thu Jul 15 22:45:55 CEST 2010


Thanks for the clarification.  That wasn't clear from the documentation
wiki.  Is there some standard documentation format we can establish to
clearly show what functions accept variables and what don't?

On Thu, Jul 15, 2010 at 4:53 AM, Daniel-Constantin Mierla <miconda at gmail.com
> wrote:

>  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>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
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierlahttp://www.asipto.com/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100715/d5697086/attachment-0001.htm>


More information about the sr-users mailing list