Yes it should, but only if “rewrite_contact” is set to “no” for the endpoint (chan_pjsip).
With best regards Florian Floimair Innovation - Software-Development COMMEND INTERNATIONAL GMBH A-5020 Salzburg, Saalachstraße 51 http://www.commend.com<http://www.commend.com/> Security and Communication by Commend FN 178618z | LG Salzburg From: sr-users <sr-users-boun...@lists.kamailio.org> on behalf of "Wilkins, Steve" <swwilk...@mitre.org> Reply-To: "Kamailio (SER) - Users Mailing List" <sr-users@lists.kamailio.org> Date: Tuesday, 12. June 2018 at 16:27 To: "Kamailio (SER) - Users Mailing List" <sr-users@lists.kamailio.org> Subject: [SR-Users] Question on Contact Header on Kamailio 200 OK to PBX Hi All, Kamailio is sending a 200 OK back to an INVITE from Asterisk, and Asterisk is sending the ACK back but the AOR can’t be found in Kamailio 200 OK Kamailio to Asterisk with a contact of Contact: <sip:fgectrdv@9ot28m83bkur.invalid;alias=128.147.123.1~63486~6;alias=128.147.123.1~63486~6;transport=ws;ob> Asterisk ACK to Kamailio Request-Line: ACK sip:fgectrdv@192.33.11.108:5060;transport=TCP;alias=128.147.123.1~63486~6;alias=128.147.123.1~63486~6;ob SIP/2.0 Shouldn’t Asterisk be using fgectrdv@9ot28m83bkur in the ACK? Or did Kamailio send Incorrect Contact? Note: fgectrdv@9ot28m83bkur is the what Kamailio shows as AOR. Thank you, -Steve
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users