Skip to content

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

Open
chrsmj wants to merge 1 commit into
asterisk:masterfrom
chrsmj:snoop-by-channel-name-or-id
Open

Controller: Add -s option to snoop by channel name or unique ID.#22
chrsmj wants to merge 1 commit into
asterisk:masterfrom
chrsmj:snoop-by-channel-name-or-id

Conversation

@chrsmj

@chrsmj chrsmj commented Jun 6, 2024

Copy link
Copy Markdown
Member

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
Copy Markdown

Any plans to merge this? Sounds interesting!

@gtjoseph

Copy link
Copy Markdown
Member

@hatemalimam Have you tested the new option?

@hatemalimam

Copy link
Copy Markdown

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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