[asterisk-bugs] [JIRA] (ASTERISK-27346) res_xmpp: Crash if OAuth 2.0 is used before curl is loaded

Joshua Colp (JIRA) noreply at issues.asterisk.org
Fri Oct 20 12:00:21 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-27346:
-----------------------------------

    Attachment: ASTERISK-27346.diff

Please try this patch. It moves some of the logic which allows things to be initialized as chan_motif expects. Later on once CURL is loaded it should connect as expected.

> res_xmpp: Crash if OAuth 2.0 is used before curl is loaded
> ----------------------------------------------------------
>
>                 Key: ASTERISK-27346
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27346
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_xmpp
>    Affects Versions: 15.1.0
>            Reporter: Ronald Raikes
>            Assignee: Unassigned
>            Severity: Minor
>         Attachments: ASTERISK-27346.diff, backtrace.zip
>
>
> Google Voice operation is normal when OAuth 2.0 is not used:
> {code}
> [*********gmailcom]
> type=client
> serverhost=talk.google.com
> username=********@gmail.com
> secret=**********
> # refresh_token=*********************************************
> # oauth_clientid=*********************************************.apps.googleusercontent.com
> # oauth_secret=************************
> port=5222
> usetls=yes
> usesasl=yes
> status=available
> statusmessage="I am Available"
> timeout=5
> priority=1
> {code}
> Asterisk crashes when OAuth 2.0 is used:
> {code}
> [*********gmailcom]
> type=client
> serverhost=talk.google.com
> username=********@gmail.com
> # secret=**********
> refresh_token=*********************************************
> oauth_clientid=*********************************************.apps.googleusercontent.com
> oauth_secret=************************
> port=5222
> usetls=yes
> usesasl=yes
> status=available
> statusmessage="I am Available"
> timeout=5
> priority=1
> {code}
> Backtraces are available.



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



More information about the asterisk-bugs mailing list