Hi Jean,
Can you further explain your question, the steps you mentioend are already
handled by kamailio's module rtpproxy. Now, you mentioned change the SDP in
kamailio before rtpproxy function is called....I wonder how the device
would feel about it.
For example UA sent and INVITE/SDP saying I'm listening on port 54321 ; you
modify it to 12345 in kamailio and then call manage_rtpproxy() function.
After 200OK RTPproxy will try to send RTPs to 12345 port but nothing may be
possibly there ?!
Kindly explain the whole scenario.
BR,
Sammy
On Wed, Aug 19, 2015 at 8:28 AM, Jean-Marie Baran <jean-marie.baran(a)ama.bzh>
wrote:
Hi,
Is there a way to change the ports were RTPproxy sends outgoing packets ?
By rewriting the SDP before it gets to RTPproxy, or anything else ?
1 - Kamailio receives the SDP
2 - It somehow transmits the contact information to RTPproxy (ip + ports)
3 - The client start sending packets to RTPproxy which in turn relays them
to the contact
How to change the ports in step 2 ?
Sincerely,
--
*Jean-Marie Baran*
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users