<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
On 12/6/11 7:08 PM, Uri Shacked wrote:
<blockquote
cite="mid:CAMMbDhQ32rNXyT1PK-bC3KEx88qXB=vXqQfGJC+JyKwoXc6ZhQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi,</div>
<div> </div>
<div>i am using the dispatcher module in order to send the call
to a LNP server.</div>
<div>after the 3xx reply from the LNP server, i would like to
send the invite back to the proxy that initiate the call from
the beginnig.</div>
<div>how do i do that? </div>
</div>
</blockquote>
one option: t_relay_to(...) with the parameter pointing to the proxy
where you want to send the request.<br>
<br>
<blockquote
cite="mid:CAMMbDhQ32rNXyT1PK-bC3KEx88qXB=vXqQfGJC+JyKwoXc6ZhQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>it seems that kamailio dispatcher sets the host domain in
the Internet Protocol, and the sip request line does not
change</div>
</div>
</blockquote>
<br>
No, the dispatcher does not work at IP packet layer, it is updating
the request URI with ds_select_domain() or sets internal outbound
proxy address with ds_select_dst().<br>
<br>
<blockquote
cite="mid:CAMMbDhQ32rNXyT1PK-bC3KEx88qXB=vXqQfGJC+JyKwoXc6ZhQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>so to be short.. two questions:</div>
<div>1. how do i "undo" the dispatcher?</div>
<div>2. how do i make the dispatcher change the requst lineas
well? (i am using ds_select_dst or ds_select_domain and they
do the same...)</div>
</div>
</blockquote>
Changing the request URI is via ds_select_domain(), I can bet it is
working fine as I use it in many places -- if it does not do it for
you, can you paste here the config file used for doing dispatching
along with the SIP trace (ngrep) of such call?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
cite="mid:CAMMbDhQ32rNXyT1PK-bC3KEx88qXB=vXqQfGJC+JyKwoXc6ZhQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div> </div>
<div>the carrierroute module, do it better, but i need the
dispatcher for the "keep alive" usage.</div>
<div> </div>
<div>ideas will be great :-)</div>
<div> </div>
<div>Uri </div>
</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>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
</body>
</html>