There is send() function in core which forwards the request without any
message manipulation. But this function is not flexible, the destination
must be set staticly. Further you have the problem with the responses,
which will be routed back to Kamailio and Kamailio will drop the responses.
regards
Klaus
Am 09.11.2012 17:28, schrieb Mino Haluz:
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
_______________________________________________
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