Solved

How to tap into a line/channel in asterisk?

Posted on 2009-07-07
4
630 Views
Last Modified: 2013-12-21
How to tap into a line/channel in asterisk?
0
Comment
Question by:rodstevens
  • 2
  • 2
4 Comments
 
LVL 25

Accepted Solution

by:
Ron M earned 500 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 M
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

914 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now