Cannot run context rules after a Dial

i have these rules in my context:

exten => s,n,NoOp(Before call ==> to = ${SIP_HEADER(To)})
exten => s,n,NoOp(Before call ==> from = ${SIP_HEADER(From)})
exten => s,n,NoOp(Before call ==> contact = ${SIP_HEADER(Contact)})

exten => s,n,Dial(SIP/${ARG1},20)

exten => s,n,NoOp(After call ==> to = ${SIP_HEADER(To)})
exten => s,n,NoOp(After call ==> from = ${SIP_HEADER(From)})
exten => s,n,NoOp(After call ==> contact = ${SIP_HEADER(Contact)})

I cannot see rules when Dial terminates. what i have missed please?

The dialplan does not continue after Dial() by default unless an outgoing call was not successful. If you need to execute logic regardless you need to use the h extension or hangup handlers[1].