All pastes #133420 Raw Edit

Zodiacal

public text v1 · immutable
#133420 ·published 2006-08-15 21:47 UTC
rendered paste body
how can i send a text message to my phones that displays the current parked call slots? the problem im having is that the text send command requires a timeout, how do i append that time out to the end of my awk commands?

This sends a text message to my phones:
asterisk -rx "sccp message devices My Message 60"

This returns the current parked calls:
asterisk -rx "show parkedcalls" | awk '/from-internal/ {print $1 | "sort" }{ORS=","} '