I just came up with this what do you think?
anything more elegant?
dial-peer voice 1000 pots
corlist outgoing call-trunk-group
description *** OUTGOING CALLS ***
translation-profile outgoing OUTGOING
trunk-group 1
preference 1
destination-pattern .T
incoming called-number .
forward-digits all
!
dial-peer voice 1000 pots
corlist outgoing CALL-DID-PORT003
description *** OUTGOING CALLS ***
translation-profile outgoing OUTGOING
port 0/0/3
preference 1
destination-pattern .T
incoming called-number .
forward-digits all
!
ephone-dn 14 dual-line
bla bla bla....
corlist incoming CALL-DID-PORT003
corlist outgoing CALL-DID-PORT003
ephone-dn 15 dual-line
bla bla bla....
corlist incoming call-trunk-group
corlist outgoing call-trunk-group
even better have a ephone-dn template and assign the template to the ephone-dns.
i have not tested it so not sure if this will even work but it should...
please let me know.
thanks.