Great, thanks for reporting back.

 

Cheers,

 

Henning

 

From: Arun K R <mail4arunkr@gmail.com>
Sent: Thursday, June 13, 2024 10:46 AM
To: Henning Westerholt <hw@gilawa.com>
Cc: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>; Patrick Karton <patrickarton@hotmail.com>
Subject: Re: [SR-Users] Re: topos module issue on hangup

 

Thank you,

I have solved it.

The issue was we are sending invite to kamailio as dst port 5062 . Kamailio listening on 5062 and 5060. So the response bye is sending from 5060 socket. I have forced the socket 5062 to send back and that solved it.

Thanks

 

 

On Wed, Jun 12, 2024 at 1:05PM Henning Westerholt <hw@gilawa.com> wrote:

Hello,

 

if you are doing this manual remove_hf(..) steps in relation to a Record-Route header, you are most certainly doing something wrong in your configuration.

 

Maybe you can first try a setup (e.g. in your lab) without topos. It should continue to work also after you have added topos then there.

 

Cheers,

 

Henning

 

From: Arun K R via sr-users <sr-users@lists.kamailio.org>
Sent: Wednesday, June 12, 2024 6:25 AM
To: Patrick Karton <patrickarton@hotmail.com>
Cc: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>; Arun K R <mail4arunkr@gmail.com>
Subject: [SR-Users] Re: topos module issue on hangup

 

Yes , I am using record_route function and also topos module.

My carrier need invite without Record-Route and Route header. But when I use topos module everything works fine, but BYE from the carrier is not routing back to the agent.

I have tried without topos module to remove Record-Route header using remove_hf() function, but I found that the Record-Route header is adding at t_relay(), so that I am not able to remove it.

As the topos module hides contact, via and routing headers, how should I route the BYE from carrier to the agent. I would like to get solution with or without topos module.

 

My kamailio receives Bye from carrier on its local Interface and it should be routed to the agent through the public interface

 

interface 1: public ip

interface 2 : private IP ( where carrier is connected)

 

Thanks

Arun

 

On Tue, Jun 11, 2024 at 8:04PM Patrick Karton <patrickarton@hotmail.com> wrote:

Hello,

 

This is the purpose of topos module to hide Via, Contact, Record-Route and Route headers.

 

If you configure and use it properly there should not be any routing issue.

 

Do you call record_route function in your kamailio script ?

 

Le 11 juin 2024 14:10, Arun K R via sr-users <sr-users@lists.kamailio.org> a écrit :

Hello,

 

I am using topos module to hide Record-Route and Route header as per the requirement from carrier. But the topos module hides, contact, via and routing headers also. Due to this reason when I am getting bye from the carrier I am not able to route the bye back to the agent.

 

Bye from Agent to carrier is working fine.

 

Bye from carrier to my internal network interface is not routing to client through public interface. I assume this may be because Via / Contact header has been hidden and changed by the topos module with the invite

 

please help me for this

Thanks

Arun