Yep, that's the way analog lines on asterisk works.<br><br>Callprogress had never work for production to me, the way I resolv this is asking to Telco the polarity reverse on answer and it will fully work for an production environment.<br>
<br>Switching to PRI is even better, but think will be an small scenario.<br><br clear="all">Jose Flores Galicia<br><<<a href="mailto:FloJoSe@gmail.com">FloJoSe@gmail.com</a>>><br>BriefCode && Code Based Training<br>
<br><br><div class="gmail_quote">2010/5/16 Pascal Bruno <span dir="ltr"><<a href="mailto:tipascal@gmail.com">tipascal@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
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<div>
<br></div><div><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Sun, May 16, 2010 at 3:38 PM, Adolphe Cher-aime <span dir="ltr"><<a href="mailto:acheraime@gmail.com" target="_blank">acheraime@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#FFFFFF"><div>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.<br>
<br>Adolphe Cher-aime <div>From my Iphone</div></div><div><br>On May 16, 2010, at 1:32 PM, Jose Flores Galicia <<a href="mailto:flojose@gmail.com" target="_blank">flojose@gmail.com</a>> wrote:<br><br></div><div></div>
<blockquote type="cite"><div>Maybe because I am closer to several customers which often make questions like yours.<br><br>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.<br>
<br>Am I right?<br><br clear="all">Jose Flores Galicia<br><<<a href="mailto:FloJoSe@gmail.com" target="_blank"></a><a href="mailto:FloJoSe@gmail.com" target="_blank">FloJoSe@gmail.com</a>>><br>BriefCode && Code Based Training<br>
<br><br><div class="gmail_quote">2010/5/16 Bruce Ferrell <span dir="ltr"><<a href="mailto:bferrell@baywinds.org" target="_blank"></a><a href="mailto:bferrell@baywinds.org" target="_blank">bferrell@baywinds.org</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I'm trying to make an AMI call. I want to call a number, play an<br>
announcement when the call is answered, then call a second number and<br>
connect the two when the second call is answered.<br>
<br>
I an able to make a simple call to two numbers and connect them using<br>
the manager API but playing the announcement has me beat.<br>
<br>
Suggestions anyone?<br>
<br>
Bruce Ferrell<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank"></a><a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank"></a><a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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"></a><a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>
</div></blockquote><blockquote type="cite"><div><span>-- </span><br><span>_____________________________________________________________________</span><br><span>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --</span><br>
<span>New to Asterisk? Join us for a live introductory webinar every Thurs:</span><br><span> <a href="http://www.asterisk.org/hello" target="_blank"></a><a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a></span><br>
<span></span><br><span>asterisk-users mailing list</span><br><span>To UNSUBSCRIBE or update options visit:</span><br><span> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank"></a><a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></span></div>
</blockquote></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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></blockquote></div><br><br clear="all"><br>-- <br></div></div>Pascal B.<br>
<a href="http://www.kameleonlabs.com/" target="_blank">http://www.kameleonlabs.com/</a><br>
Twitter: @petchaw<br>
</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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></blockquote></div><br>