Commit 9c4d6c39 authored by Wenpeng Song's avatar Wenpeng Song
Browse files

Correct incoming call issue

parent 591d57a5
......@@ -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
......
Supports Markdown
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