userdoc:tt_asterisk_call_notify

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
userdoc:tt_asterisk_call_notify [2017/02/23 16:22]
abelbeck [Asterisk Call Notification]
userdoc:tt_asterisk_call_notify [2017/03/20 16:34]
droemel [Desktop Clients]
Line 11: Line 11:
 {{:userdoc:asterisk-call-notify-snarl2.png?nolink|Snarl URL}}\\ {{:userdoc:asterisk-call-notify-snarl2.png?nolink|Snarl URL}}\\
  
-!!Tip ->!! Growl (GNTP) uses TCP port 23053, legacy Growl uses UDP port 9887. +\\
 !!Note: AstLinux 1.2.10 or later is required!! !!Note: AstLinux 1.2.10 or later is required!!
 +
 ===== Asterisk Dialplan Integration ===== ===== Asterisk Dialplan Integration =====
  
Line 38: Line 38:
  
 !!Tip ->!! The ''FILTER()'' function call is used to prevent remote command injection. !!Tip ->!! The ''FILTER()'' function call is used to prevent remote command injection.
 +
 +!!Tip ->!! Growl (GNTP) uses TCP port 23053, legacy Growl uses UDP port 9887.
  
 \\ \\
Line 76: Line 78:
   fi   fi
      
-  # Silently fail if client_ip is not reachable +  ## Silently fail if client_ip is not reachable 
-  if ! fping -t 200 "$client_ip" >/dev/null 2>&1; then +  #if ! fping -t 200 "$client_ip" >/dev/null 2>&1; then 
-    exit 2 +  #  exit 2 
-  fi+  #fi
      
   format_NANPA_number()   format_NANPA_number()
Line 109: Line 111:
     url="${ACTION_URL:+$ACTION_URL$tel_num}"     url="${ACTION_URL:+$ACTION_URL$tel_num}"
      
-    gntp-send -s "$client_ip" -p "$PASS" "$title" "$(echo -e "$msg")" "$ICON" "$url"+    gntp-send -s "$client_ip" -p "$PASS" -a "Incoming Call" -n "Incoming Call Notify"
 +              "$title" "$(echo -e "$msg")" "$ICON" "$url"
   }   }
      
Line 174: Line 177:
     msg="$msg\n${date## }"     msg="$msg\n${date## }"
      
-    gntp-send -u -s "$client_ip" -p "$PASS" "$title" "$(echo -e "$msg")"+    gntp-send -u -s "$client_ip" -p "$PASS" -a "Incoming Call" -n "Incoming Call Notify"
 +              "$title" "$(echo -e "$msg")"
   }   }
      
Line 189: Line 193:
 === Windows === === Windows ===
  
-[[http://snarl.fullphat.net|Snarl]] 3.1 and 5.0beta have been tested to work in TCP mode with the GNTP 1.0 protocol (tested on Win 10 64-bit).+[[http://snarl.fullphat.net|Snarl]] 3.1 and 5.0beta have been tested to work in TCP mode with the GNTP 1.0 protocol (tested on Win 10 64-bit, Win 7 32-bit).
  
 [[http://www.growlforwindows.com/gfw/default.aspx|Growl for Windows]] Last version 2.0.9 is from 2012, __not tested__ (development has stalled!). [[http://www.growlforwindows.com/gfw/default.aspx|Growl for Windows]] Last version 2.0.9 is from 2012, __not tested__ (development has stalled!).
  • userdoc/tt_asterisk_call_notify.txt
  • Last modified: 2019/01/25 10:30
  • by mkeuter