[asterisk-users] Call Identifier Logging
Steve Edwards
asterisk.org at sedwards.com
Tue Jul 22 14:29:23 CDT 2014
On Tue, 22 Jul 2014, Steve Edwards wrote:
> How about something like:
>
> asterisk -rx "core show channel SIP/spa841-00000003"\
> | awk '/Call Identifer/ {gsub(/[][]/,""); print $3}'
Or:
asterisk -rx "core show channel SIP/spa841-00000003"\
| awk -F'[][]' '/Call Identifer/ {print $2}'
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list