i put the remove_hf() below
it will remove from the header Contact and User-Agent and will rename the
new User-Agent but Route won't remove and still appear on the outgoing
invite message
route[RELAY] {
remove_hf("Route");
remove_hf("Contact");
remove_hf("User-Agent");
Hello!
I need advice on how best to implement the anycast + clusterer + dispatcher
scheme.
In short, we want to build an additional upper layer in front of our sip
legacy servers, on which traffic balancing will take place.
Most likely it will look like several nodes of the same clusterer with a
Hi Daniel
Yes i did check
sure i will send you the opensips.cfg off list now(will remove my hosts)
Thanks!!!
Sent with [Proton Mail](https://proton.me/) secure email.
--- Original Message ---
On Friday, June 2nd, 2023 at 1:41 PM, Daniel Zanutti
wrote:
> Did you check SIP messages
Did you check SIP messages inside your opensips box? I saw home routers
changing the Contact some time ago.
I could help if you send the whole script, cannot help further without
seeing the whole picture.
Regards
On Fri, Jun 2, 2023 at 7:51 AM nutxase wrote:
> So i now have only
> if
So i now have only
if (is_method("REGISTER")) {
forward("myasterisk.server.com[:5060](http://node3.sipalto.com:5080)");
exit;
}
but the contact shows as
sip:zyq5d7rf@opensips-ip:5060^...so i need it to be
sip:extensionnumber@deviceip:5060xxx
Sent with [Proton Mail](https://proton.me/) secure
Hi, Morris!
The code you are trying to run removes the Route header for the outgoing
message, but the inbound/received INVITE still has the Route header,
hence loose_route() sees it and denies it.
Do note that loose_route() itself removes the route, if its preloaded,
so if you do want to