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
Yes, this is achieved by changing the destination set ($du), or direct
arguments to t_relay():
http://kamailio.org/docs/modules/4.0.x/modules/tm.html#t_relay
This has the effect of saying, set the Request URI to X, but on the
network (IP) and transport (UDP, TCP, etc.) level, send the
Hi Grant,
that's easy:
$ru = sip:$rU@10.0.0.3;
$du = sip:10.0.0.2;
Done.
Carsten
2013/4/29 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
Grant Bagdasarian writes:
Is it possible to have Kamailio rewrite the Request URI of the INVITE
message but sent the INVITE to another address first?
yes, you can set $du and t_relay() sends the request accordingly no
matter what r-uri is.
-- juha
Cool. Thanks!
-Original Message-
From: sr-users-boun...@lists.sip-router.org
[mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alex Balashov
Sent: Monday, April 29, 2013 10:37 AM
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] Rewrite RURI
Yes, this is achieved
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