PAGE () Command

Ok guys,

Can someone help me out with this issue: I am trying to get page to work. Here is what I have:
exten => *96,1,Goto(intercom,s,1)

exten => s,1,Answer
exten => s,2,Playback(beep)
exten => s,3,Set(TIMEOUT(digit)=5)
exten => s,4,WaitExten(10)

exten => *,1,SIPAddHeader(Alert-Info: Ring Answer)
exten => *,2,Page(SIP/202&SIP/231&SIP/207&SIP/216&SIP/212&SIP/227&SIP/211&SIP/222&SIP/220&SIP/223&SIP/204&SIP/208&SIP/214&SI$

exten => _XXX,1,SIPAddHeader(Alert-Info: Ring Answer)
;exten => _XXX,n,Page(SIP/${EXTEN},d)
exten => _XXX,2,Dial(SIP/${EXTEN})

When I dial *96, I hear a beep. If I enter an * I page all extensions. However I would like to be able to use the page command to page one ext. I cannot seem to get variables to work with the page command. if you look at the line commented out above, that is what I can’t get to work. Anybody have any suggestions?

Also can anybody tell me how to dynamically create the second line of the all page above. I would like to have it check to see who is online before paging, however I cannot get allpage.agi, or page.agi to return info to me to get the other paging apps to work.

I am running Business edition v 2 (1.2), any suggestions would be greatly appreciated.