[asterisk-bugs] [JIRA] (ASTERISK-28563) Additional configuration [extName](+) not always working
George Joseph (JIRA)
noreply at issues.asterisk.org
Thu Oct 3 11:57:47 CDT 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=248228#comment-248228 ]
George Joseph commented on ASTERISK-28563:
------------------------------------------
Yes, when used with pjsip objects where more than 1 object has the same name but different type, the (+) will apply to the first one defined UNLESS you qualify the (+) as follows...
{noformat}
[101]
type=endpoint
allow=ulaw
[101]
type=aor
default_expiration=3600
[101](+type=endpoint)
allow=g722
[101](+type=aor)
default_expiration=1200
{noformat}
You can actually specify any parameter to search on, not just type.
> Additional configuration [extName](+) not always working
> --------------------------------------------------------
>
> Key: ASTERISK-28563
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28563
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/Configuration
> Affects Versions: 16.5.0
> Environment: CentOS 7
> Reporter: Michael Maier
> Severity: Minor
> Labels: pjsip
>
> There is a problem regarding the configuration options, provided by FreePBX, which should be supported by asterisk. I'm referring to the possibility, to add additional options not supported by FreePBX using special config files like pjsip.registration_custom_post.conf or pjsip.aor_custom_post.conf and pjsip.endpoint_custom_post.conf or pjsip.transports_custom_post.conf. The last two files are working pretty fine as expected, but the first two just don't work.
> I'm configuring in pjsip.registration_custom_post.conf for example:
> {noformat}
> [extName](+)
> key=value
> {noformat}
> Asterisk reads it (asterisk complains if it doesn't know the key), but asterisk doesn't apply the provided value for a known key - it's always the default value.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list