[asterisk-users] AMI + AGI for outbound click to dial

Jimmy Godbout sip at inbox.com
Wed May 6 15:27:06 CDT 2009


In this case, "Placing a call from an outgoing channel to a local extension, this will cause the local extension not to ring until the Zap channel has picked up" - http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Originate

> -----Original Message-----
> From: palletboy at gmail.com
> Sent: Wed, 6 May 2009 16:06:36 -0400
> To: asterisk-users at lists.digium.com
> Subject: Re: [asterisk-users] AMI + AGI for outbound click to dial
> 
> Would this return during the ring or only after the remote party has
> picked
> up?
> 
> On Wed, May 6, 2009 at 12:51 PM, Jimmy Godbout <sip at inbox.com> wrote:
> 
>> In your AMI portion, you set the outgoing call first, then the extension
>> you want to be reached at:
>> 
>> Action: Originate
>> Channel: Zap/g2/8135551212
>> Context: default
>> Exten: 101
>> Priority: 1
>> Timeout: 30000
>> 
>> In the dialplan:
>> 
>> [default]
>> exten => 101,1,SIPAddHeader(...
>> exten => 101,n,Dial(...
>> exten => 101,n,...
>> 
>> J.
>> 
>>> -----Original Message-----
>>> From: palletboy at gmail.com
>>> Sent: Wed, 6 May 2009 11:42:43 -0400
>>> To: asterisk-users at lists.digium.com
>>> Subject: Re: [asterisk-users] AMI + AGI for outbound click to dial
>>> 
>>> Ping-ponging the call?
>>> That's a good idea..
>>> 
>>> Now, to try to accomplish that in an AGI script.
>>> 
>>> Thanks Jim!
>>> PB
>>> 
>>> On Wed, May 6, 2009 at 11:18 AM, Jimmy Godbout <sip at inbox.com> wrote:
>>> 
>>>> Send your call to a different extension that will set the header
>>>> before
>>>> calling your phone.
>>>> 
>>>>> -----Original Message-----
>>>>> From: palletboy at gmail.com
>>>>> Sent: Wed, 6 May 2009 10:51:30 -0400
>>>>> To: asterisk-users at lists.digium.com
>>>>> Subject: Re: [asterisk-users] AMI + AGI for outbound click to dial
>>>>> 
>>>>> Ok - after a lot of playing I'm still a bit stuck.
>>>>> 
>>>>> I'd like to accomplish the following - can't get it to work as it
>>>>> should
>>>>> (at
>>>>> least in my head! LOL)
>>>>> 
>>>>> I've got an app that initiates an AMI call for Originate.  I want to
>>>>> click a
>>>>> number onscreen, send the Originate, then (this is the part I can't
>>>>> figure
>>>>> out) have the box call my extension, adding in the SIPAddHeader info
>>>>> for
>>>>> answer-after:0 (so my phone auto-picks up) as well as spawning a
>>>>> MixMonitor
>>>>> to record the call in a specified format. (I have the AGI working for
>>>>> the
>>>>> mixmonitor)
>>>>> 
>>>>> Make sense? maybe? ...
>>>>> <chuckle>
>>>>> 
>>>>> Thanks for the help!
>>>>> PB
>>>> 
>>>> _______________________________________________
>>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>> 
>>>> asterisk-users mailing list
>>>> To UNSUBSCRIBE or update options visit:
>>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> -----
>>> Jason Gehman
>>> General Manager
>>> North Voice Communications
>>> www.NorthVC.com
>> 
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> 
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>> 
> 
> 
> 
> --
> -----
> Jason Gehman
> General Manager
> North Voice Communications
> www.NorthVC.com

____________________________________________________________
GET FREE 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!



More information about the asterisk-users mailing list