Thanks, I will check our that. It seems M macro would work.<br><br>-dani<br><br><div class="gmail_quote">On Tue, Feb 8, 2011 at 7:02 AM, Sherwood McGowan <span dir="ltr"><<a href="mailto:sherwood.mcgowan@gmail.com">sherwood.mcgowan@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;">the M option in your Dial command will execute a macro upon connection, there's also an option to perform a Gosub...<br>
<br><a href="http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial" target="_blank">http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial</a><br>
<br>;-) <br><br>*keeps his "mailing-list police" badge in it's box in his office*<br>(that wasn't directed at you Dan...there was a little flamewar that I stirred up the other day..that was my troll bit for the day)<br>
<br>Check out that link, or run <br>core show application dial<br>from the Asterisk console..look at the options list and find the Macro reference and the Gosub reference...they should light a candle for ya :D<br><br><div class="gmail_quote">
<div><div></div><div class="h5">
On Tue, Feb 8, 2011 at 8:36 AM, Dan Dan <span dir="ltr"><<a href="mailto:dani.mani.99@gmail.com" target="_blank">dani.mani.99@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">
Hi All,<br><br>First post here. I am dialing out via call file to remote number, when call is connected a local number is dialed. And on success both calls get bridged and works fine.<br><br>This is a parallel auto dialout application. I want to set a variable as soon as the local number answers the call, so that system won't try to dialout that local number again and stops further dialing. What should be the best way to deal this situation ?<br>
<br>Any help would be appreciated.<br><br>Thanks<br>-dani<br><br>
<br></div></div>--<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>--<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>