Skip to content
Snippets Groups Projects
  • Mark Michelson's avatar
    825607e0
    Don't make chan_sip export global symbols. · 825607e0
    Mark Michelson authored
    During testing, it was discovered that having chan_sip
    export global symbols was problematic.
    
    The biggest problem was that load order was affected.
    Trying to use realtime could be problematic since in
    all likelihood the necessary realtime driver(s) would
    not be loaded before chan_sip.
    
    In addition, it was found that it was impossible to
    use the Digium Phone Module for Asterisk since it
    must be loaded before chan_sip since it must hook
    into chan_sip's configuration parsing.
    
    The solution is to use a virtual table in the same
    manner that other modules in Asterisk do, like
    app_voicemail.
    
    (closes issue ASTERISK-20545)
    Reported by: kmoore
    
    ........
    
    Merged revisions 374842 from http://svn.asterisk.org/svn/asterisk/branches/11
    
    
    git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@374849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
    825607e0
    History
    Don't make chan_sip export global symbols.
    Mark Michelson authored
    During testing, it was discovered that having chan_sip
    export global symbols was problematic.
    
    The biggest problem was that load order was affected.
    Trying to use realtime could be problematic since in
    all likelihood the necessary realtime driver(s) would
    not be loaded before chan_sip.
    
    In addition, it was found that it was impossible to
    use the Digium Phone Module for Asterisk since it
    must be loaded before chan_sip since it must hook
    into chan_sip's configuration parsing.
    
    The solution is to use a virtual table in the same
    manner that other modules in Asterisk do, like
    app_voicemail.
    
    (closes issue ASTERISK-20545)
    Reported by: kmoore
    
    ........
    
    Merged revisions 374842 from http://svn.asterisk.org/svn/asterisk/branches/11
    
    
    git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@374849 65c4cc65-6c06-0410-ace0-fbb531ad65f3