<div dir="ltr"><div><div><div>Hi Anurag.<br></div>I didn't undertand much you question. But you have a dial option to a macro when b answers<br>example...<br><br><br>exten => _+2XX!,n,Dial(SIP/sip.XX/+${DESTINO},20,rgM(acceptcall^${SESSIONID})S(${MAXCALLTIME}))<br>
<br><br><br>[macro-acceptcall]<br></div><div>; this macro is executed when b answers, requesting b if is interested to pay the bill<br></div><div>exten => s,1,AGI(<a href="http://your-agi-program.pl">your-agi-program.pl</a>)<br>
exten => s,2,others...<br><br></div><br></div><div>Regards..<br>rv<br></div><div><br></div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-26 11:19 GMT-04:00 Anurag Rana <span dir="ltr"><<a href="mailto:anuragrana31189@gmail.com" target="_blank">anuragrana31189@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">Hi All,</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">
There is an option of starting the recording of call after the call is bridged. [ b option].</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">Is there any way of running an AGI script only if call is bridged otherwise not.</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">Thanks</div><span class="HOEnZb"><font color="#888888"><div>
<br></div>-- <br><div dir="ltr"><span style="background-color:rgb(255,255,255)"><font style="font-family:georgia,serif" face="garamond,serif"><font size="4"><font size="4"><font face="verdana,sans-serif"><font>Anurag Rana <br>
<font size="1"><span style="color:rgb(56,118,29)"><a href="http://newbie42.blogspot.in/" target="_blank">http://newbie42.blogspot.in/</a></span><br><span style="color:rgb(106,168,79)">On the trampoline of life's experiences, Striving towards a saintly life in the midst of these materialistic turbulences.</span></font><br>
</font><br></font></font></font></font></span><div><span style="background-color:rgb(255,255,255)"><font style="font-family:georgia,serif" face="garamond,serif"><br></font></span></div></div>
</font></span></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></div>