Thanks Jiri,
I'll have a look at the CVS version. I'm sure there will be more hacking to do only to make it compile.... :(
However, got the replacement of the "c=.." part working. I'll test this as soon as I can.
Jaime
Jiri Kuthan jiri@iptel.org on 24/02/2003 13:20:00
To: Jaime GILL/EN/HTLUK@HTLUK Nils Ohlmeier nils@ohlmeier.de cc: Jan Janak J.Janak@sh.cvut.cz serusers@lists.iptel.org
Subject: Re: [Serusers] FCP support in SER: Modifying SDP
At 12:50 PM 2/24/2003, jaime.gill@orange.co.uk wrote: [...]
nit: it's not the "v=" line, but "o=" ('owner') line which you are replacing. However, you are not probably worried so much about this one -- it maintains primarily a (not widely utilizied) identification purpose. All "c=" occurences do matter. (In addition to port numbers in "m=" lines.)
[...]
I have been trying to understand how the proxy builds the forwarded message
from
I suggest you used the mhomed option (available only on CVS). The issue is you need to print the correct IP address in Via on multihomed host. With mhomed enabled, IP routing is utilized to determine the right IP address. Let me know if you need something more for getting Via right.
mentioned
what
is the best way to change the SDP part?
I suggest here too -- use the CVS version. It has departed from the use of the buffers (orig and buf) -- we have now just one buffer (buf) without any zero termination. Previously, the two buffers and 0-termination caused lot of issues, some of them possibly annoying you right now. Look at the textops/replace_all action (only on CVS too) to see how to replace multiple occurences of a string in SIP messages. (Caution: you will eventually need to calculate new SDP body size and change content-length too.)
The other of my questions is whether all this mess with NAT's will get solved when the proxy supports TCP,
The major problem is media, which will keep using UDP.
and whether this is the best approach to solve the SIP through NAT/FW problem.
As all NAT traversal methods -- none of them is perfect, each has cons and pros. The benefit of FCP is that once fcpd works, maintenance of the SIP code is easier in user space. Also, you can better couple your pinhole policy with SER's SIP-layer policy.
I'm not aware of such. There is Billy Biggs masquerading module, but it is pretty old and no longer maintained.
-Jiri
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
******************************************************************************* Important. Confidentiality: This communication is intended for the above-named person and may be confidential and/or legally privileged. Any opinions expressed in this communication are not necessarily those of the company. If it has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender immediately.
Monitoring/Viruses Orange may monitor all incoming and outgoing emails in line with current legislation. Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.
Orange PCS Limited is a subsidiary of Orange SA and is registered in England No 2178917, with its address at St James Court, Great Park Road, Almondsbury Park, Bradley Stoke, Bristol BS32 4QJ. *******************************************************************************