[asterisk-bugs] [JIRA] (ASTERISK-24355) Asterisk fail to fill in Def. Username (in case of using realtime)
HZMI8gkCvPpom0tM (JIRA)
noreply at issues.asterisk.org
Thu Sep 25 08:25:29 CDT 2014
HZMI8gkCvPpom0tM created ASTERISK-24355:
-------------------------------------------
Summary: Asterisk fail to fill in Def. Username (in case of using realtime)
Key: ASTERISK-24355
URL: https://issues.asterisk.org/jira/browse/ASTERISK-24355
Project: Asterisk
Issue Type: Improvement
Security Level: None
Components: Channels/chan_sip/General
Affects Versions: 12.5.0
Reporter: HZMI8gkCvPpom0tM
Severity: Trivial
chan_sip.c have small issue in function
static struct sip_peer *build_peer
in string "} else if (!strcasecmp(v->name, "username") || !strcmp(v->name, "defaultuser")) {<->/* "username" is deprecated */"
Can you please change it to !strcasecmp(v->name, "defaultuser"))
This change will fix following problems :
1) constant fail of outgoing Invite authorisation in case of using ODBC
2) Empty Def. Username will be correctly filled in in case of using ODBC.
3) May be somebody be happy.
Sorry cannot create patch.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list