Displaying 1 result from an estimated 1 matches for "initialgreet".
2007 May 21
0
AGI: Festival & Ringing on Screening not working properly
...cript executes
==============
my $res = $AGI->exec("Dial","SIP/$call|20|rM(screen)");
where "$call" is a sip extension..
and the following macro in extensions.conf
===============================
[macro-screen]
exten => s,1,Wait(1)
exten => s,n,Read(ACCEPT|initialGreeting|1)
exten => s,n,Set(MACRO_RESULT=CONTINUE)
exten => s,n,GotoIf($[${ACCEPT} = 1 ] ?60:50)
exten => s,50,NoOp(1 not pressed)
exten => s,n,Hangup()
exten => s,60,Set(MACRO_RESULT=)
exten => s,n,NoOp(Done)
Above code works fine other than ringing issue but if I add this line...