Hi,

I have simple dispatcher that is dispatching initial invites to the core
router. The question is, how can I tell kamailio to not add the Via header
in the INVITE. I mean, I want that this dispatcher will be completely
transparent to the core router, so any responses will go directly to the
original sender, not to the dispatcher. This is my request route:

request_route {

if (is_method("INVITE")) {
if (!ds_select_domain(1, 0)) {
xlog("L_INFO", "[MAIN] ERROR: Proxy1 failed");
     if (!ds_select_domain(2, 0)) {
xlog("L_INFO", "[MAIN] FATAL: Proxy2 failed");
exit;
}
}
xlog("L_INFO","[MAIN] Dispatching INVITE to $rd");
forward();
}
}

1 and 2 are defined in dispatcher.list. If it can be done in kamailio,
please how. Thank you!

Mino
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to