Problem with call to custom extension from external

1006 - custom app
10 - extension
& voxeo free number

calling to 1006 from voxeo number (sip:1006! one signal & hangup
calling to 10 from voxeo number (sip:10! - works good
calling to 1006 - from 10 works good

log asterisk:
– Executing [[email protected]:1] NoOp(“SIP/”, “Received incoming SIP connection from unknown peer to 1006”) in new stack
– Executing [[email protected]:2] Set(“SIP/”, “DID=1006”) in new stack
– Executing [[email protected]:3] Goto(“SIP/”, “s|1”) in new stack
– Goto (from-sip-external,s,1)
– Executing [[email protected]:1] GotoIf(“SIP/”, “1?from-trunk|1006|1”) in new stack
– Goto (from-trunk,1006,1)