[SR-Users] Rewrite RURI
Olle E. Johansson
oej at edvina.net
Mon Apr 29 10:45:05 CEST 2013
29 apr 2013 kl. 10:32 skrev Grant Bagdasarian <GB at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130429/8bb4d366/attachment.html>
More information about the sr-users
mailing list