How to use from-pstn-custom correctly

Hi all,

I would like to use the context “from-pstn-custom” to prefix incoming CIDs with 0. I did somthing like this:

exten => _X.,1,Set(CALLERID(num)=0${CALLERID(num)})

It is working but at the next step in the dialplan (context ext-did) the priority is 2 and the first line in ext-did is not used.

Is there a way to reset priority for the next step?