vgnogueira at gmail.com Guest
|
Posted: Mon Aug 25, 2014 9:05 pm Post subject: [asterisk-users] cmd Dial with U option |
|
|
In my dialplan, when I dial 99 it rings SIP/2000
When SIP/2000 answers, it hears 9 every 5 seconds until someone dials 9, what makes 2 legs been bridged.
My problem is: If I hangup, SIP/2000 continues to hears 9 until someone dials 9 - it not stops
If SIP/2000 hangup - then the call is ended - what is OK
Is there some workaround? I was thinking in use G option - however I don't figured out yet how
[TesteU]
exten => s,1,noop()
exten => s,n(READ),read(OPTION,digits/9,1,s,1,5)
exten => s,n,noop(${OPTION})
exten => s,n,GotoIf($["${OPTION}" = "9"]?END)
exten => s,n,Goto(READ)
exten => s,n(END),noop()
[default]
exten => 99,1,dial(sip/2000,,U(TesteU^s^1))
Thanks |
|