[asterisk-users] Understanding local channels

2014-08-25 Thread Mitch Claborn
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.


--

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


Re: [asterisk-users] Understanding local channels

2014-08-25 Thread Patrick Laimbock

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

On the left side there's a menu with examples and modifiers.

HTH,
Patrick

--
_
-- 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


Re: [asterisk-users] Understanding local channels

2014-08-25 Thread Steve Edwards

On Mon, 25 Aug 2014, Patrick Laimbock wrote:


https://wiki.asterisk.org/wiki/displa/AST/Introduction+to+Local+Channels


s/displa/display/

--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

--
_
-- 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


Re: [asterisk-users] Understanding local channels

2014-08-25 Thread Joshua Colp

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?


--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com  www.asterisk.org

--
_
-- 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


Re: [asterisk-users] Understanding local channels

2014-08-25 Thread Rusty Newton
On Mon, Aug 25, 2014 at 11:33 AM, Patrick Laimbock patr...@laimbock.com 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

 On the left side there's a menu with examples and modifiers.

 HTH,
 Patrick

It may also help to check out the section on Channels:
https://wiki.asterisk.org/wiki/display/AST/Channels

Before going into the Local Channel config
section:https://wiki.asterisk.org/wiki/display/AST/Local+Channel

If you can think of a way we can improve the documentation on Local
Channels, let us know.

-- 
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct: +1 256 428 6200

Check us out at: http://digium.com  http://asterisk.org

-- 
_
-- 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


Re: [asterisk-users] Understanding local channels

2014-08-25 Thread Mitch Claborn
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: 99
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