Hi

My application is for mobile (MVNO) users making calls, which will generally end up on the PSTN via our carriers.

  MVNO Carrier  -->  Our Edge Switch  -->  Our PSTN Switch  -->  Our carrier's switch
                                                 |
                                                 |--->  Our internal routing switch

The issue is with our PSTN switch and the fact that it is not staying in the SIP signalling path, so when the call ultimately between our MVNO carrier and outbound Carrier is established (200 OK) the MVNO carrier and PSTN carrier begin talking to each other.

When the MVNO carrier issues a BYE to the outbound carrier, the outbound carrier does not then receive this packet as they are firewalled (and always will be).

What is the correct method of relaying calls through Kamailio but not passing on the Contact: header info? I have read that forcing a change of Contact is not the right way.

Leo