# HG changeset patch # User Michael Schloh von Bennewitz # Date 1358186044 -3600 # Node ID ca81a21bc445b0daa78bd7a260417493021dad5f # Parent 192d78fefb972bc18d9a58affbabd09b17c730c2 Correct replacement logic of default SMS transmission channel. diff -r 192d78fefb97 -r ca81a21bc445 asterisk/asterisk.spec --- a/asterisk/asterisk.spec Tue Jan 08 20:08:32 2013 +0100 +++ b/asterisk/asterisk.spec Mon Jan 14 18:54:04 2013 +0100 @@ -76,12 +76,16 @@ %option with_xfersips yes %option with_proxymwi yes %option with_smdipoll 10 -%option with_motxchan Local/17094009 +%option with_motxchan phold -# correct implicit interdependencies +# set implicit interdependencies default values +%if "%{with_motxchan}" == "phold" %if "%{with_capi}" == "yes" #%define with_motxchan CAPI/ISDN1/090032669002 # Materna (Anny Way) %define with_motxchan CAPI/ISDN1/17094009 +%else +%define with_motxchan Local/17094009 +%endif %endif # list of sources