[SR-Users] Question on Contact Header on Kamailio 200 OK to PBX

Floimair Florian f.floimair at commend.com
Wed Jun 13 13:42:00 CEST 2018


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-bounces at lists.kamailio.org> on behalf of "Wilkins, Steve" <swwilkins at mitre.org>
Reply-To: "Kamailio (SER) - Users Mailing List" <sr-users at lists.kamailio.org>
Date: Tuesday, 12. June 2018 at 16:27
To: "Kamailio (SER) - Users Mailing List" <sr-users at 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 at 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 at 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 at 9ot28m83bkur in the ACK? Or did Kamailio send Incorrect Contact?
Note: fgectrdv at 9ot28m83bkur is the what Kamailio shows as AOR.

Thank you,
-Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180613/aff502d9/attachment.html>


More information about the sr-users mailing list