[SR-Users] dispatcher didnt use the gateway

Karsten Horsmann khorsmann at gmail.com
Mon Apr 16 14:31:54 CEST 2012


Hi Carsten,


its still the same if i use ds_select_domain to rewrite the ruri.
It seems not to fetch the values from the database.

#!ifdef WITH_DISPATCHER
        if (!lookup("location")) {
                if(ds_select_domain("1", "4")) {
                xlog("DISPATCHER ds_select_dst\n");
                forward();
                }
        }
#!endif

2012/4/16 Carsten Bock <carsten at ng-voice.com>:
> Hi,
>
> you should distinguish between ds_select_dst and ds_select_domain:
> ds_select_dst only sets $du (Next Hop) while ds_select_domain actually
> rewrites the Request URI (like a lookup would do).
> Maybe this is your problem.
>


-- 
Mit freundlichen Grüßen
*Karsten Horsmann*



More information about the sr-users mailing list