PJSIP endpoints with multiple contacts


When you register multiple contacts to a PJSIP endpoint, in the 200 OK, Asterisk is responding with a list of all contacts and their expiration time:

Contact: <sip:42879@ip.address:port>;expires=468
Contact: <sip:39293@ip.address:port>;expires=3599

I am curios as why Asterisk is doing that, why would the endpoint need to know about other contacts?
If this is informational only, is there a way to disable it?


It’s what the RFC says to do, the 200 OK returns all Contacts bound on the AOR. There is no functionality to disable it.

Thank you, Josh!

(The 20 character minimum on the forums is annoying :wink: )

To finish this thought in case anyone stumbles upon this in the future, here’s the specific section of the RFC[1].

[1] rfc3261

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.