Switch from Channel_ID to PBX.Call.Identification.  (This means that procedure Load_Dial_Plan has to accept some extra command line arguments.)
Handling the PBX layer.