[SR-Users] Dispatcher question

Klaus Darilion klaus.mailinglists at pernau.at
Sat Nov 10 01:20:54 CET 2012


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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121110/e65fb96b/attachment-0001.htm>


More information about the sr-users mailing list