That's how analog lines work. Asterisk do not know when the called is picked
up so it goes straight to the context execution.  You may want to try
setting callprogress=yes and answeronpolarity=yes on your chan dahdi conf
file as a work around, or switch to PRI



On Sun, May 16, 2010 at 3:38 PM, Adolphe Cher-aime <[email protected]>wrote:

> Mi too I've experienced the same problem with my script. Dahdi answers the
> channel once Ami is running it's the same thing for call files . When using
> sip Chanel or skype channel it work as I wanted. I thank that analog fxo is
> the problem if automatic outgoing calls when you want the called party to
> answer first befor moving to the context extension.
>
> Adolphe Cher-aime
> From my Iphone
>
> On May 16, 2010, at 1:32 PM, Jose Flores Galicia <[email protected]>
> wrote:
>
> Maybe because I am closer to several customers which often make questions
> like yours.
>
> I can supposse you mean that the call is answered by the dahdi channel as
> soon as you set the originate command on AMI, I supposse you are using an
> FXO channel connected to your POTS line.
>
> Am I right?
>
> Jose Flores Galicia
> << <[email protected]>[email protected]>>
> BriefCode && Code Based Training
>
>
> 2010/5/16 Bruce Ferrell < <[email protected]>[email protected]>
>
>> I'm trying to make an AMI call.  I want to call a number, play an
>> announcement when the call is answered, then call a second number and
>> connect the two when the second call is answered.
>>
>> I an able to make a simple call to two numbers and connect them using
>> the manager API but playing the announcement has me beat.
>>
>> Suggestions anyone?
>>
>> Bruce Ferrell
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by <http://www.api-digital.com>
>> http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>               <http://www.asterisk.org/hello>
>> http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   <http://lists.digium.com/mailman/listinfo/asterisk-users>
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
> --
> _____________________________________________________________________
> -- 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>
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    <http://lists.digium.com/mailman/listinfo/asterisk-users>
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> --
> _____________________________________________________________________
> -- 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
>



-- 
Pascal B.
http://www.kameleonlabs.com/
Twitter: @petchaw
-- 
_____________________________________________________________________
-- 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

Reply via email to