Skip to content

Commit

Permalink
fix(phone_urls): removed old yealink url (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyco97 authored Dec 18, 2024
1 parent 0af1be9 commit 0d6de04
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions nethcti-server/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -413,26 +413,10 @@ fi
FILE=/etc/nethcti/phone_urls.json
cat > $FILE <<EOF
{
"^yealink\\\s.*T3.*\\\s.+\\\.70(\\\..+|$)": {
"urls": {
"call": "http://\$PHONE_USER:\$PHONE_PASS@\$PHONE_IP/cgi-bin/cgiServer.exx?number=\$NUMBER&outgoing_uri=\$ACCOUNT@\$SERVER",
"answer": "http://\$PHONE_USER:\$PHONE_PASS@\$PHONE_IP/cgi-bin/cgiServer.exx?key=OK",
"hold_unhold": "http://\$PHONE_USER:\$PHONE_PASS@\$PHONE_IP/cgi-bin/cgiServer.exx?key=F_HOLD",
"dtmf": "http://\$PHONE_USER:\$PHONE_PASS@\$PHONE_IP/cgi-bin/cgiServer.exx?key=\$TONE"
}
},
"^yealink\\\s.*\\\s.+\\\.70(\\\..+|$)": {
"urls": {
"call": "http://\$PHONE_USER:\$PHONE_PASS@\$PHONE_IP/cgi-bin/ConfigManApp.com?number=\$NUMBER&outgoing_uri=\$ACCOUNT@\$SERVER",
"answer": "http://\$PHONE_USER:\$PHONE_PASS@\$PHONE_IP/cgi-bin/ConfigManApp.com?key=OK",
"hold_unhold": "http://\$PHONE_USER:\$PHONE_PASS@\$PHONE_IP/cgi-bin/ConfigManApp.com?key=F_HOLD",
"dtmf": "http://\$PHONE_USER:\$PHONE_PASS@\$PHONE_IP/cgi-bin/ConfigManApp.com?key=\$TONE"
}
},
"^yealink\\\s.+\\\s.+": {
"urls": {
"call": "http://\$PHONE_USER:\$PHONE_PASS@\$PHONE_IP/servlet?key=number=\$NUMBER&outgoing_uri=\$ACCOUNT@\$SERVER",
"answer": "http://\$PHONE_USER:\$PHONE_PASS@\$PHONE_IP/servlet?key=OK",
"answer": "http://\$PHONE_USER:\$PHONE_PASS@\$PHONE_IP/servlet?key=ANSWER",
"hold_unhold": "http://\$PHONE_USER:\$PHONE_PASS@\$PHONE_IP/servlet?key=F_HOLD",
"dtmf": "http://\$PHONE_USER:\$PHONE_PASS@\$PHONE_IP/servlet?key=\$TONE",
"mute_unmute": "http://\$PHONE_USER:\$PHONE_PASS@\$PHONE_IP/servlet?key=MUTE",
Expand Down

0 comments on commit 0d6de04

Please sign in to comment.