<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 19/08/2015 16:02, SamyGo wrote:<br>
</div>
<blockquote
cite="mid:CAJUJwtjA687YJBLsk2kFADOqyPzR+JbsdMMpB=zW7LVTS1Hfag@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr"><br>
<div>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 ?!</div>
<br>
</div>
</blockquote>
<br>
Yes, that is exactly what I want. The fact is that I am dealing with
a SIP server which has an odd behaviour that I cannot change. There
is a router between this server and mine. But this router is
actually listening on a single port, even so the SIP server behind
wants to be contacted on two RTP ports:<br>
<br>
Client: "I want ports 23404 and 25300" -----> SIP server: "Fine,
I relay 23404 and 25300" -----> Router: "I don't care, it will be
12345 and nothing else" -----> (Internet) -----> Kamailio:
"Okay, he wants ports 23404 and 25300"<br>
<br>
But it seems that if I send the packets to the router port (12345 in
my example):<br>
1 - they will be correctly forwarded to the SIP server<br>
2 - the SIP server is somehow capable of relaying to the client's
correct ports<br>
<br>
I think that this behaviour can be assimilated to a dysfunction, but
I have no grasp on it − this is the reason of this workaround −<br>
Hence my question: is it possible to "modify it to 12345 in kamailio
and then call manage_rtpproxy() function", as you said ?<br>
<br>
Thanks !<br>
<br>
<small><small>On a side note, "Jean-Marie" is my first-name, and
"Jean" is… well an incomplete part of my first-name. Yes, we
have complicated names here in France :)</small></small><br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<b>Jean-Marie Baran</b></div>
</body>
</html>