Commit 6da0cfc7 authored by Grzegorz Sluja's avatar Grzegorz Sluja
Browse files

fixup! asterisk: Fix the issue about missing displayname in 'From' header

parent 769ecc6f
......@@ -13,7 +13,7 @@ PKG_RELEASE:=1
LOCAL_DEV=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_VERSION:=f06b09f371a17df6c397c9b5bed942a71b7582f6
PKG_SOURCE_VERSION:=042c4722c53dbf7d08a743464f74b90d1939504f
PKG_SOURCE:=asterisk-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_URL:=https://dev.iopsys.eu/fork/asterisk.git
PKG_SOURCE_PROTO:=git
......
......@@ -5,7 +5,6 @@ dtmf_mode = |DTMFMODE|
tos_audio = |TOS_AUDIO|
tos_video = |TOS_VIDEO|
from_domain = |DOMAIN|
callerid = |DISPLAYNAME| <|USER|>
disallow = all
|ALLOW|
outbound_auth = |NAME|
......
......@@ -243,7 +243,6 @@ configure_sip_provider() {
local mwi_dialtone_state
local server_uri
local port
local displayname
config_get enabled $1 enabled "0"
config_get outbound_proxy $1 outbound_proxy ""
......@@ -268,7 +267,6 @@ configure_sip_provider() {
config_get messages_waiting $1 messages_waiting "no"
config_get mwi_enabled call_features mwi_enabled "0"
config_get mwi_dialtone_state $1 mwi_dialtone_state "on"
config_get displayname $1 displayname ""
# This is a hack to fix security issue #14962
user=${user//"'"/}
......@@ -351,7 +349,6 @@ configure_sip_provider() {
else
sed -i "s/|DOMAIN|/$domain/" $WORK_DIR/pjsip_endpoint
fi
sed -i "s/|DISPLAYNAME|/$(escape_sed_substitution $displayname)/" $WORK_DIR/pjsip_endpoint
sed -i "s/|USER|/$(escape_sed_substitution $user)/" $WORK_DIR/pjsip_endpoint
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment