Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrsmj
Copy link

@chrsmj chrsmj commented Jun 6, 2024

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.

Adds a new command line option boolean '-s' to change the meaning of
<dialstring> 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: asterisk#21

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

Any plans to merge this? Sounds interesting!

@gtjoseph
Copy link
Member

@hatemalimam Have you tested the new option?

@hatemalimam
Copy link

@gtjoseph I haven't tried the exact commit, since I have created my own module inspired by this repo. However the approach in the commit is valid and works perfectly.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow snooping by existing channel name or unique ID
3 participants