Ok.
in this link you will find some easy macro
http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial
Explanation
exten => _+2XX!,n,Dial(SIP/sip.XX/+${DESTINATION},20,rgM(acceptcall^${
SESSIONID})S(${MAXCALLTIME}))
Dial comand
to number DESTINATION
with timout of 20 seconds
r=ring sound
g= when h
Thanks Rafeal. This is what I needed.
But first line i.e.
exten => _+2XX!,n,Dial(SIP/sip.XX/+${DESTINO},20,rgM(acceptcall^${
SESSIONID})S(${MAXCALLTIME}))
is very complicated.
I have very simple plan which is as below.
[context-demo]
exten=>,1,AGI ( pythonscript.py )
exten=>,1,Dial(SIP
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 inte
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 sa