[Home]

Summary:ASTERISK-28087: add flag to allow CALLERID(num) to be placed in Contact header in chan_pjsip
Reporter:Torrey Searle (tsearle)Labels:pjsip
Date Opened:2018-10-02 07:30:24Date Closed:2018-10-29 13:22:17
Priority:MinorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip_session
Versions:13.24.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description: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
Comments:By: Asterisk Team (asteriskteam) 2018-10-02 07:30:26.022-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Friendly Automation (friendly-automation) 2018-10-29 13:22:18.201-0500

Change 10357 merged by George Joseph:
res_pjsip_session: add new flag use_callerid_contact

[https://gerrit.asterisk.org/10357|https://gerrit.asterisk.org/10357]

By: Friendly Automation (friendly-automation) 2018-10-29 13:22:34.360-0500

Change 10529 merged by George Joseph:
res_pjsip_session: add new flag use_callerid_contact

[https://gerrit.asterisk.org/10529|https://gerrit.asterisk.org/10529]

By: Friendly Automation (friendly-automation) 2018-10-29 13:22:56.400-0500

Change 10530 merged by George Joseph:
res_pjsip_session: add new flag use_callerid_contact

[https://gerrit.asterisk.org/10530|https://gerrit.asterisk.org/10530]

By: Friendly Automation (friendly-automation) 2018-10-31 13:59:08.748-0500

Change 10568 merged by George Joseph:
alembic: Fix use_callerid_contact option add script.

[https://gerrit.asterisk.org/10568|https://gerrit.asterisk.org/10568]

By: Friendly Automation (friendly-automation) 2018-10-31 13:59:17.579-0500

Change 10569 merged by George Joseph:
alembic: Fix use_callerid_contact option add script.

[https://gerrit.asterisk.org/10569|https://gerrit.asterisk.org/10569]

By: Friendly Automation (friendly-automation) 2018-10-31 13:59:27.736-0500

Change 10570 merged by George Joseph:
alembic: Fix use_callerid_contact option add script.

[https://gerrit.asterisk.org/10570|https://gerrit.asterisk.org/10570]

By: Friendly Automation (friendly-automation) 2018-10-31 13:59:49.118-0500

Change 10572 merged by George Joseph:
res_pjsip: Add XML documentation for "use_callerid_contact"

[https://gerrit.asterisk.org/10572|https://gerrit.asterisk.org/10572]

By: Friendly Automation (friendly-automation) 2018-10-31 14:00:01.438-0500

Change 10574 merged by George Joseph:
res_pjsip: Add XML documentation for "use_callerid_contact"

[https://gerrit.asterisk.org/10574|https://gerrit.asterisk.org/10574]

By: Friendly Automation (friendly-automation) 2018-10-31 14:00:11.589-0500

Change 10573 merged by George Joseph:
res_pjsip: Add XML documentation for "use_callerid_contact"

[https://gerrit.asterisk.org/10573|https://gerrit.asterisk.org/10573]