<div dir="ltr"><div>Daniel hi,</div>
<div> </div>
<div>thanks for the reply.</div>
<div>i woke up this mornning and tried to change the destination set on the dispatcher DB table.</div>
<div>it was &quot;sip:user@host&quot;... i changed it to &quot;sip:host&quot; and used ds_select_domain.</div>
<div>worked great, the R-URI host changed as needed.</div>
<div> </div>
<div>regarding the t_relay(host,port) option. the problem with that is that the t_relay does not accept $avp()....</div>
<div> </div>
<div>any ideas?<br><br></div>
<div class="gmail_quote">On Wed, Dec 7, 2011 at 12:09 AM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div bgcolor="#FFFFFF" text="#000000">Hello, 
<div class="im"><br><br>On 12/6/11 7:08 PM, Uri Shacked wrote: 
<blockquote 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></div>one option: t_relay_to(...) with the parameter pointing to the proxy where you want to send the request. 
<div class="im"><br><br>
<blockquote 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></div>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(). 
<div class="im"><br><br>
<blockquote type="cite">
<div dir="ltr">
<div>so to be short.. two questions:</div>
<div>1. how do i &quot;undo&quot; 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></div>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 type="cite">
<div class="im">
<div dir="ltr">
<div> </div>
<div>the carrierroute module, do it better, but i need the dispatcher for the &quot;keep alive&quot; usage.</div>
<div> </div>
<div>ideas will be great :-)</div>
<div> </div>
<div>Uri </div></div><br>
<fieldset></fieldset> <br></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888"></font></span></blockquote><span class="HOEnZb"><font color="#888888"><br><pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com</a>
<a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre></font></span></div></blockquote></div>
<br></div>