Skip to content
  • Grzegorz Sluja's avatar
    asterisk: Fix the issue about missing displayname in 'From' header · 769ecc6f
    Grzegorz Sluja authored
    To set the displayname in 'From' header we use this line in dialplan:
    Set(CALLERID(name)=|DISPLAYNAME|)
    where DISPLAYNAME is asterisk.sip{i}.displayname from uci config.
    The thing is for pjsip we also added 'from_user' config option in
    pjsip_endpoint configuration what cause the user in the 'From' header
    is overriding by this value always.
    Remove 'from_user' config to allow displayname being shown properly and
    add other configuration to set properly the user in Contact header and
    Reffered-by header.
    769ecc6f