Solved

How to tap into a line/channel in asterisk?

Posted on 2009-07-07
4
641 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 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 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

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…
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

717 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