i Don’t see any reference to redis in https://kamailio.org/docs/modules/4.3.x/modules/topoh.html it should work without redis.
Can you please share the log when kamailio receives the ACK? On Wed, 29 Jan 2020 at 12:25, Yuriy Gorlichenko <[email protected]> wrote: > You always can realize all those things by your own by saving information > in additional params in contact and ruri or locally in the db you are using > with kamailio or in the hash. > It's required to write more config aka codebut still a way. > > On Wed, 29 Jan 2020, 13:06 egemen ulus, <[email protected]> wrote: > >> Definitely you're right but remote site can't solve their problem, that's >> why I am trying to solve that. >> >> Btw, I ve achieved to hide the IP address of contact header thanks to >> topoh. But once kamailio got ack, it doesn't know where to send, that means >> it can't decode the key. (it is my opinion) >> >> When I searched it, I saw that I should use topos & redis to store. But >> no module on Kamailio 4.3.x. it might be released on 5.x and above.. >> >> Is there any recommendation for decoding properly? >> >> Get Outlook for Android <https://aka.ms/ghei36> >> >> ------------------------------ >> *From:* sr-users <[email protected]> on behalf of >> Yuriy Gorlichenko <[email protected]> >> *Sent:* Wednesday, January 29, 2020 12:25:03 PM >> *To:* Kamailio (SER) - Users Mailing List <[email protected]> >> *Subject:* Re: [SR-Users] Re-write contact header >> >> It is wrong if your remote party ignores record-route. If it does not >> support work with RR/Route headers it at least should interrupt transaction >> on the first reply that contains RR. >> >> However There are a couple of ways to make kamailio work as SBC: >> - topos module >> - Rewrite contact header manually ( by removing old and inserting new one) >> >> NAT helper functions will not help you as they are check source address >> of the message and fix contact based on this part. So it will not Rewrite >> Contact address on SBC address. It will Rewrite contact if it does not >> match with the source address of the message. >> >> On Wed, 29 Jan 2020, 09:52 egemen ulus, <[email protected]> wrote: >> >> Hi everyone, >> >> I have asterisk farm and kamailio which located front of asterisks farm >> as a proxy. >> >> When someone send a invite from outside to my kamailio (without record >> route), i forward it to my Asterisk farm. Then My one of Asterisk reply it >> as 200 ok. Then my kamailio forward this 200 ok to remote side with record >> route. But in my 200 ok message, contact header contains my Asterisk IP >> address. That is why remote side tries to send ACK to Asterisk. >> >> How to rewrite my contact header as my kamailio (SBC) address ? >> >> Actually I tried fixed nated contact and advertise ip but I couldn't make >> it worked. I am really new on that. Kamailio cfg file is attached. >> >> Please help! >> >> Egemen >> >> Get Outlook for Android <https://aka.ms/ghei36> >> _______________________________________________ >> Kamailio (SER) - Users Mailing List >> [email protected] >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> >> _______________________________________________ >> Kamailio (SER) - Users Mailing List >> [email protected] >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: [email protected] phone: +34669448337
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
