Solved

How to tap into a line/channel in asterisk?

Posted on 2009-07-07
4
625 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
Comment Utility
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
Comment Utility
Okay, how can I join the conversation? (2-Way)...
0
 
LVL 25

Expert Comment

by:Ron M
Comment Utility
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
Comment Utility
Great! Thnx!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

The Zaptel people (www.zaptel.com) got kind of annoyed with the fact that they were getting bombarded with searches for the zaptel driver system for Asterisk (not to mention they own the trademark on zaptel). So, they kindly requested that Digium ch…
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 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