asterisk / asterisk-external-media

Apache License 2.0
56 stars 27 forks source link

Controller: Add -s option to snoop by channel name or unique ID. #22

Open chrsmj opened 1 month ago

chrsmj commented 1 month ago

Adds a new command line option boolean '-s' to change the meaning of from originating a call to a new destination, to instead snooping on an existing channel, either by channel name or unique ID.

For example...

$ bin/ari-transcriber -s 'PJSIP/7001-00000001'

Big thanks to Voisonics for sponsoring this patch.

Resolves: #21

UserNote: The ari-transcriber now takes an additional argument '-s' on the command line to allow snooping on any Asterisk channel.