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

Walter Doekes (JIRA) noreply at issues.asterisk.org
Fri Nov 7 04:02:30 CST 2014


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

Walter Doekes commented on ASTERISK-24355:
------------------------------------------

I'm sorry, but it looks to me like your table definition is simply wrong.

If the column name says 'defaultuser' (lowercase), evertything should work fine without this patch.



> 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: Matt Jordan
>            Severity: Minor
>         Attachments: chan_sipcasecmp.patch, 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.
> info for people who want just to fix issue and not want to wait untill all departments of Digium at last start to work
> function build_peer
> !strcmp(v->name, "defaultuser"))  need to change to !strcasecmp(v->name, "defaultuser")) 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list