<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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.<br>
<br>
regards<br>
Klaus<br>
<br>
Am 09.11.2012 17:28, schrieb Mino Haluz:
<blockquote
cite="mid:CAFA7yDQjxVfwBSWptEZ+KeMo4Ccgcv7HuONchPt_8SfHBN4vQw@mail.gmail.com"
type="cite">Hi,
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<div>
<div>request_route {</div>
<div><br>
</div>
<div><span class="" style="white-space:pre"> </span>if
(is_method("INVITE")) {</div>
<div><span class="" style="white-space:pre"> </span>if
(!ds_select_domain(1, 0)) {</div>
<div><span class="" style="white-space:pre"> </span>xlog("L_INFO",
"[MAIN] ERROR: Proxy1 failed");</div>
<div><span class="" style="white-space:pre"> </span> <span
class="" style="white-space:pre"> </span>if
(!ds_select_domain(2, 0)) {</div>
<div><span class="" style="white-space:pre"> </span>xlog("L_INFO",
"[MAIN] FATAL: Proxy2 failed");</div>
<div><span class="" style="white-space:pre"> </span>exit;</div>
<div><span class="" style="white-space:pre"> </span>}</div>
<div><span class="" style="white-space:pre"> </span>}</div>
<div><span class="" style="white-space:pre"> </span>xlog("L_INFO","[MAIN]
Dispatching INVITE to $rd");</div>
<div><span class="" style="white-space:pre"> </span>forward();</div>
<div><span class="" style="white-space:pre"> </span>}</div>
<div>}</div>
</div>
<div><br>
</div>
<div>1 and 2 are defined in dispatcher.list. If it can be done in
kamailio, please how. Thank you!</div>
<div><br>
</div>
<div>Mino</div>
<div><br>
</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
</body>
</html>