29 apr 2013 kl. 10:32 skrev Grant Bagdasarian <g...@cm.nl>: > Hello, > > Is it possible to have Kamailio rewrite the Request URI of the INVITE message > but sent the INVITE to another address first? > For example > - Kamailio (10.0.0.1) receives an INVITE > - Kamailio rewrites the RURI to 10.0.0.3 > - Kamailio sends the INVITE to 10.0.0.2 > - The application at 10.0.0.2 sends the INVITE to 10.0.0.3
Check the $du pseudo-variable that sets the destination of the message (outbound proxy) for a request. You can also use the functions that relay/forward to specific address instead of the RURI. So yes, it's possible. /O
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users