Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to tap into a line/channel in asterisk?

Posted on 2009-07-07
4
Medium Priority
?
645 Views
Last Modified: 2013-12-21
How to tap into a line/channel in asterisk?
0
Comment
Question by:rodstevens
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 25

Accepted Solution

by:
Ron Malmstead earned 2000 total points
ID: 24806613
Create a spy extension....
example..

exten => 1000,1,Answer()
exten => 1000,n,Wait(1)
exten => 1000,n,Authenticate(007,a)
exten => 1000,n,Playback(pin-number-accepted)
exten => 1000,n,Wait(1)
exten => 1000,n,Background(beep)
exten => 1000,n,Read(sipchan,,4)
exten => 1000,n,ChanSpy(SIP/${sipchan},q)
exten => 1000,n,Hangup()


With the above in the dialplan... dial extension 1000... enter the password "007"... enter the 4 digit extension to spy on.  The spied upon extension will not hear the "spier".
0
 

Author Comment

by:rodstevens
ID: 24807479
Okay, how can I join the conversation? (2-Way)...
0
 
LVL 25

Expert Comment

by:Ron Malmstead
ID: 24807634
Chanspy can use the "whisper" feature so that you can talk to the spied on channel...and their party on the other end won't hear it.  It might be used for "coaching" a sales rep during a call.

In 1.6 you can use Bridge() to bridge any two channels together
http://www.voip-info.org/wiki/view/Asterisk+cmd+Bridge

In 1.4 you might be able to use MeetMe() to join two channels together... but it would be a programming effort for sure.
http://www.voip-info.org/wiki/view/Asterisk+cmd+MeetMe



0
 

Author Closing Comment

by:rodstevens
ID: 31600972
Great! Thnx!
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wanted to query Cisco Call Manager CDR records from MS SQL Server? Here's how! CUCM can be configured to upload a CDR file to a given FTP server every minute. This article will show you how to set this up, schedule the import of this data an…
So you think no one can listen in on your VOIP conversations, eh? Well... if you haven't setup Secure Real Time Transport (SRTP), your voice communications can be hacked into by just about anyone! First, let's talk about the intended audience for…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question