[SR-Users] unset host domain in dispatcher module

Daniel-Constantin Mierla miconda at gmail.com
Tue Dec 6 23:09:04 CET 2011


Hello,

On 12/6/11 7:08 PM, Uri Shacked wrote:
> Hi,
> i am using the dispatcher module in order to send the call to a LNP 
> server.
> 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.
> how do i do that?
one option: t_relay_to(...) with the parameter pointing to the proxy 
where you want to send the request.

> it seems that kamailio dispatcher sets the host domain in the Internet 
> Protocol, and the sip request line does not change

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().

> so to be short.. two questions:
> 1. how do i "undo" the dispatcher?
> 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...)
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?

Cheers,
Daniel

> the carrierroute module, do it better, but i need the dispatcher for 
> the "keep alive" usage.
> ideas will be great :-)
> Uri
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20111206/c7b932ac/attachment.htm>


More information about the sr-users mailing list