Hi Anurag.
I didn't undertand much you question. But you have a dial option to a
macro  when b answers
example...


exten =>
_+2XX!,n,Dial(SIP/sip.XX/+${DESTINO},20,rgM(acceptcall^${SESSIONID})S(${MAXCALLTIME}))



[macro-acceptcall]
; this macro is executed when b answers, requesting b  if is interested to
pay the bill
exten => s,1,AGI(your-agi-program.pl)
exten => s,2,others...


Regards..
rv




2014-06-26 11:19 GMT-04:00 Anurag Rana <[email protected]>:

> Hi All,
>
> There is an option of starting the recording of call after the call is
> bridged. [ b option].
> Is there any way of running an AGI script only if call is bridged
> otherwise not.
>
> Thanks
>
> --
> Anurag Rana
> http://newbie42.blogspot.in/
> On the trampoline of life's experiences, Striving towards a saintly life
> in the midst of these materialistic turbulences.
>
>
>
> --
> _____________________________________________________________________
> -- 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
>
-- 
_____________________________________________________________________
-- 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