[asterisk-bugs] [JIRA] (ASTERISK-28087) add flag to allow CALLERID(num) to be placed in Contact header in chan_pjsip

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Oct 31 13:59:47 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=245335#comment-245335 ] 

Friendly Automation commented on ASTERISK-28087:
------------------------------------------------

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

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

> 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
>            Assignee: Torrey Searle
>            Severity: Minor
>              Labels: pjsip
>
> 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