Asterisk templates *Idea

Hi!
Today I need a feature is not available in current Asterisk versions.

I need to pass a parameter to templates, example:

Check:
outbound
exten => _X.,1,Dial(SIP/${EXTEN}@${ARG1})

peter-phone
exten => 65,1,VoiceMailMain()

Main Idea:
I need to include the [outbound] template in the [peter-phone] and pass the ARG1 to = mytrunk

*Note: Using GoSub() I’m able to pass parameters but I wanna pass parameters via templates.

Feature requests need t be directed to the developer mailing list. This is the end user support forum (the one you should have been using for most of your other questions).

I think you will need to provide a code patch for this one to be accepted.