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

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Tue Oct 2 10:01:54 CDT 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua C. Colp updated ASTERISK-28087:
--------------------------------------

    Status: Open  (was: Triage)

> 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
>              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