[asterisk-users] Call Identifier Logging
Rafael dos Santos Saraiva
rafaelsnsa at gmail.com
Tue Jul 22 14:45:30 CDT 2014
Really, a dialplan function would be best. I too don't like of an idea of
using a external process to get internal variables, but when necessary...
:(
Att,
*Rafael dos Santos Saraiva*
<http://br.linkedin.com/pub/rafael-saraiva/52/aab/230>
2014-07-22 16:29 GMT-03:00 Steve Edwards <asterisk.org at sedwards.com>:
> 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
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140722/a8621fa0/attachment.html>
More information about the asterisk-users
mailing list