Remco Barende
2005-Jan-31 07:31 UTC
[Asterisk-Users] Announcement to caller when called party has picked up - without initial Answer()?
What you want is impossible! How can you expect Asterisk to play a message to the caller without answering the phone? On Mon, 31 Jan 2005, Stefan Gofferje wrote:> Hi folks, > > is there a chance to play an announcement to the calling party AFTER the > called party has picked up the receiver and WITHOUT asterisk answering the > call? > > I have a special line where conversations should be recorded on. German > federal laws forbid recording without consent, so the idea is to play an > announcement like "This line is been monitored, please hang up if you don't > agree". > Trouble is, I don't want asterisk to answer the call and therefore produce > cost for the caller because it may be that there is nobody present to answer > the call. > Asterisk should just send ring indications to the PSTN and play the > announcement when the call is picked up. > > Any ideas? > > Regards, > Stefan > > >
David Liu
2005-Jan-31 07:34 UTC
[Asterisk-Users] Announcement to caller when called party has picked up - without initial Answer()?
This is super easy to do. All you need to do is to put that announcement in a MP3 and set a musiconhold class for that incoming Zap channel. Then basically when ever that PSTN number rings, Asterisk will play the MP3 stream "Your call may be monitored or recorded, please hangup if you do not agree...etc" in a loop until the line is answered. Caller doesn't pay a single dime to listen to your announcement(s). So now you have announcement on ringing! David Liu Hong Kong On Mon, 31 Jan 2005 15:09:48 +0100, Stefan Gofferje wrote> Hi folks, > > is there a chance to play an announcement to the calling party AFTER > the called party has picked up the receiver and WITHOUT asterisk > answering the call? > > I have a special line where conversations should be recorded on. > German federal laws forbid recording without consent, so the idea is > to play an announcement like "This line is been monitored, please > hang up if you don't agree". Trouble is, I don't want asterisk to > answer the call and therefore produce cost for the caller because it > may be that there is nobody present to answer the call. Asterisk > should just send ring indications to the PSTN and play the > announcement when the call is picked up. > > Any ideas? > > Regards, > Stefan > > -- > (o_ Stefan Gofferje | Linux Systems Specialist > //\ Reg'd Linux User #247167 | SuSE Certified Linux Trainer > V_/_ Linux is like a Wigwam - No gates, no windows, Apache inside > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Eric Wieling
2005-Jan-31 07:40 UTC
[Asterisk-Users] Announcement to caller when called party has picked up - without initial Answer()?
Remco Barende wrote:> What you want is impossible! > > How can you expect Asterisk to play a message to the caller without > answering the phone?One-way audio before answer is a pretty standard telco feature with PRI service in some parts of the world.
Kai Militzer
2005-Jan-31 07:40 UTC
[Asterisk-Users] Announcement to caller when called party has picked up - without initial Answer()?
Hello Stefan, Am Mo, den 31.01.2005 schrieb Stefan Gofferje um 15:09:> is there a chance to play an announcement to the calling party AFTER the > called party has picked up the receiver and WITHOUT asterisk answering > the call?I would try the M option in the Dial-Command. See http://www.voip-info.org/wiki-Asterisk+cmd+dial Best regards Kai -- Kai Militzer WESTEND GmbH | Internet-Business-Provider Technik CISCO Systems Partner - Authorized Reseller L?tticher Stra?e 10 Tel 0241/701333-11 km@westend.com D-52064 Aachen Fax 0241/911879
Peter Svensson
2005-Jan-31 07:51 UTC
[Asterisk-Users] Announcement to caller when called party has picked up - without initial Answer()?
On Mon, 31 Jan 2005, Remco Barende wrote:> What you want is impossible! > > How can you expect Asterisk to play a message to the caller without > answering the phone?It can be done on isdn connection and over VoIP links as well. The reverse audio path is (can be) opened before the answer. The answer allows the forward path to be opened. E.g. you can use Playback(someFile|noanswer) to play a custom busy message without answering the line on isdn. Dial() application will answer the incoming line once it is ready to bridge the two calls together. If nothing else then one can always modify the Dial() application to play a specific sound just prior to sending the answer. I have not checked if there already is a generic way to hook into Dial that early. Peter
Reasonably Related Threads
- Announcement to caller when called party haspicked up - without initial Answer()?
- Fax over SIP Problems (sorry for this topic ...)
- One way audio problem on gateway to PSTN after some time, no NAT involved
- R: How to make * don't strip the leading 0
- active ftp & connection tracking ?