Asterisk - IVR


I have problem regarding IVR. when i call ivr menue i could not call it correctly.

Exten => s,1,Answer
Exten => s,2,SetMusicOnHold(default)
Exten => s,3,DigitTimeout,5
Exten => s,4,ResponseTimeout,10
Exten => s,5,Playback(enter number you want to call) ; ipress ?1? for 10, press 2 for 11

Exten => 1,1,Dial(SIP/Phone1/10)
Exten => 2,1,Dial(SIP/Phone1/11)

I want when i press 1 my sip 11 will ring and when i press 10 my sip 10 will ring
but my macro exit when i enter 1 or 2, it does not dial sip 10,11

Cli shows after playing message
"enter number you want to call" and I enter number 1
invalid extension 1 but no rule i in context “from-internal”