PJSIP. How to set the contact header to be equal to CallerID?

How to set the contact header to be equal to CallerID (like “sip:12345@192.168.x.x:5060”) instead of “sip:asterisk@192.168.x.x:5060”?

I read a similar question here, but the link to the wiki is broken.

Set Contact SIP headers from extensions.conf - #2 by jcolp

Thanks.

It’s the use_callerid_contact option in the global section[1].

[1] res_pjsip: SIP Resource using PJProject - Asterisk Documentation

2 Likes

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