[SR-Users] dispatcher didnt use the gateway

Reda Aouad reda.aouad at gmail.com
Mon Apr 16 14:48:02 CEST 2012


Hi,

When you use forward( ) it loops itself since the dispatcher function is
not selecting a destination, and the SIP request is destined to your
server. Do you have any error in your log file?

Reda



On Mon, Apr 16, 2012 at 14:31, Karsten Horsmann <khorsmann at gmail.com> wrote:

> 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*
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120416/642b98c0/attachment.htm>


More information about the sr-users mailing list