Hello,


On 15/08/16 15:54, Oliver Roth wrote:

Hi all

 

I do have a problem with getting a propper interconnection to our new carrier..

Situation as following

 

User à Class5 switch à Kamailio à carrier

 

I always get the ip of the class5 switch in the contact.

But my carrier needs the kamailios contact ip – because of the ack handling.

 

I replaced in the pstn routing parte the contact by

                remove_hf("Contact");

                append_hf("Contact: <sip:xyz@a.b.c.d>\r\n");

 

This worked – but the bye did not work any more.

 

Please help me on that topic … I am searching for a solution for more than 8 weeks now …

Are you executing the remove_hf()/append_hf() for BYE and it is not working? Be careful because the BYE is routed via route[WITHINDLG] in case you have a config based on default kamailio.cfg.

Cheers,
Daniel
-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda