Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] cmd Dial with U option


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
vgnogueira at gmail.com
Guest





PostPosted: Mon Aug 25, 2014 9:05 pm    Post subject: [asterisk-users] cmd Dial with U option Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services