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