[Kamailio-Users] Carrierroute-Kamailio-1.4.3-Strip does not strip in the to: header
Henning Westerholt
henning.westerholt at 1und1.de
Wed Jul 15 15:58:34 CEST 2009
On Mittwoch, 15. Juli 2009, Omar Mendoza wrote:
> Everything works fine except the strip Nor the rewrite_prefix removes
> anything from the record route(not sure if it should do it) nor from
> the To: Header and the to header IP address remain keeps the Kamailio
> ip address.
Hi Omar,
this is the correct behaviour, the strip parameter in cr just modify the
request URI. The To header is not mangled, as this is the original
destination. Even if you strip the user to match the user part in R-URI, the
To will still contain your IP/ domain of the server.
> then many providers request the To: need to math the RURI invite.
You should ask your carriers if they really want you to do this. :) If yes,
then you could change the To by some other means, like the functions in the
textops module. Use first remove_hf to remove the old one, and then append_hf
a new according your requirements.
Henning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090715/700484cd/attachment.htm>
More information about the sr-users
mailing list