[asterisk-bugs] [JIRA] (ASTERISK-28087) add flag to allow CALLERID(num) to be placed in Contact header in chan_pjsip
Torrey Searle (JIRA)
noreply at issues.asterisk.org
Tue Oct 2 07:30:54 CDT 2018
Torrey Searle created ASTERISK-28087:
----------------------------------------
Summary: add flag to allow CALLERID(num) to be placed in Contact header in chan_pjsip
Key: ASTERISK-28087
URL: https://issues.asterisk.org/jira/browse/ASTERISK-28087
Project: Asterisk
Issue Type: New Feature
Security Level: None
Components: Resources/res_pjsip_session
Affects Versions: 13.24.0
Reporter: Torrey Searle
chan_sip's behaviour was to always put the caller-id into the username part of the contact. However there is currently no way to replicate this behaviour in chan_pjsip.
This patch adds a global flag in chan_pjsip use_callerid_contact will cause chan_pjsip to use CALLERID(num) as the contact_user by default instead of default_from_user (which defaults to the value "asterisk") This flag is disabled by default to avoid impact to existing users. Also the behaviour can still be overridden by the contact_user in the endpoint configuration
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list