Channel technology alias

Hi
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 ?

Rgds

[global]
SS7=ss7
;SS7=sip

[context}
....
......Dial(${SS7}/....)

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.

https://wiki.asterisk.org/wiki/display/AST/Function_IFMODULE

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

J.