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