Hi,
I tried using the textops approach since it seemed the most sensible (wish I
had thaught of it), shame it didn't actually work :( HOWEVER, I've done a rough
cut of a force_rtp_proxy_from and it seems to work, atleast it correctly munges
the rtp traffic and I see it appearing on my lan (This stuff would be
impossible to work with without ethereal!!).
Neither of the SIP ua's are behaving themselves though, kphone sees the ack
and says it is connected but I don;t hear the audio, a grandstream budget one
doesn't even pick up on the ack (it see's the Ringing status from the other end
though).
I'll tidy up the code and pass it to the relevant people.
On Tue, Nov 25, 2003 at 06:23:35AM -0800, Gregory Sandul wrote:
Tristian,
When INVIVE arrives to you try to modify SIP body -
SDP "c=" with means of "replace" function of
textopt.so module. The decision to modify body may be
taken based of source IP and uri.
On reply to route you will need to modify "c=" again
and put another NIC's IP.
I've tryed to do it today but with some errors. I'll
try tomorow again.
It will be the best if force_rtp_proxy() funtion have
optional parameter - IP address which it will put in
SDP body when function is called.
Regards,
Greg.
--- Tristan Colgate <tristan(a)inuxtech.co.uk> wrote:
Sorry to reply to myself,
OK, I've started looking at this but there seems to
be a basic, pretty much
unsovelable problem. In the case of an invite we
don't actually know for sure
where the other end of the conversation is going to
be, since we havent seen
the sdp in the OK by that stage.
The only thing I can think of, is to listen on the
interface that the INVITE
request itself will go out on, this isn't the same
thing obviously. It will
work for the setup I have, infact I already make
similar assumptions when
deciding whether or not to rtp proxy in the first
place.
Any thaughts?
--
Tristan Colgate
Inux Technologies
E-Mail: tristan(a)inuxtech.co.uk
Mobile: 07900 690 912
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
--
Tristan Colgate
Inux Technologies
E-Mail: tristan(a)inuxtech.co.uk
Mobile: 07900 690 912