[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 11:11:29 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=222782#comment-222782 ]
HZMI8gkCvPpom0tM edited comment on ASTERISK-24355 at 9/25/14 11:10 AM:
-----------------------------------------------------------------------
Because i never did it before and not know how. Ok. I ll try to google for it.
--- chan_sip.c.orig 2014-08-27 11:14:39.000000000 -0400
+++ chan_sip.c 2014-09-25 12:06:58.865262267 -0400
@@ -30789,7 +30789,7 @@
if (peer->callingpres == -1) {
peer->callingpres = atoi(v->value);
}
- } else if (!strcasecmp(v->name, "username") || !strcmp(v->name, "defaultuser")) { /* "username" is deprecated */
+ } else if (!strcasecmp(v->name, "username") || !strcasecmp(v->name, "defaultuser")) { /* "username" is deprecated */
ast_string_field_set(peer, username, v->value);
if (!strcasecmp(v->name, "username")) {
if (deprecation_warning) {
was (Author: y2fbo4ievym5ve9u):
Because i never did it before and not know how. Ok. I ll try to google for it.
> 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: Bug
> Security Level: None
> Components: Channels/chan_sip/General
> Affects Versions: 1.8.31.0, 12.5.0, 12.5.1, 12.6.0
> Reporter: HZMI8gkCvPpom0tM
> Assignee: HZMI8gkCvPpom0tM
> Severity: Trivial
>
> chan_sip.c have small issue in function
> \[edit\]: inline patch removed - mjordan
> 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.
> May be somebody be happy due to it.
> Sorry cannot create patch.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list