I think I have figured it out.
Check this out:
In queues.conf
member => Local/[EMAIL PROTECTED]
member => Local/[EMAIL PROTECTED]
in extensions.conf
exten => 5567,1,Queue(service)
[service_agents]
exten => steve,1,Dial(${IAXprovider}/4165551234,,M(screen))
exten => jim,1,Dial(${IAXprovider}/4165551234,,M(screen))
[macro-screen]
exten => s,1,Wait(0.2)
exten => s,n,Read(ACCEPT,${SCREENPROMPT},1) ; press any digit to accept this
call
exten => s,n,GotoIf($[${LEN{${ACCEPT}} = 1 ] ?yes:no)
exten => s,n(no),SetVar(MACRO_RESULT=BUSY)
exten => s,n,Busy()
exten => s,n(yes),Noop() ; call is accepted
I haven't debugged and tweaked it all yet, but fundamentally it seems to do
what I need.
(thanks to voip-info.org for some of this)
Jim
--
Jim Van Meggelen
[EMAIL PROTECTED]
http://www.oreillynet.com/pub/au/2177
"A child is the ultimate startup, and I have three.
This makes me rich."
Guy Kawasaki
--
> -----Original Message-----
> From: Jim Van Meggelen [mailto:[EMAIL PROTECTED]
> Sent: July 29, 2007 12:51 PM
> To: [email protected]
> Subject: [on-asterisk] How to avoid cell phone voicemail
> answering calls from Asterisk
>
> Hoping to brainstorm something:
>
> I have an option off the main attendant that rings several
> cell phones. I want to use the queue to ringall, playing
> music to the caller until someone answers (or a timeout happens)
>
> Unfortunately, one of the carriers occasionally forwards the
> call directly to Voicemail, or presents an "unavailable"
> message. Dial() considers the call to have been answered, and
> bridges the caller there.
>
> Obviously, I don't want the caller connected to this, so what
> I'd like is a prompt to the cell users that says "you have a
> call from the autoattendant, press any digit to accept this
> call", and if that digit is not pressed, the call stays in queue.
>
> chan_agent has a mechanism that allows the agent to press a
> key to accept the call, but I don't really want to use
> chan_agent if I don't have to (it's still pretty buggy, from
> what I have heard), and also, I don't want the remotes to
> have to log in.
>
> Any thoughts on how this might be done? I have looked at
> PrivacyManager() and the p/P options to Dial(), but those
> seem to expect the caller to record something first, which is
> not what is needed here.
>
> Any ideas would be appreciated.
>
> Jim
>
>
> --
> Jim Van Meggelen
> Core Telecom Innovations
> [EMAIL PROTECTED]
> www.coretel.ca
> 416-425-6111 x6001
> 877-CORETEL x6001 (Canada)
> IAX2:[EMAIL PROTECTED]/6001
> www.oreillynet.com/pub/au/2177
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.10.23/924 - Release
> Date: 28/07/2007 3:50 PM
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For
> additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.10.23/924 - Release
> Date: 28/07/2007 3:50 PM
>
>
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.10.23/924 - Release Date: 28/07/2007
3:50 PM
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]