Displaying 1 result from an estimated 1 matches for "cleanup_registr".
2009 May 06
0
Bridge() and Goto() and dialplan contexts, oh my!
...to hear hold music. :
exten => 111,1,Goto(Expert_Gateway)
exten => 222,1,Goto(Learners)
[Expert_Gateway]
exten => s,1,Answer
exten => s,2,AGI(authenticate_and_register)
exten => s,3,MusicOnHold()
exten => s,4,Goto(Expert_Gateway,s,3)
exten => s,5,HangUp
exten => h,1,AGI(cleanup_registration)
exten => h,2,HangUp
[Learners]
exten => s,1,Answer
exten => s,2,AGI(find_channel_with_expert)
exten => s,3,Bridge(${EXPERT_CHANNEL})
exten => s,4,NoOp(${BRIDGERESULT})
exten => s,5,HangUp
exten => h,1,NoOp(${BRIDGERESULT})
exten => h,2,HangUp
Everything looks good a...