Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Feed
openwrt-telephony
Commits
9c4d6c39
Commit
9c4d6c39
authored
Sep 07, 2021
by
Wenpeng Song
Browse files
Correct incoming call issue
parent
591d57a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
net/asterisk/files/iopsys/lib/voice/config_asterisk.sh
View file @
9c4d6c39
...
...
@@ -806,7 +806,7 @@ configure_extensions() {
if
[
-n
"
$internal_service
"
-a
"
$internal_service
"
=
"1"
-a
\(
-n
"
$callforward_enabled
"
-a
"
$callforward_enabled
"
=
"1"
\)
]
;
then
sed
-i
"s/|INCOMING_HANDLER|/Macro(callhandler,
\$
{CHANNEL(endpoint)})/"
$WORK_DIR
/extensions.conf
else
sed
-i
"s/|INCOMING_HANDLER|/Goto(call_line,
\$
{EXTEN},1)
)
/"
$WORK_DIR
/extensions.conf
sed
-i
"s/|INCOMING_HANDLER|/Goto(call_line,
\$
{EXTEN},1)/"
$WORK_DIR
/extensions.conf
fi
if
[
-n
"
$extension_all_ports
"
]
;
then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment