Skip to content
Snippets Groups Projects
  • Alexei Gradinari's avatar
    e5d990d0
    res_config_odbc: set empty extended field as a single whitespace · e5d990d0
    Alexei Gradinari authored
    If Realtime @ variable value is NULL or empty or contains only whitespaces
    then when we try to retrieve it using PJSIP_ENDPOINT we get WARNING
    pjsip_endpoint_function_read: Unknown property @my_var for PJSIP endpoint.
    And the variable is missing in the result of CLI pjsip show endpoint.
    
    This patch keeps empty sorcery extended field.
    
    ASTERISK-28341 #close
    
    Change-Id: I221fccc04cbfa2be17ce971f64ae0e74e465eea0
    e5d990d0
    History
    res_config_odbc: set empty extended field as a single whitespace
    Alexei Gradinari authored
    If Realtime @ variable value is NULL or empty or contains only whitespaces
    then when we try to retrieve it using PJSIP_ENDPOINT we get WARNING
    pjsip_endpoint_function_read: Unknown property @my_var for PJSIP endpoint.
    And the variable is missing in the result of CLI pjsip show endpoint.
    
    This patch keeps empty sorcery extended field.
    
    ASTERISK-28341 #close
    
    Change-Id: I221fccc04cbfa2be17ce971f64ae0e74e465eea0
res_config_odbc.c 37.35 KiB