# Create the call on group 2 dial lines and set up # some re-try timers # Channel: SIP/trunk/18005551212 MaxRetries: 2 RetryTime: 60 WaitTime: 30 # # Assuming that your local extensions are kept in the # context called [extensions] # Context: trycall Extension: 15125551212 Priority: 1 Set: CONFNUM=1234 [trycall] exten => s,1,Wait(20) ;press 1 to accept 2 to reject 3 to transfer exten => s,n,Playback(menu) exten => s,n,Read(ACCEPT) exten => s,n,Gotoif($[${ACCEPT} = 1] ?acceptGrpCall) ;connect exten => s,n,Gotoif($[${ACCEPT} = 2] ?donotacceptGrpCall:donotacceptGrpCall) ;any thing else hangup exten => s,n(acceptGrpCall),MeetMe(${CONFNUM}|Mcdp) exten => s,n(donotacceptGrpCall),Hangup