How to pass DNIS from SIP channel to ZAP channel

Hi all,

I’m currently taking in SIP call and passed it on as a PRI thru the ZAP channel. Is there a way for me to pass DNIS to the PRI in the extensions.conf file?
Currently, DNIS just show up as g0.

Thanks, 8)

have you found a solution? Would you let me know how you did it?

does this not work?

[inboundsip]
exten => _.,1,Dial(zap/1/${EXTEN})