[OpenSIPS-Users] Help with rtpproxy on a multihomed host.
Matthew Schumacher
schu at schu.net
Wed Jan 8 17:03:41 EST 2020
Sharad,
I appreciate the hint. I have added:
if(!has_totag() && is_method("INVITE")) {
topology_hiding("");
}
And that seems to remote certain headers as it should, however, none of
my BYE or ACK message are able to traverse the SBC. Reading about the
topology_hiding module, it says that I need to call
topology_hiding_match() to relate the BYE and ACK messages to the sip
dialog.
I added:
if (has_totag()) {
if (!topology_hiding_match() ) {
xlog(" cannot match request to a dialog \n");
send_reply(404,"Not found");
} else {
t_relay();
}
}
But now any ACK message send by the client to the public interlace of my
multihomed SBC (opensips) are replied to with an ACK from the SBC that
isn't responded to, so it loops. Any ideas on how to fix this?
Thanks,
Matt
Here is what is happening....
12:50:27.378773 │ INVITE (SDP) │ │
│ │
│ +0.001016 │ ─────────> │ │ │ │
│ 12:50:27.379789 │ 407 Proxy Authentication R
│ │ │ │
│ +0.073876 │ <───────── │ │ │ │
│ 12:50:27.453665 │ ACK │ │
│ │
│ +0.002503 │ ─────────> │ │ │ │
│ 12:50:27.456168 │ INVITE (SDP) │
│ │ │
│ +0.001833 │ ─────────> │ │ │ │
│ 12:50:27.458001 │ 100 Giving it a try
│ │ │ │
│ +0.000584 │ <───────── │ │ │ │
│ 12:50:27.458585 │ │ │ INVITE
(SDP) │ │
│ +0.004324 │ │ │ ─────────> │ │
│ 12:50:27.462909 │ │ │ 100 Trying
│ │
│ +0.253215 │ │ │ <───────── │ │
│ 12:50:27.716124 │ │ │ 200 OK
(SDP) │ │
│ +0.001100 │ │ │ <───────── │ │
│ 12:50:27.717224 │ 200 OK (SDP) │
│ │ │
│ +0.086494 │ <───────── │ │ │ │
│ 12:50:27.803718 │ ACK │ │
│ │
│ +0.000689 │ ─────────> │ │ │ │
│ 12:50:27.804407 │ │ ACK
│ │ │
│ +0.000856 │ │ <─────────
│ │ │
│ 12:50:27.805263 │ │ ACK
│ │ │
│ +0.000490 │ │ <─────────
│ │ │
│ 12:50:27.805753 │ │ ACK
│ │ │
│ +0.000727 │ │ <─────────
│ │ │
│ 12:50:27.806480 │ │ ACK
│ │ │
│ +0.000085 │ │ <─────────
│ │ │
│ 12:50:27.806565 │ │ ACK
│ │ │
│ +0.000309 │ │ <<<───────
│ │ │
│ 12:50:27.806874 │ │ ACK
│ │ │
│ +0.000130 │ │ <─────────
│ │ │
│ 12:50:27.807004 │ │ ACK
│ │
On 1/7/20 9:17 PM, Sharad Kumar via Users wrote:
> Hi Matt,
>
>
> If you want to do topology hiding too in your setup, I would recommend
> you, to use topology hiding module instead of using B2B_LOGIC one.
>
>
> Thanks and Regards
>
> Sharad Kumar
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list