Here's my current specific scenario. I have a working "call me now"
solution on our web site. The customer types in their phone number, it
goes into our normal "sales" asterisk queue via an AMI action. When the
agent answers the call, he gets a brief announcement then asterisk dials
the customer's number. (This works in Asterisk 11. There is an
apparent bug in asterisk 12 with queue variables:
https://issues.asterisk.org/jira/browse/ASTERISK-24267) It works, but
I'm struggling to understand how.
*AMI Action:*
Action: Originate
Channel: Local/s@callmenow/n
Context: dial-to-customer
Exten: s
Priority: 1
Async: true
Variable: MMCALLMENOWID=107
Timeout: 999999
Callerid: Call Me Now <778>
*Dial Plan:*
[callmenow]
exten => s,1,NoOp(callmenow: Queue without answer)
same =>n,Queue(sales,Rtc)
[dial-to-customer]
exten => s,1,NoOp(dial-to-customer channel=${CHANNEL(name)})
same =>n,Wait(1)
same =>n,Playback(custom/callmenow-announce)
; do some more stuff
same
=>n,Dial(${TOLL}/${MMCUSTOMER_NUMBER},,TKU(dial-to-cust-connect-sub))
Mitch
On 08/25/2014 11:43 AM, Joshua Colp wrote:
On 8/25/2014 1:33 PM, Patrick Laimbock wrote:
On 25-08-14 17:06, Mitch Claborn wrote:
Can someone point me to a good tutorial / explanation of local
channels? I've been using them without really understanding what is
going on, and we all know how dangerous that is!
I've read http://www.voip-info.org/wiki/view/Asterisk+local+channels
but
I'm just not quite getting it.
How about the info on the Asterisk wiki:
https://wiki.asterisk.org/wiki/displa/AST/Introduction+to+Local+Channels
That wiki page isn't REALLY detailed. To what level are you wanting to
know more about, Mitch?
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users