[asterisk-bugs] [JIRA] (ASTERISK-24355) Asterisk fail to fill in Def. Username (in case of using realtime)

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri Sep 26 08:47:30 CDT 2014


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

Rusty Newton edited comment on ASTERISK-24355 at 9/26/14 8:47 AM:
------------------------------------------------------------------

Because i never did it before and not know how. Ok. I ll try to google for it.

[Edit by Rusty - Removing inline patch again - See the guidelines for patch contribution https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]


was (Author: y2fbo4ievym5ve9u):
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) {

> 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, 13.0.0-beta2
>            Reporter: HZMI8gkCvPpom0tM
>            Assignee: HZMI8gkCvPpom0tM
>            Severity: Trivial
>         Attachments: chan_sip.patch
>
>
> 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