Hello! I'm integrating an Asterisk-based voicemail system with an old switch, and I want the call history from SMDI. My understanding is that the terminal number in the SMDI message matches the channel's trunk number. >From within an Asterisk app, how do I get the trunk number? Thanks! Nate