[asterisk-users] Understanding local channels
Mitch Claborn
mitch_ml at claborn.net
Mon Aug 25 14:57:18 CDT 2014
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 at 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?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140825/81995463/attachment.html>
More information about the asterisk-users
mailing list