Ade Vickers
2007-Oct-19 23:26 UTC
[asterisk-users] Can I emulate SIP presence for an extension?
I recently implemented a simple "spam trap" extension for telemarketers - once identified as a telemarketer (usually they ask to speak to the person in charge of recruiting/website/purchasing/etc.), I simply offer to put them through to the person in question, & dump them on a special extension which plays music for 15 seconds, then 1.5s silence, then a "please wait, we're trying to put you through" message; repeat until they give up waiting. I'm using a Grandstream GXP2000 phone, so I've got 7 "presence" lights; of which I'm only using a couple at the moment. Is it possible in Asterisk 1.4.x to issue a dialplan command which will set a phantom SIP extension to "busy" for as long as a caller is in the "spam trap", & back to idle when they finally give up & hang up? The basic reason is twofold: 1) I want to see just how long they're willing to wait, and 2) For a sense of personal amusement (yes, I am a bad man) :) Cheers, Ade. No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.15.1/1078 - Release Date: 18/10/2007 17:47
Philipp Kempgen
2007-Oct-20 00:15 UTC
[asterisk-users] Can I emulate SIP presence for an extension?
Ade Vickers wrote:> Is it possible in Asterisk 1.4.x to issue a dialplan command which will set > a phantom SIP extension to "busy" for as long as a caller is in the "spam > trap", & back to idle when they finally give up & hang up?http://www.asterisk.org/node/48325 http://www.asterisk.org/node/48360 Regards, Philipp Kempgen -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? -> http://www.das-asterisk-buch.de Gesch?ftsf?hrer: Stefan Wintermeyer Handelsregister: Neuwied B 14998