Shell Command to show origin number


#1

Hi, I’d like to know a shell command where I can get the origin number is calling in realtime at any channel.


#2

asterisk -rx “show channels concise”

then use grep and cut to pull the info you want


#3

[quote=“ianplain”]asterisk -rx “show channels concise”

then use grep and cut to pull the info you want[/quote]

Thank you! It works very well. :smiley: