Channel technology alias

I have several asterisk boxes sharing the same dialplan (via a database). One of these boxes has ss7 technology, and other dont.
I’d like that when I Dial(ss7/linkset/exten) on a box that does not have ss7, it gets somehow aliased to sip/linkset/extension

I know I can do it via local channels, but I’d like to avoid this - any alternatives ?




I assume this works with Rrealtime, but have never used that.

Use the IFMODULE function to test to see if the ss7 modules are loaded and craft your dial string based on that.

thanks for these excellent ideas. using a plain asterisk, it does work, unfortunately, I am also using a2billing which issues the command from the AGI, and the variable replacement does not occur.
I guess I have to create a local channel then